Skip to main content

Requesting your first model

Step 1: Upload and annotate your images

Before requesting your first model, you will need to upload at least 10 images to Frigate+. But for the best results, you should provide at least 100 verified images per camera. Keep in mind that varying conditions should be included. You will want images from cloudy days, sunny days, dawn, dusk, and night. Refer to the integration docs for instructions on how to easily submit images to Frigate+ directly from Frigate.

It is recommended to submit both true positives and false positives. This will help the model differentiate between what is and isn't correct. You should aim for a target of 80% true positive submissions and 20% false positives across all of your images. If you are experiencing false positives in a specific area, submitting true positives for any object type near that area in similar lighting conditions will help teach the model what that area looks like when no objects are present.

For more detailed recommendations, you can refer to the docs on improving your model.

Step 2: Submit a model request

Once you have an initial set of verified images, you can request a model on the Models page. Each model request requires 1 of the 12 trainings that you receive with your annual subscription. This model will support all label types available even if you do not submit any examples for those labels. Model creation can take up to 36 hours. Plus Models Page

Step 3: Set your model id in the config

You will receive an email notification when your Frigate+ model is ready. Model Ready Email

Models available in Frigate+ can be used with a special model path. No other information needs to be configured because it fetches the remaining config from Frigate+ automatically.

model:
path: plus://<your_model_id>

Step 4: Adjust your object filters for higher scores

Frigate+ models generally have much higher scores than the default model provided in Frigate. You will likely need to increase your threshold and min_score values. Here is an example of how these values can be refined, but you should expect these to evolve as your model improves. For more information about how threshold and min_score are related, see the docs on object filters.

objects:
filters:
dog:
min_score: .7
threshold: .9
cat:
min_score: .65
threshold: .8
face:
min_score: .7
package:
min_score: .65
threshold: .9
license_plate:
min_score: .6
amazon:
min_score: .75
ups:
min_score: .75
fedex:
min_score: .75
person:
min_score: .65
threshold: .85
car:
min_score: .65
threshold: .85