Earlier quoted context omitted.
Yeah. But it’s likely it’s an 8-bit quantised, likely very small model with a small number of parameters. Which translates into poor recall and lots of false positives. How many parameters is the model you are using with hailo? And what’s the quantisation and what model is it actually ?
Honestly I have no idea what you are asking about. It's just dedicated hardware to a yolo-like object detection model
Video Surveillance with YOLO+llava
61–70 of 70 posts
Re: Video Surveillance with YOLO+llava
#62A suggestion: I'd swap llava for Florence-2 for your open set text description. Florence-2 seems uniformly more descriptive in its outputs.
Re: Video Surveillance with YOLO+llava
#63If you're interested in DIY security+AI, check out Frigate NVR( https://frigate.video/ ), Scrypted( https://www.scrypted.app/ ) and Viseron( https://viseron.netlify.app/ ).
I've been running frigate for a while now and I find it's object detection has a higher than preferred false-positive rate. For instance, it kept thinking the tree in my back yard is a person. I find it hilarious that it often assigns a higher likelihood the tree is a person than me! I've needed to put a mask over the tree as a last resort.
Re: Video Surveillance with YOLO+llava
#64This runs with a Geforce GTX 1060. By a quick search it's 120 W. Maybe it's only the peak power consumption but it's still a lot. Do commercial products, if there are any, consume that much power?
There's a wide range of inference accelerators in commercial use. For "edge" or embedded applications, an accelerator such as the Google Coral Edge TPU is a useful reference point where it is capable of up to 4 Trillion Operations per Second (4 TOPS), with up to 2 Watts of power consumption (2 TOPS/W), however the accelerator is limited to INT8 operations. It also has around 8 MB of memory for model storage. Meanwhil…
Re: Video Surveillance with YOLO+llava
#65Earlier quoted context omitted.
Honestly I have no idea what you are asking about. It's just dedicated hardware to a yolo-like object detection model
They are asking about LLMs. There is a confusion it seems -- you are thinking of the object detection model (YOLO) which runs perfectly fine in (near) real time with a Coral or other NPU. The parent is referring the Llava part, which is a full-fledged language model with a vision projector glued onto to it for vision capability. Large language models are generally quantized (converted from full precision float values…
Re: Video Surveillance with YOLO+llava
#66If you're interested in DIY security+AI, check out Frigate NVR( https://frigate.video/ ), Scrypted( https://www.scrypted.app/ ) and Viseron( https://viseron.netlify.app/ ).
I just recently got frigate up and running. How do the other two compare?
It looks like either Frigate or Viseron will do what I want. I started setting up Frigate, but realized I should downgrade my Reolink Duo 3 to a Duo 2 before I go too far. The Duo 3 really doesn't offer much better image quality but forces you to use h265 and consumes a lot more bandwidth. Once I stabilize my camera setup I'll get back to setting up both Frigate and Viseron and see what performs better. I like that the pro upgrade of Frigate allows you to customize the model and may make use of that.
Re: Video Surveillance with YOLO+llava
#67Earlier quoted context omitted.
There's a wide range of inference accelerators in commercial use. For "edge" or embedded applications, an accelerator such as the Google Coral Edge TPU is a useful reference point where it is capable of up to 4 Trillion Operations per Second (4 TOPS), with up to 2 Watts of power consumption (2 TOPS/W), however the accelerator is limited to INT8 operations. It also has around 8 MB of memory for model storage. Meanwhil…
Sorry I’m not familiar with TPUs only GPUs but how much VRAM do Corals have? YOLO 11x is 56M params which if it was quantized to int8 would still be 56MB. Plus you would need some for your inputs.
https://coral.ai/docs/accelerator/datasheet/
It does not have VRAM as it is not a graphics card :)
There are examples and instructions for exporting Yolo variants to run on the Edge TPU: https://docs.ultralytics.com/guides/coral-edge-tpu-on-raspbe...
Re: Video Surveillance with YOLO+llava
#68All I see, usually, is some AI YOLO algorithm applied to an offline video. This is the first time that I've seen a "complete" setup. Any info to learn more on applying YOLO and similar models to real time streams (whatever the format)?
Just stream it one frame at a time to the model and eat the latency: https://www.youtube.com/watch?v=IHbJcOex6dk if you need more hand holding. There's a reason why there's a whole family of models from tiny to huge.
I'm on windows.
Ideally I'd like the frames to be dropped, so the inference is done on the last received frame? Is this a standard behaviour?
Re: Video Surveillance with YOLO+llava
#69Earlier quoted context omitted.
Just stream it one frame at a time to the model and eat the latency: https://www.youtube.com/watch?v=IHbJcOex6dk if you need more hand holding. There's a reason why there's a whole family of models from tiny to huge.
If you do it naively your video frames will buffer waiting to be consumed causing a memory leak and eventual crash (or quick crash if you’re running on a device with constrained resources). You really need to have a thread consuming the frames and feeding them to a worker that can run on its own clock.
Under windows, say that I have an RTSP stream (or something similar)
Would you use a single python script with which one of this multithreading solutions?
1 import concurrent.futures
2 import multiprocessing
3 import threading
Re: Video Surveillance with YOLO+llava
#70All I see, usually, is some AI YOLO algorithm applied to an offline video. This is the first time that I've seen a "complete" setup. Any info to learn more on applying YOLO and similar models to real time streams (whatever the format)?
This repository seems to be exactly what you are asking for. It's YOLO analysis of video frames passed in through Real Time Streaming Protocol.
I thought that this topic yolo object recognition would have much more following, instead there are really only a few projects.
https://github.com/search?q=yolo+rtsp&type=repositories&s=fo...