Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Sample field images from (Axis) robot camera? (http://www.chiefdelphi.com/forums/showthread.php?t=127592)

mhaeberli 07-03-2014 19:43

Sample field images from (Axis) robot camera?
 
Can anyone offer us sample images of the vertical (and hot) targets from a robot camera, preferably with illumination? (Green LED ring would be best for comparison).
Thanks,
Martin

yash101 07-03-2014 20:11

Re: Sample field images from (Axis) robot camera?
 
i have a repo of them :D.

Enjoy ;)

Apeace 08-03-2014 11:43

Re: Sample field images from (Axis) robot camera?
 
Hey sorry for hi-jacking this thread, but how do you use these images?

I know we use these lines of code to get the image.

ColorImage image;
image = new RGBImage("/image.jpg");

But I have two questions.

1. How do I get the image on the CRio? Do I put it in my Netbeans project?

2. What is the directory I'm looking for? (line 2 of my code snippet)

irvingc 08-03-2014 14:40

Re: Sample field images from (Axis) robot camera?
 
You can transfer them to the cRIO via FTP. Open a command prompt and run: "ftp 10.XX.YY.2" (replace with your cRIO's IP address). Blank username and password should give you read/write access.

The root directory should just be the root directory of your cRIO (i.e. image = new RGBImage("/image/file.jpg"); will look for file.jpg in the image/ folder in the root directory of the cRIO).

mhaeberli 09-03-2014 01:18

Re: Sample field images from (Axis) robot camera?
 
thx!

mhaeberli 09-03-2014 01:19

Re: Sample field images from (Axis) robot camera?
 
In our case, we are using them to train / confirm our computer vision code attempt (which in fact runs on the drive laptop).

Joe Ross 11-03-2014 12:10

Re: Sample field images from (Axis) robot camera?
 
There are also images installed with the vision examples for each programming language. See http://wpilib.screenstepslive.com/s/...95-c-java-code, as well as more images available here: http://firstforge.wpi.edu/sf/frs/do/..._vision_images

DjScribbles 11-03-2014 13:46

Re: Sample field images from (Axis) robot camera?
 
Keep in mind that these images are great for testing your code, but you will need to verify your threshold/filter parameters against images taken with your camera and lighting configuration. There are a lot of settings you can change on the camera, and generally you need to adjust your camera settings for good results.

In C++ (and Java) you can write an image taken from your camera to a file by calling the ImageBase::Write routine on your image, the same is probably true in labview.


All times are GMT -5. The time now is 02:29.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi