Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wb666greene authored May 1, 2019
1 parent 6651fc8 commit 2ecb5d5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@ Python MobileNet-SSD AI using Movidius NCS and/or CPU OpenCV dnn module AI with
This is the evolution of, and essentially the end of, this initial project:
https://github.com/wb666greene/SecurityDVR_AI_addon
Further developement is moving to OpenVINO (for NCS2 support) and/or Google's new Coral TPU USB accelerator.
This code supports inputs from "Onvif" cameras using HTTP "jpeg snapshot" URLs, rtsp stream URLs, or jpeg images sent via MQTT messages.

This is a heavily threaded, stand alone Python program that has been developed on Ubuntu-Mate 16.04 and tested on: Raspberry Pi3B Raspbian "stretch", Ubuntu-Mate 18.04, Ubuntu 16.04 Virtualbox VM (CPU AI only, VM NCS function is not reliable), Windows 7, and Windows 10. It should still run with Python 2.7 (only tested on Pi3B+) but Python 3.5.2 or newer is recommended.

**Note:** There is no NCS SDK support on Windows, but the OpenCV dnn module running on a decent i3 (4025U) gets about the same frame rate as does the NCS running on a Pi3B+, ~6 fps. The dnn module on the Pi3B+ is too slow to be of much use at ~0.6 fps. I do not run Windows or have a Windows machine. My Windows comments are notes I took installing on friend's machines.

## **New**
### **New**
In the extras folder is AI_OVmt.py, a simple modification to turn a CPU AI thread into an OpenVINO NCS/NCS2 thread. Some performance tests:
- Using 5 Onvif snaphot netcams.
Pi3B+:
Expand All @@ -19,11 +24,6 @@ In the extras folder is AI_OVmt.py, a simple modification to turn a CPU AI threa
- 2 NCS OpenVINO ~15.9 fps
- NCS2 OpenVINO ~15.5 fps

This code supports inputs from "Onvif" cameras using HTTP "jpeg snapshot" URLs, rtsp stream URLs, or jpeg images sent via MQTT messages.

This is a heavily threaded, stand alone Python program that has been developed on Ubuntu-Mate 16.04 and tested on: Raspberry Pi3B Raspbian "stretch", Ubuntu-Mate 18.04, Ubuntu 16.04 Virtualbox VM (CPU AI only, VM NCS function is not reliable), Windows 7, and Windows 10. It should still run with Python 2.7 (only tested on Pi3B+) but Python 3.5.2 or newer is recommended.

**Note:** There is no NCS support on Windows, but the OpenCV dnn module running on a decent i3 (4025U) gets about the same frame rate as does the NCS running on a Pi3B+, ~6 fps. The dnn module on the Pi3B+ is too slow to be of much use at ~0.6 fps. I do not run Windows or have a Windows machine. My Windows comments are notes I took installing on friend's machines.

# Requirements:
- Python 3.5.2 or newer, 2.7 should work if you can find all the modules.
Expand Down

0 comments on commit 2ecb5d5

Please sign in to comment.