Skip to content

SMAminNP/April_tag_part_detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

April_tag_part_detection

ROS Package for Object Detection Using AprilTags and YOLO v8

This ROS package utilizes AprilTags and YOLO v8 for robust object detection and TF (Transform) publishing. It is designed to work seamlessly within the ROS ecosystem, providing accurate detection and localization of objects in a robotic environment.

Features

  • AprilTags Detection: Detect and identify AprilTags in the environment.
  • YOLO v8 Object Detection: Leverage the power of YOLO v8 for detecting an specific screw in a part.
  • TF Publishing: Publish transformations for detected objects, enabling easy integration with other ROS components.

Prerequisites

Before using this package, ensure you have the following dependencies installed:

Installation

  1. Clone the repository into your ROS workspace:

    cd ~/catkin_ws/src
    git clone https://github.com/SMAminNabipour/April_tag_part_detection.git
  2. Install the required dependencies:

    cd ~/catkin_ws
    rosdep install --from-paths src --ignore-src -r -y
  3. Build the package:

    catkin_make
    source devel/setup.bash

Usage

Launch the part_detection node:

```bash
roslaunch part_detection part_tracker.launch
```

Nodes

apriltags_detection_node

Subscribed Topics:

  • /camera/image_raw (sensor_msgs/Image): Input image stream from a camera.

Published Topics:

  • /apriltags/detections (apriltags_ros/AprilTagDetectionArray): Detected AprilTags.

yolo_v8_detection_node

Subscribed Topics:

  • /camera/image_raw (sensor_msgs/Image): Input image stream from a camera.

Published Topics:

  • /yolo/detections (your_package_name/Detections): Detected objects.

tf_publisher_node

Subscribed Topics:

  • /apriltags/detections (apriltags_ros/AprilTagDetectionArray): Detected AprilTags.
  • /yolo/detections (your_package_name/Detections): Detected objects.

Published TFs:

  • /tf (tf/tfMessage): Transforms for detected objects.

Configuration

Configuration files are located in the config directory. You can adjust parameters such as camera calibration, detection thresholds, and TF settings in these files.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request with your changes.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements

Contact

For questions or support, please open an issue or contact Amin Nabipour.

About

ROS Package for Object Detection Using AprilTags and YOLO v8

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published