Vehicle categories by visual search

This guide is for users who configure tariffs in the Yrix Park web panel. The category you charge is still tied to the site's tariffs; what changed is how the system learns to classify entries: visual search phrases plus image examples from your cameras, without ticking fixed global subtypes.

Menu labels, buttons, and messages match the panel (for example app.yrix.ai or your site's test host). On this English page, UI strings stay in Spanish as on screen, with a short English gloss in parentheses when needed.

Where to find it

  1. Transitorios (Transients)
  2. Tarifas y pases (Rates and passes)
  3. Categorías de vehículo (Vehicle categories)

There you list, create, and edit tariff vehicle categories for your site.

Create or edit a category

**Moto** category

  • Turn on the Moto toggle.
  • You do not need search phrases: entries the system detects as motorcycles are assigned to the active Moto category.

**Non-moto** category (Auto, Camioneta, Bus, etc.)

  1. Leave Moto off.
  2. Add one or more visual search phrases (text chips). Describe in plain language which vehicles belong together (for example «pickup camioneta caja abierta», «colectivo largo»).
  3. On save, the system prepares new phrases so they can be used when classifying entries. Unchanged phrases reuse what is already stored.

**Probar búsqueda** (Test search)

In the same create or edit dialog:

  1. Enter or adjust phrases.
  2. Tap Probar búsqueda (Test search).
  3. The panel queries real detections from your site, sorted by similarity score (max across your phrases).
  4. You see thumbnails with scores.
  5. You can select detections to save as initial examples for the category (up to 20 per preview selection).

Save the category when the criteria and chosen examples look right.

When the search service is unavailable (HTTP 503)

If there are new phrases to save and the visual search service does not respond, save fails with HTTP 503. The panel shows an Error toast with the business message returned by the API (the same text you see on screen when save fails). The dialog keeps what you entered (phrases and selection) so you can retry when the service is back; active categories are not saved with phrases that are not ready yet.

Curate examples for a category

For any non-moto category, open the examples screen:

/apps/vehicle-categories/:categoryId/examples

(from the category row under Categorías de vehículo).

On that screen you can:

  • View examples (reference images) with outlier hints compared to the rest of the category.
  • Delete examples that hurt classification.
  • Agregar buscando (Add by searching): the visual search is preloaded with the category phrases; pick real detections and add them as new examples.

There is no longer a block for «ambiguous category with several subtypes»: Auto, Camioneta, and others are curated the same way.

What to expect in operation

  • With fewer than 3 examples, the category is decided mainly by phrases until you collect photos.
  • If the classifier abstains (score floor or margin not met), the stay may appear under Revisar categorías (Review categories) for manual confirmation; charging still uses the assigned category or the site's default category, according to product rules.
  • Correcting the category in occupancy or detections adds an example to the chosen category when a usable entry image exists.

More help