-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use Video source from outside Unity for person tracking #197
Comments
I have created an example that combines KlacNDI and OpenCVForUnity, using AsyncReadback to convert a RenderTexture retrieved from KlacNDI to a Mat. Setup
|
For reference to anyone looking into a solution like this, here is the test cards link : https://github.com/keijiro/TestCards |
I wanted to try something like this, so I created a multi-object tracking example. KlakNDIWithOpenCVForUnityExample_v0.2.zip In this screenshot, LiveCamera feeds is acquired. You may need to adjust the frame skip value to display the feed smoothly. Youtube LiveCamera ➡️ VLC with NDI Plugin ➡️ klacNDI |
@EnoxSoftware works perfectly. I am able to merge seven camera inputs and then send it to openCV for person detection. Quick question, it sometimes detects objects in the video as well. I did edit coco.names and have only person in it but it still detects objects. any solution to this? I see there is a label on the object saying "person" how can I find where is this person coming from? associated with the ID |
To do so, you will need to create a new YOLOX model for object detection that classifies only “person”. |
How and where would i add the conditional branch? |
I created a simple visualize method, with a branch from results that bypasses the process if classId is non-zero.
|
I have a video playing in another software, I am getting the video feed in unity using NDI/Spout.
https://github.com/keijiro/KlakNDI
I am currently using the MultiObjectTrackingExample scene where I am just using a pre recorded video.
How can I do this in OpenCV? I have the lastet version of OpenCV and doing this on Windows 11.
The text was updated successfully, but these errors were encountered: