Searched refs:img_to_show (Results 1 – 2 of 2) sorted by relevance
/external/opencv3/samples/tapi/ |
D | hog.cpp | 191 Mat img_to_show; in run() local 209 img.copyTo(img_to_show); in run() 225 rectangle(img_to_show, r.tl(), r.br(), Scalar(0, 255, 0), 3); in run() 228 …putText(img_to_show, ocl::useOpenCL() ? "Mode: OpenCL" : "Mode: CPU", Point(5, 25), FONT_HERSHEY_… in run() 229 …putText(img_to_show, "FPS (HOG only): " + hogWorkFps(), Point(5, 65), FONT_HERSHEY_SIMPLEX, 1., Sc… in run() 230 …putText(img_to_show, "FPS (total): " + workFps(), Point(5, 105), FONT_HERSHEY_SIMPLEX, 1., Scalar(… in run() 231 imshow("opencv_hog", img_to_show); in run() 241 imwrite(output, img_to_show); in run() 248 img_to_show.size(), true); in run() 253 if (make_gray) cvtColor(img_to_show, img, COLOR_GRAY2BGR); in run() [all …]
|
/external/opencv3/samples/gpu/ |
D | hog.cpp | 294 Mat img_aux, img, img_to_show; in run() local 310 img_to_show = img; in run() 338 rectangle(img_to_show, r.tl(), r.br(), Scalar(0, 255, 0), 3); in run() 342 … putText(img_to_show, "Mode: GPU", Point(5, 25), FONT_HERSHEY_SIMPLEX, 1., Scalar(255, 100, 0), 2); in run() 344 … putText(img_to_show, "Mode: CPU", Point(5, 25), FONT_HERSHEY_SIMPLEX, 1., Scalar(255, 100, 0), 2); in run() 345 …putText(img_to_show, "FPS (HOG only): " + hogWorkFps(), Point(5, 65), FONT_HERSHEY_SIMPLEX, 1., Sc… in run() 346 …putText(img_to_show, "FPS (total): " + workFps(), Point(5, 105), FONT_HERSHEY_SIMPLEX, 1., Scalar(… in run() 347 imshow("opencv_gpu_hog", img_to_show); in run() 358 img_to_show.size(), true); in run() 363 if (make_gray) cvtColor(img_to_show, img, COLOR_GRAY2BGR); in run() [all …]
|