Go to Post Can we just get over this inane lawyering of the rules and get back to building robots? . - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 07-03-2014, 19:43
mhaeberli mhaeberli is offline
Registered User
FRC #3045
 
Join Date: Feb 2014
Location: Redwood City
Posts: 88
mhaeberli is on a distinguished road
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
  #2   Spotlight this post!  
Unread 07-03-2014, 20:11
yash101 yash101 is offline
Curiosity | I have too much of it!
AKA: null
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: devnull
Posts: 1,191
yash101 is an unknown quantity at this point
Re: Sample field images from (Axis) robot camera?

i have a repo of them .

Enjoy
  #3   Spotlight this post!  
Unread 08-03-2014, 11:43
Apeace Apeace is offline
Registered User
FRC #1123
 
Join Date: Jan 2012
Location: Burke, VA
Posts: 14
Apeace is an unknown quantity at this point
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)
  #4   Spotlight this post!  
Unread 08-03-2014, 14:40
irvingc irvingc is offline
Registered User
FRC #0948 (Newport Robotics Group)
Team Role: Leadership
 
Join Date: Jan 2014
Rookie Year: 2011
Location: Bellevue, WA
Posts: 31
irvingc is on a distinguished road
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).
  #5   Spotlight this post!  
Unread 09-03-2014, 01:18
mhaeberli mhaeberli is offline
Registered User
FRC #3045
 
Join Date: Feb 2014
Location: Redwood City
Posts: 88
mhaeberli is on a distinguished road
Re: Sample field images from (Axis) robot camera?

thx!
  #6   Spotlight this post!  
Unread 09-03-2014, 01:19
mhaeberli mhaeberli is offline
Registered User
FRC #3045
 
Join Date: Feb 2014
Location: Redwood City
Posts: 88
mhaeberli is on a distinguished road
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).
  #7   Spotlight this post!  
Unread 11-03-2014, 12:10
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,600
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
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
  #8   Spotlight this post!  
Unread 11-03-2014, 13:46
DjScribbles DjScribbles is offline
Programming Mentor
AKA: Joe S
FRC #2474 (Team Excel)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2012
Location: Niles MI
Posts: 284
DjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to behold
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.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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