RTOD-yv8
RTOD-yv8: Real-Time Object Detection using YOLOv8 & IP Camera on Android
Introduction
Real-Time Object Detection using YOLOv8 (RTOD-yv8) is an innovative project designed for Android users who want to perform real-time object detection using an IP camera. This project sets up a Linux environment inside Termux, allowing users to run YOLOv8 with an easy-to-use interface for live object detection and streaming via a web browser.
👁️🗨️ Practical Implementation Video
Experience the real-time object detection setup and execution:
✨ Key Features
✔ Automatic Installation Script: Download yolov8.sh
(Installs all required dependencies)
✔ Real-Time Detection Script: Download mikey.sh
(Runs YOLOv8 and starts live streaming)
✔ Flask-Based Web Streaming: View detected objects in any web browser
✔ YOLOv8 Model Support: Uses yolov8n.pt
for accurate detection
✔ Runs on Android using Termux & a Linux distribution
Here is GitHub link of this project:
https://github.com/mikey-7x/RTOD-yv8/tree/main
🚀 Installation & Setup Guide
Step 1: Install Termux & Linux Distribution
- Download Termux from F-Droid.
- Install a Linux distribution inside Termux (Ubuntu, Kali, etc.) using
proot-distro
or a manual installation method. - Launch your Linux environment inside Termux.
Step 2: Run the Setup Script
Once inside your Linux OS, open the terminal and execute:
bash yolov8.sh
This script will:
✔ Update & upgrade system packages
✔ Install Python and necessary dependencies
✔ Set up a virtual environment for package management
✔ Download and configure the YOLOv8 model (yolov8n.pt
)
Step 3: Start Real-Time Object Detection
Run the following command:
bash mikey.sh
- The script will prompt for your IP camera stream URL.
- After entering the URL, object detection will begin in real time.
👁️Viewing the Live Detection Output
After starting the detection script, open a web browser and enter:
http://your-ip:5050/video_feed
For example, if your IP camera stream is:
http://10.115.163.241:8080
Then to view detected objects, visit:
http://10.115.163.241:5050/video_feed
Ensure that you enter the correct IP address in the browser.
⚡ Performance Considerations
- Hardware limitations of your Android device can impact detection speed.
- Network speed & latency influence real-time streaming performance.
- The data flow (IP Camera → Linux → Web Browser) may introduce slight delays.
📜 Credits
Developed by mikey-7x 🚀🔥
Comments
Post a Comment