Go to Post Life is not about avoiding risk, but managing it. - dtengineering [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
  #2   Spotlight this post!  
Unread 22-01-2017, 20:37
Poseidon5817's Avatar
Poseidon5817 Poseidon5817 is offline
Founder and CEO, DeadMemes Studios
AKA: Mitchel Stokes
FRC #5817 (Uni-Rex)
Team Role: Mentor
 
Join Date: Aug 2013
Rookie Year: 2014
Location: Clovis, CA
Posts: 407
Poseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud of
Re: Any Interest in a Distributed Vision programme?

Quote:
Originally Posted by viggy96 View Post
I've just started work on a programme which will distribute the load of vision processing across multiple Raspberry Pi's (or any set of computers). This is roughly how it would work:

1st Pi: BGR -> HSV and HSV threshold
2nd Pi: Canny (find edges) & findContours
3rd Pi: Iterate through contours to find largest and report its centre with JSON

The first Pi takes in the mjpeg stream from the camera and produces an mjpeg stream of its output for the next Pi to use as its input, and so on. The 3rd Pi's job could most likely be integrated into the 2nd Pi.

So far, I've only done the first stage. However, the results are already pretty dramatic, (at least in my opinion). The Pi is able to smoothly process 15 frames per second, with just about a second of delay at 320 by 240 resolution. Turning the camera frame rate down to 10fps, brings down the delay to about half a second. Now I just have to get my hands on another Raspberry Pi!

I just wanted to gauge interest in such a programme for a possible release in the future.

Much of this was motivated through my hatred of nVidia and CUDA. (Their business practices are horrible)

I'm using OpenCV 3.0 via C++ on the Raspberry Pi's.
We were getting less delay than that just using an Axis Camera running GRIP on the Driver Station last year.
__________________
My FRC History:

2014 - Team 1671: Central Valley Regional Finalist and Chairman's Award Winner, Sacramento Regional Finalist, Archimedes Quarterfinalist
2015 - Team 1671: Central Valley Regional Semifinalist, Sacramento Regional Semifinalist and Chairman's Award Winner, Newton Winner, Einstein Winner
2016 - Team 5817: Central Valley Regional Finalist and Rookie All-Star, Orange County Regional Quarterfinalist and Rookie All-Star, Newton Division
2017 - Team 5817: Return of the bench grinder


Reply With Quote
 


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 15:29.

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