Minminminwoo/Real-Time-Flying-Object-Detection
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
Repository files navigation
Real-Time Flying Object Detection with YOLOv8 ----------------------------------------------------------------------------------- This repository is based on the implementation of a real-time flying object detection system using YOLOv8. It combines the execution of the associated GitHub files and the insights derived from the paper "Real-Time Flying Object Detection with YOLOv8." Below, we provide details on the methodology, dataset, and step-by-step usage instructions. Paper and GitHub Repository YOLOv8 GitHub Repository https://github.com/ultralytics/ultralytics?tab=readme-ov-file https://github.com/dillonreis/Real-Time-Flying-Object-Detection_with_YOLOv8 [Submitted on 17 May 2023 (v1), last revised 22 May 2024 (this version, v2)] Real-Time Flying Object Detection with YOLOv8 Dillon Reis, Jordan Kupec, Jacqueline Hong, Ahmad Daoudi https://arxiv.org/abs/2305.09972v2 This project involves testing the GitHub files and summarizing the key methodologies and findings from the paper. ----------------------------------------------------------------------------------- Dataset The dataset used for this project is "drone-detection-new," provided by Roboflow. It includes various images of drones captured in diverse conditions. Dataset URL drone-detection-new Computer Vision Project https://universe.roboflow.com/ahmedmohsen/drone-detection-new-peksv Dataset Key Features Diverse Conditions: Data captured under varying lighting and weather conditions. Variety of Objects: Includes flying objects of different sizes and types. ----------------------------------------------------------------------------------- Key Contributions of the Paper Generalized Real-Time Model: Trained on a dataset with 40 flying object categories to extract abstract representations. Fine-tuned through transfer learning to adapt to real-world scenarios. YOLOv8 Advantages: Improved accuracy and speed over previous YOLO models. Utilization of advanced architectures such as FPN and PAN for robust detection. Soft-NMS for better handling of overlapping objects in cluttered scenes. ----------------------------------------------------------------------------------- Prerequisites Python environment: Confirm Python installation. CUDA Toolkit: Install the version compatible with your hardware and system (e.g., CUDA 11.8). PyTorch: Install a version that supports your CUDA setup (e.g., PyTorch 2.5.1). Installation 1.Install Required Libraries: Use the command line to manually install the dependencies. pip install torch torchvision opencv-python 2.Set Up CUDA: Visit the NVIDIA CUDA Toolkit website and download the version matching your system. Verify the setup by running: torch.cuda.is_available() 3.Prepare Source Files: Update the file paths in the code to point to your video or dataset: source = r"D:\Real-Time-Flying-Object-Detection_with_YOLOv8-main\Project Example Video\dji mini.mp4" Execution Run Flying Object Detection.ipynb and check the "Ensure GPU available" step for successful GPU detection. Processed video outputs will be saved in the results folder (predict1, predict2, ...). ----------------------------------------------------------------------------------- Korean ์ด ์ ์ฅ์๋ YOLOv8์ ๊ธฐ๋ฐ์ผ๋ก ๋๋ก , ํญ๊ณต๊ธฐ, ์์ ๊ฐ์ ๋นํ์ฒด๋ฅผ ์ค์๊ฐ์ผ๋ก ํ์งํ๋ ์์คํ ์ ์คํ์์ค ๊ตฌํ์ ์คํํ ๊ฒฐ๊ณผ๋ฅผ ๋ด๊ณ ์์ต๋๋ค. ๋ํ, ๋ ผ๋ฌธ "YOLOv8๋ฅผ ํ์ฉํ ์ค์๊ฐ ๋นํ์ฒด ํ์ง"์ ์ฃผ์ ๋ด์ฉ์ ์ ๋ฆฌํ์์ต๋๋ค. ๋ ผ๋ฌธ(pdf)๊ณผ ๋ ผ๋ฌธ์ ์ ๋ชฉ [Submitted on 17 May 2023 (v1), last revised 22 May 2024 (this version, v2)] Real-Time Flying Object Detection with YOLOv8 Dillon Reis, Jordan Kupec, Jacqueline Hong, Ahmad Daoudi https://arxiv.org/abs/2305.09972v2 ๊นํ๋ธ ๋งํฌ https://github.com/ultralytics/ultralytics?tab=readme-ov-file https://github.com/dillonreis/Real-Time-Flying-Object-Detection_with_YOLOv8 ----------------------------------------------------------------------------------- ์ฌ์ฉํ๊ณ ์ ํ๋ dataset drone-detection-new Computer Vision Project https://universe.roboflow.com/ahmedmohsen/drone-detection-new-peksv ์ฃผ์ ํน์ง ํ๊ฒฝ ๋ค์์ฑ: ๋ค์ํ ์กฐ๋ช ๋ฐ ๋ ์จ ์กฐ๊ฑด์์ ์ดฌ์๋ ๋ฐ์ดํฐ ํฌํจ. ๊ฐ์ฒด ๋ค์์ฑ: ํฌ๊ธฐ์ ์ข ๋ฅ๊ฐ ์๋ก ๋ค๋ฅธ ๋นํ์ฒด๋ฅผ ํฌํจ. ----------------------------------------------------------------------------------- ๋ ผ๋ฌธ ์ฃผ์ ๋ด์ฉ 1.์ผ๋ฐํ๋ ์ค์๊ฐ ๋ชจ๋ธ 40๊ฐ์ง ๋นํ์ฒด ์นดํ ๊ณ ๋ฆฌ์ ๋ํ ํ์ต์ผ๋ก ์ถ์์ ํน์ง ํํ. ์ ์ด ํ์ต์ ํตํด ์ค์ธ๊ณ ์๋๋ฆฌ์ค์ ์ ํฉํ ์ ๋ฐ ๋ชจ๋ธ ์์ฑ. 2.YOLOv8 ์ฅ์ ์ด์ YOLO ๋ชจ๋ธ ๋๋น ํฅ์๋ ์ ํ๋ ๋ฐ ์๋. FPN, PAN ๋ฑ์ ์ํคํ ์ฒ๋ฅผ ์ฌ์ฉํ์ฌ ๋ค์ํ ํฌ๊ธฐ์ ๊ฐ์ฒด๋ฅผ ํ์ง ๊ฐ๋ฅ. Soft-NMS๋ฅผ ํตํ ์ค์ฒฉ ๊ฐ์ฒด ์ฒ๋ฆฌ ๋ฅ๋ ฅ ๊ฐ์ . ----------------------------------------------------------------------------------- ์ฌ์ ์ค๋น Python ํ๊ฒฝ: Python ์ค์น ํ์ธ. CUDA Toolkit: ์์คํ ๋ฐ ํ๋์จ์ด์ ๋ง๋ ๋ฒ์ ์ค์น (์: CUDA 11.8). PyTorch: CUDA ์ค์ ์ ๋ง๋ ๋ฒ์ ์ค์น (์: PyTorch 2.5.1). ์ค์น 1.ํ์ ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์ค์น ๋ช ๋ น์ด๋ฅผ ์ฌ์ฉํ์ฌ ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์๋ ์ค์น. pip install torch torchvision opencv-python 2.CUDA ์ค์ NVIDIA CUDA Toolkit ์น์ฌ์ดํธ์์ ์์คํ ์ ๋ง๋ ๋ฒ์ ๋ค์ด๋ก๋. torch.cuda.is_available() 3.์์ค ํ์ผ ์ค๋น ๊ฒฝ๋ก๋ฅผ ์คํ ํ๊ฒฝ์ ๋ง๊ฒ ์์ source = r"D:\Real-Time-Flying-Object-Detection_with_YOLOv8-main\Project Example Video\dji mini.mp4" ์คํ ๋ฐฉ๋ฒ Flying Object Detection.ipynb ํ์ผ์ ์คํํ๊ณ GPU ์ค์ ํ์ธ ๋จ๊ณ๋ฅผ ํตํด ์ ์ ์๋ ํ์ธ. ์ฒ๋ฆฌ๋ ๊ฒฐ๊ณผ ์์์ ๊ฒฐ๊ณผ ํด๋(predict1, predict2, ...)์์ ํ์ธ ๊ฐ๋ฅ.