![]() |
Open CV help
Hey anybody got any ideas on Open CV? We were planning on using it for auto gears.
Code:
static void VisionThread(){Thanks, Elijah 4601 P.S. actual code is here https://github.com/CircuitBirds-FRC4601/CB5 |
Re: Open CV help
My biggest concern with this approach is that the gear itself will be covering those two pieces of retro tape most of the time when aligned. Encoders might be a better approach.
|
Re: Open CV help
I agree, if you get to start in front of the peg facing the wall, but what about the other ones? You would need to preset it in a certain location which seems harder this year.
|
Re: Open CV help
Quote:
|
Re: Open CV help
Quote:
|
Re: Open CV help
Quote:
|
Re: Open CV help
The secret to using vision for Steamworks is having an angle of attack of the camera to avoid the gear getting in the way of seeing the tape. The vision is possible and the calculations do exist, and aren't too bad if you follow 254's presentation.
Vision Presentation Multithreading is often unrealistic because all of the tasks have to be run in a linear pattern, and while running multiple versions can be effective, it causes issues with multiple threads fighting over the same frame. You can use a lock, but that requires Python and that can be another issue |
Re: Open CV help
Quote:
|
| All times are GMT -5. The time now is 07:05. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi