Go to Post FIRSTies always get Two Xmases! - [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 10-04-2012, 12:35
rbmj rbmj is offline
Registered User
FRC #0612 (Chantilly Robotics)
Team Role: Alumni
 
Join Date: Apr 2011
Rookie Year: 2011
Location: DC Area/Fairfax County
Posts: 192
rbmj is a jewel in the roughrbmj is a jewel in the roughrbmj is a jewel in the rough
Axis Camera Real-Time Vision Processing

Hi everyone,

I've written a small program to help with vision processing for FRC. Right now it only does the thresholding, but you can use it quickly see the results of thresholding ops in real time. The idea is that if you need to recalibrate your vision processing at competition, then all you have to do is plug your laptop in and you can get new values and see the result of the thresholding ops as you change the ranges. I've tried to make the thresholding as similar as I can to the cRIO's.

URL:
https://github.com/rbmj/axisviewer

Program:
axisviewer

Dependencies:
libcurl (not sure about the version)
gtkmm 3 (sorry, i'm working on getting a gtkmm >= 2.4 version)
cmake (to build)

Because it requires gtkmm 3 there's no currently stable way to build this on windows. However, gtkmm 3.4 is about to be released, and I just got info from the mailing list that this version should work well on windows. As far as the libcurl dependency, that's just there so that I don't have to deal with the http socket stuff. I plan to remove this dependency in the future.

TODOs:

Make the image processing stuff less crufty
Add more vision operations
Get a working gtkmm2 build
and other misc. stuff.

I'll put a screenshot up tomorrow.

If you want to use this with your own, just go to Config->Set Camera IP and use that. It should also *theoretically* work with other IP MJPEG cameras too, you just need to get the correct delimiter. Maybe I can add something to guess the delimiter in the future...

Any suggestions or patches are welcome!
 


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 20:19.

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