Creating my Own Camera Functions

12 replies [Last post]
Qedg
Title: NooBot
Joined: 07/21/2013
Posts:
BotPoints: 5
User offline. Last seen 4 years 19 weeks ago.

I have several ideas for new camera functions but am not able to create them without more data from the LINK. I would prefer to be able to access the rgb values of every pixel but accessing just picture of what the camera sees as raw data would work just as well. Any advice is greatly appreciated.

Beta
Beta's picture
Title: The Magnificent
Joined: 02/24/2012
Posts:
BotPoints: 266
User offline. Last seen 3 years 43 weeks ago.

Hi,

These functions have already been added to our API, but have not been released as a firmware update yet. Firmware version 2.0 will also allow you to use OpenCV in C++ from your programs. Unfortunately no ETA on this firmware version yet. A lot of stuff is being improved now that the season is over.

If you're wanting to use C++ and OpenCV on the current firmware with KISS, let me know and I can provide some (slightly technical) directions.

Thanks for your patience.

Braden McDorman

Developer of the KIPR Link, KISS IDE, KIPR's 2D Simulator, and CBCJVM.

Reach me at bmcdorman(cat)kipr(dog)org where (cat)=@ and (dog)=. if you need assistance of any kind.

garrettsickles
garrettsickles's picture
Title: NooBot
Joined: 12/08/2011
Posts:
BotPoints: 52
User offline. Last seen 3 years 39 weeks ago.

Hey Braden, let's get Haartraining working on the Link. But seriously full access to OpenCV would be amazing.

Garrett Sickles
807Robotics: A Narwhal's Revenge
Youth Advisory Council
Geophysics & Computer Science

Beta
Beta's picture
Title: The Magnificent
Joined: 02/24/2012
Posts:
BotPoints: 266
User offline. Last seen 3 years 43 weeks ago.

The training would take years! But yeah, should be more than possible with version 2.0. :P

Braden McDorman

Developer of the KIPR Link, KISS IDE, KIPR's 2D Simulator, and CBCJVM.

Reach me at bmcdorman(cat)kipr(dog)org where (cat)=@ and (dog)=. if you need assistance of any kind.

Qedg
Title: NooBot
Joined: 07/21/2013
Posts:
BotPoints: 5
User offline. Last seen 4 years 19 weeks ago.

Could you direct me on how I would begin using OpenCV? I would very much appreciate it.

garrettsickles
garrettsickles's picture
Title: NooBot
Joined: 12/08/2011
Posts:
BotPoints: 52
User offline. Last seen 3 years 39 weeks ago.

Here is the documentation link. I also used this tutorial to help me start out with OpenCV in Visual Studio 2010. Kinda off topic, but another fun resource to play with is OpenFrameworks. Openframeworks uses OpenCV for some image processing (kinda limited but easier to use). OpenCV is very robust software so finding libraries constructed on top of OpenCV maybe more manageable. As for interfacing with the link camera and the FPGA to get an image to analyze I have no clue where to begin, but i guess that is what Braden is for!

Garrett Sickles
807Robotics: A Narwhal's Revenge
Youth Advisory Council
Geophysics & Computer Science

garrettsickles
garrettsickles's picture
Title: NooBot
Joined: 12/08/2011
Posts:
BotPoints: 52
User offline. Last seen 3 years 39 weeks ago.

OpenCV is not for the faint of heart but it is worth learning. I learn best by example so here is an excellent third party library displaying some blob tracking! (Seemed relevant) If my other reply ever loads this will seem silly, but OpenFrameworks has a useful collection of tools using OpenCV for image processing as well as OpenGL (graphics) and is more simple to use as well as many useful custom data types and peripheral interface libraries.

Garrett Sickles
807Robotics: A Narwhal's Revenge
Youth Advisory Council
Geophysics & Computer Science

Beta
Beta's picture
Title: The Magnificent
Joined: 02/24/2012
Posts:
BotPoints: 266
User offline. Last seen 3 years 43 weeks ago.

Shoot me an e-mail (provided in my signature) and I'll queue it up on my to-do.

Thanks.

Braden McDorman

Developer of the KIPR Link, KISS IDE, KIPR's 2D Simulator, and CBCJVM.

Reach me at bmcdorman(cat)kipr(dog)org where (cat)=@ and (dog)=. if you need assistance of any kind.

jerwinbryce
Title: NooBot
Joined: 02/12/2016
Posts:
BotPoints: 2
User offline. Last seen 1 year 43 weeks ago.

Mine was upgraded from 1.8 to firmware version 2.0, since then got the same problem, is it possible to revert it back?

ted90
Title: NooBot
Joined: 04/07/2016
Posts:
BotPoints: 12
User offline. Last seen 1 year 35 weeks ago.

I found he was looking for, thank you for the useful information!

stevebarret
Title: NooBot
Joined: 01/09/2017
Posts:
BotPoints: 2
User offline. Last seen 48 weeks 3 days ago.

Do you think you can custom some functions in an hd camera?