Open KennanHunter opened 11 months ago
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)
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.
The next release of the SDK will contain VisionProcessors for using OpenCV to perform blob detection or predominant color determination, along with sample OpModes.
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.