Skip to content
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

Track multiple objects #31

Open
deamonize opened this issue May 25, 2012 · 9 comments
Open

Track multiple objects #31

deamonize opened this issue May 25, 2012 · 9 comments

Comments

@deamonize
Copy link

I was wondering how difficult it would be to track multiple objects, within the same instance..

Does anybody have any hints on the best way to do this ?

@tengesser
Copy link

Hi! We did this as part of a student project! See https://github.com/evilsantabot/motld.
Some of the calculations (like the variance and then the ferns' feature vectors in the sliding window approach) can be easily reused for each single object. However, all object's boxes must have the same aspect ratio for this to work.

@deamonize
Copy link
Author

This is awesome !! Thanks, i'm testing now and it actually works ..

@ghost
Copy link

ghost commented Dec 21, 2012

Hi, I'm interested in testing out your project to track multiple objects, in particular to the 'camExample'. I have faced some problems in getting the project running. Are there any pre-configurations needed to link TLD?

Error 1 error C1083: Cannot open include file: 'cv.h': No such file or directory d:\fyp\visual\multiple object testout\multiple object testout\multiple object.cpp 38 1 Multiple Object Testout
2 IntelliSense: cannot open source file "cv.h" d:\fyp\visual\multiple object testout\multiple object testout\multiple object.cpp 38 1 Multiple Object Testout
3 IntelliSense: cannot open source file "highgui.h" d:\fyp\visual\multiple object testout\multiple object testout\multiple object.cpp 39 1 Multiple Object Testout
4 IntelliSense: cannot open source file "motld/MultiObjectTLD.h" d:\fyp\visual\multiple object testout\multiple object testout\multiple object.cpp 41 1 Multiple Object Testout
11 IntelliSense: expected a ')' d:\fyp\visual\multiple object testout\multiple object testout\multiple object.cpp 67 27 Multiple Object Testout
32 IntelliSense: expected a ')' d:\fyp\visual\multiple object testout\multiple object testout\multiple object.cpp 116 27 Multiple Object Testout
67 IntelliSense: expected a ')' d:\fyp\visual\multiple object testout\multiple object testout\multiple object.cpp 245 20 Multiple Object Testout

...... continue the list of errors

Hopefully, someone can enlighten me on this problem. All guidance are greatly appreciated

Thank you.

@tengesser
Copy link

Hi,

you need to link OpenCV and Highgui for the camExample to work.
Unfortunately, I don't have any experience running it under Windows / Visual Studio. If possible, I would recommend to complile it using the provided makefile ("make camexample") on a linux system with gcc. The needed OpenCV/Highgui packages for Ubuntu should be libhighgui-dev and libcv-dev, I think.

Good luck!

@ghost
Copy link

ghost commented Jan 15, 2013

Hi evilsantabot,

Thank you for the reply. I don't have any experience with Ubuntu but I will try it out. Another query, based on the "README" file, the "Multi Object TLD" is executable on Windows platform, am I right to say that?

Thank you.

@yxing
Copy link

yxing commented Jul 2, 2013

Hi evilsantabot, when I was testing camExample, some error occired:
1, error C2057: expected constant expression
2, error C2466: cannot allocate an array of constant size 0
3, rror C2133: 'img' : unknown size
and all of these seems from line 88.

I am highly appreciated if some suggestions provided.
thanks!

@freakbird
Copy link

@evilsantabot, I have been running your project on Visual Studio 2013 and using OpenCV 2.4.10. But the results are extremely slow and not at all real time. Can you please guide me on what might be going wrong. I have also enabled the /openmp flag in the project properties/

Thanks

@putuyuwono
Copy link

@freakbird make sure you are running it in Release mode (NOT Debug mode).

@ycdhonker
Copy link

Thanks I want to test it in my ubuntu kylin which is respected to run better in real time frames.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants