Comments (5)
Hi you can create one async queue to load all of the feeds, or create multiple async queue to load each feed's request separately.
You can check this PR, see if it can help you on how to create multiple async queue.
from yolov7_openvino_cpp-python.
Gosh that is a bit over my head haha....is there anything funny with this approach below?
Am still tinkering around with the IoT rest API app to process 10 (or more) different IP cameras at once:
- One rest API endpoint for each camera
- Use multiprocessing to instantiate 10 instances of Python class you wrote YOLOV7_OPENVINO(object) or run them with the operating system as different .py files?
- std.out flush people detections if people count in frame was different than last frame and processed video frame something like this.
sys.stdout.buffer.write(frame)
sys.stdout.flush()
I idea comes from which is an outdated Intel course I took a while back with the link I showed you. Python code processes the video and std.out flushes everything to a separate web app running to build the dashboard.
The web app standpoint I have to keep track of the name of which video feed is getting processed to be able to build out the dashboard, am still wrapping my head around this...regardless if I can get some code to work if you have the time curious to see from a high level or not if things can be optimized better. Thanks!
from yolov7_openvino_cpp-python.
Not sure how this will work on live camera feeds but this is working so far with multiprocessing, this line where the ffmeg will flush in the draw method.
Its working on processing 3 video files at once : ) Am hoping to someday do something like this on GPU !
from yolov7_openvino_cpp-python.
Actually I had created a decode+ inference demo for multiple input data on GPU in C++. When you implement the codes in Python, we can leverage Async-queue to cache multiple inference request from different feeds. The logic of it looks like the diagram below:
If you can share your hardware architecture with me, I may provide you more suggestions on it.
from yolov7_openvino_cpp-python.
This is really cool will do...thanks @OpenVINO-dev-contest !
from yolov7_openvino_cpp-python.
Related Issues (20)
- Yolov7 Tiny setting confidence Thres HOT 4
- Link not working HOT 1
- any support for --grid parameter while exporting .onnx model? HOT 24
- [Bug] The line `img.transpose(2, 0, 1)` should be `img = img.transpose(2, 0, 1)`. NumPy's transpose operation does not support in-place assignment. HOT 1
- output processing is slow HOT 24
- adding tracker deepsort/sort (int 8 or openvo ir ) to object detection .onnx file or .int8 format file HOT 31
- fps code is not working HOT 2
- float data1[img_h*img_w*3] compile error HOT 1
- Inference with 1280 images HOT 4
- fps im getting is varing too much
- Yolov7-seg support HOT 2
- Downloading Yolo7 modex HOT 4
- hardware to run HOT 4
- Python Run Issue
- c++ has encountered an error HOT 1
- getting setup HOT 11
- webcam.py HOT 13
- 4 anchor boxes instead of 3 HOT 1
- YOLOv7 with Multiple Object Tracker - SORT Algorithm HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yolov7_openvino_cpp-python.