- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I set up the multi camera demo and it can show person re-identification successfully. So I am trying to put a simple counting to this demo. I am not sure where can I put the cv2.puttext() function in the python code. So I am putting the cv2.puttext() method in visualization.py file to show the text. I type the python code below in the def visualize_multicam_detections() in visualization file.
cv.putText(vis, f'Total Persons : {}', (40,70), cv.FONT_HERSHEY_SIMPLEX, 0.8, (255,0,0), 2) #counting
It can show but because I don't know which code is reid so I cannot count how many person in the screen.
So, may I know:
why the cv2.puttext() method cannot show text in multi camera tracking window when type in def plot_timeline function of visualization.py file?
and which code is person re-id? Can I put cv2.puttext in other file? and can you help me to point out the person re-id's code in this demo?
I add the cv2.put function like this
Thank you
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Lenard,
Thank you for reaching out to us. Please note that modifying the demo code/script is not recommended. Modifying the demo code/script may cause the demo unable to perform properly.
Regards,
Adli
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Lenard,
This thread will no longer be monitored since we have provided a solution. If you need any additional information from Intel, please submit a new question.
Regards,
Adli
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page