Monday, October 31, 2022

Another attempt at a quick paste response to "I want something with good night vision"

Best color night vision is Hikvision's ColorVu G2s. If you want IR night vision there are more options. I prefer Dahua or JideTech myself but many use the same larger sensors. For IR get the largest sensor you can. 1/1.8 (like Dahua IPC-HFW4631H-ZSA) of better if you can. Forget about stated LED ranges since you will want to turn those off anyway unless you like attaching bugs to your cams. Use seperate lighting like accent lights or IR floods mounted away from the cams.

Plus of course match the specs to the distance and view angle you need. But keep in mind most fixed focus cams are focused for 10-30 feet, depending on model, so for over 50 feet plan on something you can focus for the target range either motorized (usually zoom models only) or manually. Don't assume fixed model are easily adjusted as most are glued in place these days.

What ever you get make sure they support ONVIF or at least RTSP so you can mix brands as needed.

To dig deeper look at https://securitycam101.rmrr42.com/2020/05/getting-cam-specs-easy-way.html for info about how to use an online GUI tool tha lets you set up virtual cams on your site to get an idea of what diff models will be able to see.

Wednesday, September 28, 2022

DeepStack vs Sense AI and improving recognition.

 First they both use:

  •  YOLO models to compare found objects to. 
  • The Sense AI API is a superset of the DeepStack API so something written for DeepStack should work with Sense AI too.
  • They use the same coding languages.

The main diffs between DeepStack and Sense AI are:

As explained in my DeepStack posts a lot of your success depends on:

  • Mode engine is run at. Medium is default. High will yield better results but at a cost of higher load. The reverse is true of Low.
  • Mode model was created for. The model ought to be made for the same or higher mode than the engine will be run at to see improved performance.
  • Trigger image might not be the best for recognition. You will want to tweak number and frequency of images sent to the AI when triggered to get better confidence in what is detected.
  • Same goes for minimum confidence percentages. Too low and you will get lots of wrong detections. Too high and you will miss things. Best to start low and see what object you want to know about are detected as what and at what confidence.
  • How close objects used in training match the ones in images used in detection. This is the biggie and why so many look to create their own custom models. Both for object types not in the default model and to more closely match expected targets in lighting and coloring. You can find tools for simplifying making your own custom models in my deepstack repo.