Jump to content

C/C++ motion tracking and automation

I'm working on a project where I want to add motion tracking as an input for automation.

 

Long story:

 

One example would be for the code to detect an item moving towards the robot, and then having the robot react based on the velocity/speed/direction of the incoming item. 

 

This will be utilized in a "maze" where a camera will be mounted from the top giving a full view of the playing field.

 

To add to that there is a 30 second time during the end where half of the playing field will go "dark" by not not letting the camera view this location.

 

We are told that the incoming object will have a mathematically defined path to reach the robot in the maze. Thus we can predict where the robot needs to be during the 30 second blackout period.

 

We are allowed to program in the "boundaries" of the maze.

 

 

So any suggestions on what libraries might be out there? should I consider a different language other than C or C++?

 

Thoughts and opinions are highly appreciated!

▶ Learn from yesterday, live for today, hope for tomorrow. The important thing is not to stop questioning. - Einstein◀

Please remember to mark a thread as solved if your issue has been fixed, it helps other who may stumble across the thread at a later point in time.

Link to comment
https://linustechtips.com/topic/39871-cc-motion-tracking-and-automation/
Share on other sites

Link to post
Share on other sites

If you are really interested in c/c++ try opencv (http://opencv.willowgarage.com/wiki/)

 

I have used it for some simple imaging stuff, but I assume that it might be a good.

 

I did a bit of googling about opencv, and found this site

http://www.intorobotics.com/how-to-detect-and-track-object-with-opencv/

 

so while I might not be too much help, I would look at that link and see if it suits your needs.

 

Good luck with our project

0b10111010 10101101 11110000 00001101

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×