Brighton-FTC / FTC-2023

BSD 3-Clause Clear License
1 stars 0 forks source link

Look into installing CV library #27

Closed WebCoder49 closed 1 year ago

sbottingota commented 1 year ago

Instructions: https://docs.ftclib.org/ftclib/vision/computer-vision

As we are using gradle, we could use it to install OpenCV.

WebCoder49 commented 1 year ago

That's a good idea; I think EasyOpenCV is a fork of OPenCV specifically designed for FTC. Does it fit your needs?

sbottingota commented 1 year ago

According to the readme file from the EasyOpenCV library, you can do this like:

dependencies {
    implementation 'org.openftc:easyopencv:1.6.2'
} 
sbottingota commented 1 year ago

There are about three build.gradle files in the project. Which one should I use?

sbottingota commented 1 year ago

About my question above, we should put the implementation in the TeamCode build.gradle.