| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Example of using YOLO v4 with OpenCV, C++ and Python
Make sure you have already on your system:
The python code is here.
git clone https://github.com/doleron/yolov4-opencv-cpp-python.git
cd yolov4-opencv-cpp-python
python python/yolo.py If you machine/OpenCV install are CUDA capable you can try out running using the GPU:
git clone https://github.com/doleron/yolov4-opencv-cpp-python.git
cd yolov4-opencv-cpp-python
python python/yolo.py cudaThe C++ code is here.
git clone https://github.com/doleron/yolov4-opencv-cpp-python.git
cd yolov4-opencv-cpp-python
g++ -O2 cpp/yolo.cpp -o yolo_example `pkg-config --cflags --libs opencv4`
./yolo_exampleOr using CUDA if available:
git clone https://github.com/doleron/yolov4-opencv-cpp-python.git
cd yolov4-opencv-cpp-python
g++ -O2 cpp/yolo.cpp -o yolo_example `pkg-config --cflags --libs opencv4`
./yolo_example cudaPS.: Video sample from https://www.youtube.com/watch?v=NyLF8nHIquM
| Back | FazBrowse Home | New Git URL |