This repository contains Python scripts for working with Intel RealSense cameras, designed to streamline image capture and object detection workflows for use with tools like Roboflow.
A simple GUI for capturing images from a RealSense camera.
A GUI for running a trained YOLOv8 .pt model on live RealSense camera input.
-
Clone the repository:
git clone https://github.com/Galaxia5987/realsense-tools -
Make a virtual enviroment and install dependencies:
cd realsense-tools
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt- Run one of the scripts:
python3 image_capture.py
-
Capture Images:
Useimage_capture.pyto collect and save images for training. -
Annotate:
Annotate images using Roboflow. -
Train Model: Train the model using this Kaggle notebook.
-
Run Detection:
Usedetection_gui.pyto load your trained.ptmodel and perform real-time detection from a Realsense camera.
- Make sure your RealSense camera is connected before running the scripts.