Searching what the cameras saw
10 min Read in this browser
You will be able to
- Explain what semantic search does, and that it runs on the Hub
- Show the homeowner how to ask Selora AI about their cameras
- Explain why a search can come back empty
A week of cameras is hundreds of events. Nobody scrolls through them. Semantic search lets the homeowner search them in words, "a man with a white dog", "a red car", and Selora AI answers questions about them in chat. This lesson explains how it works, and what to expect from it.
Semantic search runs on the Hub
On a Selora Hub, Frigate's semantic search is on from the start. For every object Frigate tracks, a model on the Hub turns its picture into a list of numbers that captures what it looks like (an embedding). A search in words gets the same treatment, and Frigate returns the events whose pictures are nearest.
- It runs on the Hub: the index, like the pictures, stays in the house.
- It takes about 2 GB of memory, which the Hub's capacity check already counts.
- It works without camera descriptions, on the pictures alone.
- Events from before it was turned on need a reindex before they can be found.
It is a Frigate setting, global to all cameras. A homeowner who turns it off in Frigate keeps it off, unless they turn on camera descriptions, which need it.
With descriptions, it finds more
On the pictures alone, semantic search finds what can be seen: colours, shapes, a dog, a bicycle. With camera descriptions on, Frigate also searches the sentences Selora AI Cloud wrote. Those can say what the picture alone can't match well: a brand on a van, what someone carries, what a car is doing.
So: semantic search is local and free. Descriptions make it sharper, but send pictures out and use credits. The homeowner can have one without the other.
Asking Selora AI
The homeowner doesn't need Frigate's Explore page. They ask Selora AI:
- "Did anyone come to the front door this afternoon?"
- "Show me the cars on the driveway yesterday."
- "When did Alice get home?", once face recognition knows Alice.
The answer shows each event with the picture Frigate saved, and opens its clip. Selora AI keeps the matches that stand out, and says how many weaker ones it left out.
When a search comes back empty
Frigate records events only for the objects a camera tracks, and only while detection is on. "No cars on the driveway yesterday" from a camera that tracks only people isn't an answer: it never looked. Selora AI says so, and offers to have the camera look for cars from then on. It can't find yesterday's cars after the fact.
That's why choosing what each camera tracks, during the install, matters: see Motion, objects and masks.
Semantic search
Searching what the cameras saw in plain words, such as "a red car". It runs on the Hub, matching the words against the pictures and any descriptions.
Frigate
The open-source recorder Selora runs on the Hub. It records the cameras and detects people, vehicles and animals in what they see, locally.
Embedding
A list of numbers a model makes from a picture or a sentence, so that similar things get similar numbers. Semantic search compares them.
Camera descriptions
Sentences such as "a white van on the driveway", written for each person or vehicle a camera tracks. Pictures are sent to Selora AI Cloud to be described, only from cameras the homeowner turned it on for.
Selora AI Cloud
Selora AI's cloud service, which answers when Selora AI doesn't run on the Hub, and writes camera descriptions. It uses the home's Selora AI credits.
Face recognition
Frigate matching the face of a person it detects against photos of the household. It runs on the Hub: no face leaves the house.
Go further on selorahomes.com
What you read is saved in this browser only. Sign in to keep it in your account, take the quizzes and get certified.
This lesson by Selora Homes is licensed CC BY 4.0 : share and adapt it, even commercially, crediting Selora Homes with a link. Photos by others keep their own licences, as credited.