AlexeyAB
2018-05-22 a2666d5b3cfdcbab1e2eb66ca41f8b6835d4ffc8
src/yolo_v2_class.hpp
@@ -446,7 +446,7 @@
#ifdef OPENCV
cv::Scalar obj_id_to_color(int obj_id) {
static cv::Scalar obj_id_to_color(int obj_id) {
   int const colors[6][3] = { { 1,0,1 },{ 0,0,1 },{ 0,1,1 },{ 0,1,0 },{ 1,1,0 },{ 1,0,0 } };
   int const offset = obj_id * 123457 % 6;
   int const color_scale = 150 + (obj_id * 123457) % 100;