killerdbob/yolov3-tensorrt-onnx
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
How to use! First, you should provide a pretrained onnx or trt file, put it in the current directory. Second, you should create an instance of yolov3, and just run the function of "readVideo(SyncQueue<output> *queuebuffer, string filename)", queuebuffer is an 'SyncQueue' instance in 'queue.cpp', 'filename' could be a mp4 or rtsp stream. Third, result will be in the 'SyncQueue', and every result is a 'output' struct.