Real-time-Auto-License-Plate-Recognition-with-Jetson-Nano icon indicating copy to clipboard operation
Real-time-Auto-License-Plate-Recognition-with-Jetson-Nano copied to clipboard

Is that possible Is that possible input only 1 image not video stream, and see the pop up detection results??

Open edwardchang0112-nctu opened this issue 3 years ago • 0 comments

How should I do to input only 1 image instead of video stream, and see the pop up detection results? I already tried

python3 detectnet-camera.py --model=./networks/az_plate/az_plate_ssdmobilenetv1.onnx --class_labels=./networks/az_plate/labels.txt --input_blob=input_0 --output_cvg=scores --output_bbox=boxes /data/images out.jpg

got the message

[image]  loaded '/home/edward/Desktop/yolov4-custom-functions-master/data/images/car2.jpg'  (1400x950, 3 channels)
detected 0 objects in image
[OpenGL] glDisplay -- set the window size to 1400x950
[OpenGL] creating 1400x950 texture (GL_RGB8 format, 3990000 bytes)
[cuda]   registered openGL texture for interop access (1400x950, GL_RGB8, 3990000 bytes)
[image]  saved 'out.jpg'  (1400x950, 3 channels)

[TRT]    ------------------------------------------------
[TRT]    Timing Report ./networks/az_plate/az_plate_ssdmobilenetv1.onnx
[TRT]    ------------------------------------------------
[TRT]    Pre-Process   CPU   0.07171ms  CUDA   0.22339ms
[TRT]    Network       CPU  25.94165ms  CUDA  25.20064ms
[TRT]    Post-Process  CPU   0.14458ms  CUDA   0.14438ms
[TRT]    Total         CPU  26.15794ms  CUDA  25.56842ms
[TRT]    ------------------------------------------------

[TRT]    note -- when processing a single image, run 'sudo jetson_clocks' before
                to disable DVFS for more accurate profiling/timing measurements

and there is a result image out.jpg without any bounding boxes on it. any idea on this?

edwardchang0112-nctu avatar Nov 17 '21 06:11 edwardchang0112-nctu