[0]: https://www.axon.com/products/axon-fusus [1]: https://citizen.com/
https://ai.google.dev/gemini-api/docs/pricing#gemini-embeddi...
(The code also tries to skip "still" frames, but if your video is dynamic you're looking at the cost above.)
regardless of the file's frame rate, the gemini api natively extracts and tokenizes exactly 1 fps. the 5 fps downscaling just keeps the payload sizes small so the api requests are fast and don't timeout.
i'll update the readme to make this more clear. thanks for bringing this up.
The problems start cropping up when you get things like Flock where governments start deploying cameras on a massive scale, or Ring where a single company has unrestricted access to everyone's private cameras.
I don't think it's a good thing but it seems the limiting factor has been technological feasibility instead of any kind of principle against it.
I've been hearing warnings that AI would be used for this since well before it seemed feasible.
The presence of cameras everywhere is considerably more concerning than the status quo, to me at least, when there is an AI watching and indexing every second of every feed—where camera owners or manufacturers or governments could set simple natural language parameters for highly specific people or activities notify about. There are obviously compelling and easy-to-sell cases here that will surely drive adoption as it becomes cost effective: get an alert to crime in progress, get an alert when a neighbor who doesn't clean up after his dog, get an alert when someone has fallen...but the potential implications of living in a panopticon like this if not well regulated are pretty ugly.