tritonuas / obcpp

The code for the Onboard Computer, now written in C++.
GNU Affero General Public License v3.0
7 stars 0 forks source link

Cv classification integration #183

Closed shijiew555 closed 5 days ago

shijiew555 commented 1 month ago

Changes Made file classification.cpp and completed skeleton class Classification. Color classification has not been implemented. Made file cv_classification.cpp for the integration test.

Testing To make the target for the integration test, use make cv_classification. Target images for integration test is in tests/integration/images/ and image paths could be specified in the variable targetPaths in cv_classification.cpp. The paths for model weights files for segmentation, shape classification, and character classification can be specified in variables segmentationModelPath, classificationShapeModelPath, and classificationCharModelPath respectively.