hasanavi / opencv-unity3d-object-tracking Goto Github PK
View Code? Open in Web Editor NEWOpenCV Object Tracking using CamShift algorithm and Unity3d Mashup
OpenCV Object Tracking using CamShift algorithm and Unity3d Mashup
If someone want to render app even it is not focus, should add
Application.runInBackground = true;
in code
Hello,
Thank you for this library. I am trying it out on Mac OS X and after changing the line at the top of OpenCV/gameDemo.py for OpenCV to '/usr/local/Cellar/opencv/2.4.12/' I am getting the following error message when I try to run 'python OpenCV/gameDemo.py':
Traceback (most recent call last):
File "OpenCV/gameDemo.py", line 7, in <module>
import video
ImportError: No module named video
Please let me know what can be done to fix this. Thank you
Hello, thank you for sharing your work. I am getting this error when I run :
UnassignedReferenceException: The variable hero of SocketClient has not been assigned.
You probably need to assign the hero variable of the SocketClient script in the inspector.
SocketClient.Update () (at Assets/Scripts/SocketClient.cs:109)
I think maybe ReceiveData() is not fast enough for the Update (I changed Receivedata a bit to receive a couple of datas and put them in a table), but I don't know how to fix it. Thank you for your help :)
File "C:/Users/Proprietario/Downloads/OpenCV-Unity3D-Object-Tracking-master/OpenCV/gameDemo.py", line 94, in run
sock.sendto(str(xPos) , (UDP_IP, UDP_PORT))
TypeError: a bytes-like object is required, not 'str'
I don't know whether I'm doing something wrong, but on a scene reload void update() no longer registers the changing 'cX' value and just prints '0' repeatedly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.