๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
728x90
๋ฐ˜์‘ํ˜•

๋”ฅ๋Ÿฌ๋‹๐Ÿค–/YOLO, Opencv ๐Ÿข8

webcam์—์„œ ๊ฐ€์ ธ์˜จ ์˜์ƒ์„ mp4๋กœ ์ €์žฅํ•˜๋Š” OpenCV Python import cv2 import time import os # ์ด๋ฏธ์ง€์— ํ…์ŠคํŠธ๋ฅผ ์ถœ๋ ฅํ•˜๋Š” ํ•จ์ˆ˜ def draw_text(img, text, x, y): font = cv2.FONT_HERSHEY_SIMPLEX font_scale = 1 font_thickness = 2 text_color=(255, 0, 0) text_color_bg=(0, 0, 0) text_size, _ = cv2.getTextSize(text, font, font_scale, font_thickness) text_w, text_h = text_size offset = 5 cv2.rectangle(img, (x - offset, y - offset), (x + text_w + offset, y + text_h + offset), te.. 2022. 4. 1.
openCV๋ฅผ ์‚ฌ์šฉํ•œ YOLO ๊ฐ์ฒด ๊ฐ์ง€ ๊นƒํ—™์—์„œ ํฅ๋ฏธ๋กœ์šด ํ”„๋กœ์ ํŠธ๊ฐ€ ์žˆ์–ด ํ•œ๋ฒˆ ์‹คํ–‰ ์‹œ์ผœ๋ณด์•˜๋‹ค. https://github.com/yash42828/YOLO-object-detection-with-OpenCV GitHub - yash42828/YOLO-object-detection-with-OpenCV: Object detection using YOLO object detector Object detection using YOLO object detector. Contribute to yash42828/YOLO-object-detection-with-OpenCV development by creating an account on GitHub. github.com ๋”ฅ๋Ÿฌ๋‹, OpenCV , python ์„ ์‚ฌ์šฉํ•˜์—ฌ ์ด๋ฏธ์ง€์™€ ๋น„๋””์˜ค์ŠคํŠธ๋ฆผ ๋ชจ๋‘์—์„œ .. 2022. 4. 1.
YOLO (You Only Look Once) - ๋น ๋ฅธ ์ถ”๋ก  ์†๋„์™€ ์ƒ๋‹นํ•œ ์ •ํ™•๋„๋ฅผ ์ž๋ž‘ํ•˜๋Š” ์˜ค๋ธŒ์ ํŠธ ๋””ํ…์…˜[๋ฌผ์ฒด ํƒ์ง€] ๋ชจ๋ธ ๋ฌผ์ฒด ํƒ์ง€๋Š” ๊ฐ์ฒด์˜ ์œ„์น˜์™€ ํฌ๊ธฐ๋ฅผ ์˜ˆ์ธกํ•˜๋Š” ๋ฌธ์ œ์™€ ํ•ด๋‹น ๊ฐ์ฒด์˜ ํด๋ž˜์Šค๋ฅผ ๋ถ„๋ฅ˜ํ•˜๋Š” ๋ฌธ์ œ๋กœ ์„ธ๋ถ„ํ™” ํ•  ์ˆ˜ ์žˆ๋‹ค. ๋ช‡ ๊ฐ€์ง€๋ฅผ ์ •๋ฆฌํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค. YOLO๋Š” ๋”ฅ ๋Ÿฌ๋‹ ์•Œ๊ณ ๋ฆฌ์ฆ˜์ด๋ฏ€๋กœ ์ž์ฒด ์„ค์น˜๊ฐ€ ํ•„์š”ํ•˜์ง€ ์•Š์œผ๋ฉฐ ๋Œ€์‹  ์•Œ๊ณ ๋ฆฌ์ฆ˜์„ ์‹คํ–‰ํ•  ๋”ฅ ๋Ÿฌ๋‹ ํ”„๋ ˆ์ž„์›Œํฌ๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค. YOLO๋ฅผ ์„ค์น˜ํ•˜๋Š” ๋ฐฉ๋ฒ•? YOLO์™€ ํ˜ธํ™˜๋˜๋Š” ๊ฐ€์žฅ ๋งŽ์ด ์‚ฌ์šฉ๋˜๊ณ  ์•Œ๋ ค์ง„ 3๊ฐ€์ง€ ํ”„๋ ˆ์ž„์›Œํฌ Darknet : YOLO ๊ฐœ๋ฐœ์ž๊ฐ€ ๋งŒ๋“  ํ”„๋ ˆ์ž„์›Œํฌ๋กœ yolo๋ฅผ ์œ„ํ•ด ํŠน๋ณ„ํžˆ ์ œ์ž‘๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์žฅ์ : ๋น ๋ฅด๊ณ , GPU ๋˜๋Š” CPU์™€ ํ•จ๊ป˜ ์ž‘๋™ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค . ๋‹จ์ : Linux os์™€ ํ•จ๊ป˜ ์ž‘๋™ํ•ฉ๋‹ˆ๋‹ค. Darkflow: Tensorflow (๋˜ ๋‹ค๋ฅธ ๋”ฅ ๋Ÿฌ๋‹ ํ”„๋ ˆ์ž„์›Œํฌ)์— ๋Œ€ํ•œ dar.. 2022. 3. 23.
darknet_YOLOv4 https://github.com/AlexeyAB/darknet GitHub - AlexeyAB/darknet: YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Da YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet ) - GitHub - AlexeyAB/darknet: YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object ... github.com https://lapina.tistor.. 2022. 3. 23.
728x90
๋ฐ˜์‘ํ˜•