Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenCV example #857

Open
KennanHunter opened this issue Dec 3, 2023 · 3 comments
Open

OpenCV example #857

KennanHunter opened this issue Dec 3, 2023 · 3 comments

Comments

@KennanHunter
Copy link

Despite easyopencv being included with the SDK, there are no examples of either using it with the vision portal or without it. If you guys are open to adding more examples into the SDK this far into the season, I could work on this and send it over.

While I love the new vision portal API, it's documentation for advanced users is still lacking.

@alan412
Copy link

alan412 commented Dec 3, 2023

While I am not part of the team, there is an example using OpenCV with the VisionPortal in my free book: https://github.com/alan412/LearnJavaForFTC. (Section 16.3)

@Windwoes
Copy link
Member

Windwoes commented Dec 3, 2023

While I love the new vision portal API, it's documentation for advanced users is still lacking.

NB: Truth be told, the VisionPortal API was not really designed with custom team usage of OpenCV in mind (hence e.g. the rather roundabout way the framebuffer must be annotated). It seemed at the time like advanced teams would prefer to simply use the EOCV APIs directly, and call a vision processor object as part of their pipeline if they so desired. However, it seems like a large number of teams prefer the VisionPortal API which runs counter to that assumption.

@Windwoes
Copy link
Member

The next release of the SDK will contain VisionProcessors for using OpenCV to perform blob detection or predominant color determination, along with sample OpModes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants