Untitled

 avatar
unknown
plain_text
9 months ago
776 B
1
Indexable
/home/simran/Desktop/new_src/main.cpp: In function ‘int main()’:

/home/simran/Desktop/new_src/main.cpp:83:55: error: ‘result’ was not declared in this scope

   83 |                 if (task_segment_onnx.OnnxDetect(src, result)) {

      |                                                       ^~~~~~

/home/simran/Desktop/new_src/main.cpp:85:73: error: ‘color’ was not declared in this scope

   85 |             DrawPred(src, result, task_segment_onnx._className, color);

      |                                                                 ^~~~~



make[2]: *** [CMakeFiles/yolov8.dir/build.make:76: CMakeFiles/yolov8.dir/main.cpp.o] Error 1

make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/yolov8.dir/all] Error 2

make: *** [Makefile:91: all] Error 2

Editor is loading...
Leave a Comment