Thread: Target Tracking
View Single Post
  #5   Spotlight this post!  
Unread 11-04-2016, 07:13
jreneew2's Avatar
jreneew2 jreneew2 is offline
Alumni of Team 2053 Tigertronics
AKA: Drew Williams
FRC #2053 (TigerTronics)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Vestal, NY
Posts: 203
jreneew2 has a spectacular aura aboutjreneew2 has a spectacular aura aboutjreneew2 has a spectacular aura about
Re: Target Tracking

Quote:
Originally Posted by Fauge7 View Post
Thanks for recommending my program

my advice is to see if you have an axis camera. If not with the usb camera you will have to run mjpeg-streamer on the rio to stream the usb camera to a web interface where Tower tracker can take the video stream and process it.
You dont have to. If he is running it on the roborio you can just plug in a usb camera and change

videoCapture = new VideoCapture();

to videoCapture = new VideoCapture();
videoCapture.open(0).

This opens up the usb camera plugged into the roborio. This works with virtuald's version on opencv on the roborio. However, the version he build doesn't work with mjpg streams. If you really want to use that, I would use opencv2 that another team compiled.
Reply With Quote