1) more convenient naming for samples gpu
2) added mask support to device 'transform' function 3) sample hog gpu: waitKey(1) -> waitKey(3), in other case image is not displayed.
This commit is contained in:
@@ -283,7 +283,7 @@ void App::RunOpencvGui()
|
||||
// Show results
|
||||
putText(img_to_show, GetPerformanceSummary(), Point(5, 25), FONT_HERSHEY_SIMPLEX, 1.0, Scalar(0, 0, 255), 2);
|
||||
imshow("opencv_gpu_hog", img_to_show);
|
||||
HandleKey((char)waitKey(1));
|
||||
HandleKey((char)waitKey(3));
|
||||
|
||||
if (settings.src_is_video)
|
||||
{
|
||||
|
Reference in New Issue
Block a user