![]() |
Camera Tracking
My team programs in Java. We need help with some camera tracking code, we wished to accomplish this last year, but it seems to be a bigger deal this year. Any help and sample code would be much appreciated.
|
Re: Camera Tracking
This whitepaper was put out last year, and goes over the "concepts" in vision targeting: https://decibel.ni.com/content/docs/DOC-20173 I highly suggest reading the whole thing.
You will want to use the NI vision assistant to determine your vision processing algorithm and parameters. From there, I'm not a java guy, but I can link you my C++ code from last year, which should be quite similar to the java implementation: https://github.com/TeamExcel/Project.../Robot2012.cpp Line 454 has camera setup and image aquisition and checking. Line 795 is where image processing starts. Line 1313 is the camera init function. Here are the basic steps, with extra features removed, and all null checking stuff. Code:
//Get an instance of the camera |
| All times are GMT -5. The time now is 02:14. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi