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

Issues with tracking #7

Open
tomcreutz opened this issue Jun 18, 2018 · 3 comments
Open

Issues with tracking #7

tomcreutz opened this issue Jun 18, 2018 · 3 comments

Comments

@tomcreutz
Copy link

Hallo,

as part of my bachelor thesis I am trying to get the Tracker running right now. But I am having troubles to get it running.

Changing the scale of the bounding box is working perfectly for me. But for some reasons it does not track or tracking is working only sometimes and not really accurate.

Am I right that the image concatenate function of the ConcatenateFeatureChannelProcessor takes the vector of RGB and Depth Image Map and only returns a Vector with the Depth Image Map? Because of that the KCF-Tracker which should probably be used for actual tracking is never called.

So could that be the reason why the tracking isn't really working for me?

Thanks in advance!

@copperwiring
Copy link

@tomcreutz Are you working with a depth sensor or with a dataset? Because the code doesn't seem to have any linking with OpenNI, Kinect SDK or OpenKinect libraries for the code to work with, in real-time.

@tomcreutz
Copy link
Author

@copperwiring I'm using it with ROS and a Kinect right now. I get the rgb and depth data via ROS topic, put them in an array std::array<cv::Mat,2> and simply call reinit for initalisation and update for updating. Thats how it's done in their tracker_run files.

@copperwiring
Copy link

copperwiring commented Jun 25, 2018

@tomcreutz Oh. Okay. I am trying to use Kinect with OpenCV but since there is no a.) Kinect SDK b.) OpenKinect 3.) OpenNI library used, OpenCV can't treat Kinect as a simple webcam. Hence, I am not able to move forward. Honestly, I had thought, as real-time, it'll directly fetch Kinect video on which we can draw bounding box. But this isn't possible without a linker.

Any idea how can it be done for OpenCV and Kinect only for this code (if possible)?

P.S. It'll be helpful if you can attach a snapshot of the line via which you are sending the data.

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

2 participants