|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
I need a program of labview for Axis camera, I am in a FRC team and I need a labview code to make the camera distinguish the distance of an object and colors, could someone help me? |
|
#2
|
||||
|
||||
|
Re: how to use labview control Axis camera distinguish distance and color
This is not a trivial task. Can you post a picture of the Object you are trying to identify?
Also include a picture of the surrounding of the object. |
|
#3
|
||||
|
||||
|
Re: how to use labview control Axis camera distinguish distance and color
Look around in the Vision and FRC Vision palettes for basic stuff. You might be able to accomplish what you're trying with blob recognition and filtering.
If you really want to go high class, FIRST has let us use NI's vision software for making custom VIs for specific vision purposes. It's quite advanced but there is documentation lying around somewhere; look around NI's help community at ni.com/first. Agreed, this isn't a walk in the park, prepare for some research. Usually FIRST gives us code specific to the game that will allow us to do this. In the past couple years the code they have given us was quite helpful if you used it right. |
|
#4
|
||||
|
||||
|
Re: how to use labview control Axis camera distinguish distance and color
The NI Vision Assistant that RoboMaster mentioned is actually quite easy to use - at least, it's easier than building the VI yourself from scratch.
It lets you use images already stored on your computer, or you can hook up your axis camera and aquire images directly from that. The image processing VIs can run on your computer as well as the cRIO, so that makes it easier to test. One thing to note: IMAQ uses the same memory space to store the image as it manipulates it. If you want to duplicate the image or extract multiple color planes, make sure to create a new memory space; otherwise the image you intended to preserve will get written over. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Camera Distance Calcualtor for Labview | zackcool123 | Programming | 3 | 09-02-2009 17:25 |
| how to find distance using two color servo camera? | Steelix4532 | General Forum | 4 | 06-02-2009 17:20 |
| How do i find a variable and use it on Labview | Chris11246 | NI LabVIEW | 23 | 21-01-2009 17:50 |
| [FTC]: Vex color camera use | programMORT11 | FIRST Tech Challenge | 1 | 11-03-2008 13:30 |
| How do I get distance between Camera and the target? | sjung9442 | Programming | 5 | 27-01-2006 09:44 |