How rakibsheikh3337-hue/vision-based-robotic-manipulation-using-yolov8-and-mujoco works
This repository is an end-to-end vision-based robotic pick-and-place project. Its main workflow prepares object imagery and synthetic labeled scenes, trains a YOLOv8 detector, then runs a MuJoCo arm simulation that detects and localizes objects before planning, executing, and verifying pick-and-place actions. Additional documented capabilities include multi-camera localization, stereo triangulation, a ground-truth fallback, and experiment logging. Some links are supported by the README rather than sampled call sites; unsampled implementation details are not inferred.
Main entry points: yolo_perception.py Detection and localization · so101_pickplace_fixed.py Pick-place controller · generate_dataset.py Synthetic scene generator · convert_images.py Image preparation
Components 15
Synthetic Data
- Image preparation
01_synthetic_dataset/convert_images.py - Synthetic scene generator
01_synthetic_dataset/generate_dataset.py - Labeled dataset
01_synthetic_dataset
Detector Training
- YOLOv8 training and validation
02_yolov8_training/train.py - Trained weights
02_yolov8_training/runs/detect/runs/train/yolov8_cpu_run/weights/best.pt - Robot detector weights
03_mujoco_arm_robot/models/best.pt
Perception
- Detection and localization
03_mujoco_arm_robot/yolo_perception.py - Camera projection and stereo
03_mujoco_arm_robot/yolo_perception.py - Ground-truth fallback
03_mujoco_arm_robot/yolo_perception.py
Simulation and Manipulation
- MuJoCo arm and cameras
03_mujoco_arm_robot/so101_6dof_yolo.xml - Pick-place controller
03_mujoco_arm_robot/so101_pickplace_fixed.py - Grasp and place execution
03_mujoco_arm_robot/so101_pickplace_fixed.py - Placement verification
03_mujoco_arm_robot/so101_pickplace_fixed.py - Experiment results and logs
04_results
Other components
- Project operator
Connections 19
- Project operator → Image preparation: prepares imagery
01_synthetic_dataset/convert_images.py - Project operator → Synthetic scene generator: generates scenes
README.md - Image preparation → Synthetic scene generator: prepares object images
- Synthetic scene generator → Labeled dataset: writes labeled scenes
README.md - Labeled dataset → YOLOv8 training and validation: trains on
README.md - YOLOv8 training and validation → Trained weights: produces weights
README.md - Trained weights → Robot detector weights: supplied as detector
README.md - Project operator → Pick-place controller: runs simulation
README.md - Pick-place controller → MuJoCo arm and cameras: loads model
03_mujoco_arm_robot/so101_pickplace_fixed.py - Pick-place controller → Detection and localization: calls perception
03_mujoco_arm_robot/so101_pickplace_fixed.py - Detection and localization → Pick-place controller: uses object variants
03_mujoco_arm_robot/yolo_perception.py - Robot detector weights → Detection and localization: initializes detector
README.md - Detection and localization → Camera projection and stereo: projects detections
03_mujoco_arm_robot/yolo_perception.py - Camera projection and stereo → Ground-truth fallback: falls back when unresolved
03_mujoco_arm_robot/yolo_perception.py - Detection and localization → Pick-place controller: provides world objects
03_mujoco_arm_robot/so101_pickplace_fixed.py - Pick-place controller → Grasp and place execution: plans and executes
README.md - Grasp and place execution → Placement verification: checks placement
03_mujoco_arm_robot/so101_pickplace_fixed.py - Placement verification → Experiment results and logs: logs outcomes
03_mujoco_arm_robot/so101_pickplace_fixed.py - Detection and localization → Experiment results and logs: saves detection outputs
README.md