Python logic diagram
2024-10-12 14:20:18 0 Report
Login to view full content
Other creations by the author
Outline/Content
PersonDetWorkerYOLO human detection
Result Notification
Process
1. Add new RTMP streams2. Remove disconnected streams3. Get the current number of active RTMP streams
VideoCaptureRTMP Listening
QueueMonitorIn-process data stream queue monitoring
Frame Aggregation
Main process
Pedestrian Detection Process
1. Start working process2. Monitor RTMP stream count3. Load balancing allocates RTMP streams to WorkProcess
Cross-process queue
Data flow
ActionProcessBehavior Recognition Process
ActionNotifyWorkerBehavior recognition result upload
Set the number of worker processes according to the available video memory resources and CPU process resources.
Action Recognition
ActionWorkerBehavior Recognition
Frame Queue
Person Detection
Thread count set according to CPU and graphics card resources
DetAggWorkerVideo frame block aggregation
VideoCaptureManagerRTMP Listening Administrator
1. Open RTMP stream2. Put each frame into the queue waiting for processing
Collect
Collect
Collect
Collect
0 Comments
Next page
Recommended for you
More