![]() |
Custom Pixel-By-Pixel Vision Processing
We've been doing vision processing via a HTML server, but the problem is the drivers don't like to use all of the programs including RoboRealm so we want to do it in Java. ColorImage does not support per-RGB scanning but Squawk doesnt support BufferedImage. any help?
|
Re: Custom Pixel-By-Pixel Vision Processing
Last year one of our students wrote image processing code in Java.
We used the command based robot template. The camera Code resides within a subsystem. The code is available here for reference: https://gist.github.com/jcorcoran/5228621 Hopefully that helps get you moving in the right direction. Something to watch out for is performance. The frame rate can get pretty low for image processing running cRIO side. You may want to look at performing your vision processing using openCV through the smartdashboard. Vision processing code would run on on your driver station laptop in this case. There are plenty of good resources on driverstation side image processing code. http://www.chiefdelphi.com/forums/sh...ght=341+vision https://code.google.com/p/frc2012-te...i/VisionCoding |
Re: Custom Pixel-By-Pixel Vision Processing
Quote:
|
Re: Custom Pixel-By-Pixel Vision Processing
I'm curious what you find sloppy about nivision?
Greg McKaskle |
Re: Custom Pixel-By-Pixel Vision Processing
Quote:
|
Re: Custom Pixel-By-Pixel Vision Processing
Quote:
2. Have you seen imaqCreateImage? Or the (somewhat useful) documentation in Program Files\National Instruments\Vision\Help? 3. It's really not that hard to implement CameraServer yourself. It's literally just the bytes 1 0 0 0 followed by a 32 bit integer n, followed by n bytes of a jpeg image. Over and over on a tcp stream |
| All times are GMT -5. The time now is 09:41. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi