ceccocats / tkDNN

Deep neural network library and toolkit to do high performace inference on NVIDIA jetson platforms
GNU General Public License v2.0
719 stars 209 forks source link

yolo object detection on images #277

Closed seounghyeon closed 2 years ago

seounghyeon commented 2 years ago

Hello,

how can I process an image instead of a video stream?

mive93 commented 2 years ago

Hi @seounghyeon ,

if it is just an image, you can pass the path as the input instead of a path of a video. But in that case you want to see the results, you have to change the demo here (https://github.com/ceccocats/tkDNN/blob/master/demo/demo/demo.cpp#L138) and put

cv::waitKey(0);
seounghyeon commented 2 years ago

Thank you!