YoloV3SimpleSample.py
# Bruno Capuano 2020 | |
# simple implementation for YoloV3 object detection | |
import cv2 | |
from yoloanalyzer import yoloV3_analyzer | |
image_path = "02.jpg" | |
# init Analyzer with confidence 50% | |
ya = yoloV3_analyzer(0.5) | |
# analyze and show image | |
image = cv2.imread(image_path) | |
newImage = ya.ImageProcess(image) | |
cv2.imshow("Rapid YoloV3 demo", newImage) | |
# wrap up | |
cv2.waitKey() | |
cv2.destroyAllWindows() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment