We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f53754a commit 488fb8eCopy full SHA for 488fb8e
models/object_detection_yolox/demo.cpp
@@ -306,6 +306,10 @@ int main(int argc, char** argv)
306
tm.stop();
307
cout << "Inference time: " << tm.getTimeMilli() << " ms\n";
308
Mat img = visualize(predictions, frame, letterboxScale, tm.getFPS());
309
+ if (save && parser.has("input"))
310
+ {
311
+ imwrite("result.jpg", img);
312
+ }
313
if (vis)
314
{
315
imshow(kWinName, img);
0 commit comments