![]() |
First year for Image Processing. Need Help!
Trying to plan things out right now and have a couple questions:
What's the easiest/best camera to use? We have the Kinect from last year, but I've heard a lot about "Axis" cameras, and I don't know if there's another good option besides those two. Are there certain pros/cons for each camera or any deciding factors? Once I've decided which camera to use: What is the easiest/best PROGRAM to use? I'm coding in LabVIEW this year but also know basic C++ and Java, I have RoboRealm (program provided in the KoP) installed and ready on my laptop, and I've also seen stuff about something called SmartDashboard. Again, pros, cons, deciding factors, anything helpful? Thanks! |
Re: First year for Image Processing. Need Help!
Quote:
|
Re: First year for Image Processing. Need Help!
You have several well supported options in the KOP and WPILib.
The Axis cameras were selected to go in the KOP because they are a pretty good choice to use with the control system and WPILib. Does your team still have one? The examples that come with LabVIEW, Java, and C++ demonstrate how to process the image on either the cRIO or the DS laptop. I'd advise that you get the basics working before worrying about high framerate or coprocessors or ... Consider the camera as a sensor. What does it need to tell the rest of the robot, and how often. Will the robot be shooting while flying across the field, or will it be stationary while the saucers fly? Don't make it any more complicated that you need to. Greg McKaskle |
Re: First year for Image Processing. Need Help!
This page might be a good place to start at. As Greg McKaskle said, there are plenty of example code projects designed with the Axis camera in mind, and it's become so friendly for the user that at this point you can practically process an image and send a target's X and Y relative coordinates as well as the diagonal range from the target to your robot, barely modifying the original codes of the Dashboard, default cRIO project or the vision processing example.
You can use other cameras of course, and it might be useful for some purposes, but you're gonna have to make sure that the camera is legit, as there are certain rules about the bandwidth and the ports you're allowed to use, and also there are some rules about the physical and electrical aspects of the camera so make sure you read those. Out of the 2 types of Axis cameras, I'd go with M1011. Note that if you're gonna use 206, there's a certain control in Vision where you need to define that (I think it affects something about the lens' resolution? Kinda forgot that...) |
Re: First year for Image Processing. Need Help!
okay so I just checked and we DO indeed have an Axis Camera and the brackets. However we do NOT have the ring of light that was mentioned in the whitepaper on retro-reflectivity. How essential is that, or is it?
From what yall are saying and what Ive found so far in my googling efforts, it sounds like our Axis camera is the way to go. Now I just need to decide HOW I want to use it. It sounds like yall are saying to 1) Add to the LabVIEW code and 2) use an image processing program, similar to how you have to have a driver for a different controller. So with that in mind, to get started, do I just need to read the whitepaper on LabVIEW image processing programming and decide on an image processing program (such as the KoP provided RoboRealm)? My teacher and I were discussing it all today and realized we actually didn't know if people let it automatically adjust shots, or if they use the camera on the driving computer to see through the camera while playing the game and use that to manually adjust the shooter based on what you can see through the camera's vision. |
Re: First year for Image Processing. Need Help!
The ring light isn't necessary, but provides the ability to concentrate light around the camera, so it's pointed at the target.
2473 used a pair of high-density LED lamps, which blinded any inspector looking at the bot, but they worked beautifully on the field (targets were completely saturated, so the lines stood out really well). You can use the camera to automatically calculate a firing solution, if you can write the appropriate algorithms. You could simply draw a crosshairs on the DS and aim like that. The more advanced solution would be automatic target acquisition and firing. |
Re: First year for Image Processing. Need Help!
Quote:
OP, have you looked at Roborealms? There was a voucher for a copy included in the KoP. |
Re: First year for Image Processing. Need Help!
Quote:
|
Re: First year for Image Processing. Need Help!
Quote:
What exactly does RoboRealm do as opposed to the extra coding in LabVIEW if I want to use automatic tracking with an algorith? What does it do opposed to LabVIEW if I want to just use a crosshair and the camera feed? Sorry if I'm slow on the uptake here. Last year I just gave some ideas and helped build things, so I'm overwhelmed with all the technical stuff now. I can't thank yall enough for all the help EDIT: When I mention extra coding in LabVIEW btw, I'm referring to the stuff mentioned in the LabVIEW whitepaper. ...Which brings up another question. What's the difference between the PC and cRIO parts of this? As far as my understanding, you code the robot's stuff in LabVIEW on the computer, then copy/image it over to the cRIO where it actually runs on the robot. However that means they'd be the same so surely there's something I'm missing |
Re: First year for Image Processing. Need Help!
Vision processing may be done either on the cRIO or the DS or on a coprocessor.
|
Re: First year for Image Processing. Need Help!
Quote:
|
Re: First year for Image Processing. Need Help!
You may write code for automatic tracking using any combination of cRIO, DS computer, or coprocessor. There are tradeoffs between different approaches.
I suspect you have a cRIO and a DS computer already. I suspect you do not yet have a coprocessor. If you get a coprocessor, you have to power it, mount it, boot it, and program it. There are a number of ways to use the DS laptop, but you must also make it send data back to the robot. The cRIO is perhaps the easiest to program, but is not a very fast CPU. And there are many other tradeoffs you can use to evaluate which solution is for you. Greg McKaskle |
Re: First year for Image Processing. Need Help!
Quote:
|
Re: First year for Image Processing. Need Help!
Quote:
|
Re: First year for Image Processing. Need Help!
Quote:
|
| All times are GMT -5. The time now is 02:08. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi