Skip to content

JAnthem9606/ROS2CV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ ros2cv – Real-Time Computer Vision for ROS 2 Robots! πŸŽ₯πŸ€–

ros2cv is an open-source, modular ROS 2 package written in Python that enables real-time computer vision capabilities using OpenCV, CvZone, and MediaPipe. It's designed for simplicity, performance, and seamless ROS 2 integration.

🧠 No classes required β€” just clean, functional Python nodes for each vision task!


πŸ” Features

This package provides multiple ROS 2 nodes, each performing a specific CV task:

  • βœ… Hand and Finger Detection
  • βœ… Pose Estimation
  • βœ… Face Mesh Landmark Tracking
  • βœ… Classic Face Detection (Haar Cascade)
  • βœ… Object Detection (YOLO-ready)
  • βœ… Camera Publisher & Viewer Nodes

Each node is:

  • 🧡 Lightweight and real-time except (YOLO as it requires GPU and other settings)
  • πŸ”„ Subscribes to /camera/image/compressed
  • πŸ“€ Publishes:
    • Annotated images
    • Processed data (landmarks, positions, etc.)
  • 🧩 Easy to modify or extend

πŸ“– Getting Started

βœ… Prerequisites

  • ROS 2 (Humble or later recommended)
  • Python 3.8+
  • opencv-python, cvzone, mediapipe , 'ultralytics'

Install dependencies:

pip install opencv-python mediapipe cvzone ultralytics

πŸš€ Launch a node

Example:

ros2 run ros2cv face_detection

πŸ’‘ Perfect For

  • Robotics developers
  • CV research prototypes
  • ROS 2 learners
  • Anyone building real-time vision systems

πŸ™Œ Contributing

Pull requests are welcome! Feel free to suggest new modules or features.


πŸ”— Links

⭐️ Star this repo to follow updates and support the project!


πŸ“œ License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages