Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
80 Views

Porting 'multi_camera_multi_person_tracking' sample application from Python to C++

Jump to solution

Hello Intel Team,

We are from ZOHO corp R&D team, and working on openvino hardware acceleration part of it. 

'multi_camera_multi_person_tracking' sample application is already as part of the openvino demo package and implemented in python language.  But we are in  need of same application in C++ language to do custom changes to obtain more hardware acceleration.

Do you have respective C++ implementation or Could you support for that ?

Regards, Kalyan-G.

 

0 Kudos

Accepted Solutions
Highlighted
Moderator
30 Views

Re: Re:Porting 'multi_camera_multi_person_tracking' sa...

Jump to solution

Hi @KG0001 

Do you also get this error message when running Multi-Channel Face Detection C++ Demo and Pedestrian Tracker C++ Demo separately from each other? If not, then this might be related to incorrect input image size, and that the dimensions on your mat objects do not match. You need to check if your ROI is placed within the dimensions of the image.

Please check these topics: Assertion failed roi out of rangewhy am i getting so many roi crashesError with OpenCV ROI.

View solution in original post

0 Kudos
4 Replies
Highlighted
Moderator
62 Views

Re:Porting 'multi_camera_multi_person_tracking' sa...

Jump to solution

Greetings,


We don't have the exact model for C++ as in Python. However, we do have these 3 samples in C++:


https://docs.openvinotoolkit.org/latest/omz_demos_multi_channel_README.html


Hope this somehow could help with your implementation.


Sincerely,

Iffa


0 Kudos
Highlighted
Beginner
48 Views

Re: Re:Porting 'multi_camera_multi_person_tracking' sa...

Jump to solution

 

Hi,

To bring the multi-channel-multi-person-tracking in C++,  we integrated the 'pedestrian_tracker_demo c++ implementation ' with 'multi_channel_face_detection c++' .

But getting this below error. It seems some pixel issue while parsing the frame. Could you share you comment on this error.

 

terminate called after throwing an instance of 'cv::Exception'
what(): OpenCV(4.3.0-openvino-2020.3.0) ../opencv/modules/core/src/matrix.cpp:466: error: (-215:Assertion failed) 0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows in function 'Mat'

0 Kudos
Highlighted
Moderator
31 Views

Re: Re:Porting 'multi_camera_multi_person_tracking' sa...

Jump to solution

Hi @KG0001 

Do you also get this error message when running Multi-Channel Face Detection C++ Demo and Pedestrian Tracker C++ Demo separately from each other? If not, then this might be related to incorrect input image size, and that the dimensions on your mat objects do not match. You need to check if your ROI is placed within the dimensions of the image.

Please check these topics: Assertion failed roi out of rangewhy am i getting so many roi crashesError with OpenCV ROI.

View solution in original post

0 Kudos
Highlighted
Beginner
11 Views

Re: Re:Porting 'multi_camera_multi_person_tracking' sa...

Jump to solution

Thanks for your support.

I will look into this further.. You can close this ticket.

Thanks & Regards,

Kalyan-G.

0 Kudos