No version for distro humble. Known supported distros are highlighted in the buttons above.
No version for distro jazzy. Known supported distros are highlighted in the buttons above.
No version for distro kilted. Known supported distros are highlighted in the buttons above.
No version for distro rolling. Known supported distros are highlighted in the buttons above.
Repository Summary
Description | |
Checkout URI | https://github.com/shilpaj1994/turtlesim-sketch.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2020-10-02 |
Dev Status | UNKNOWN |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Packages
Name | Version |
---|---|
dynamic_reconfigure | 1.7.1 |
image_thresholding | 0.0.0 |
sketch | 0.0.0 |
README
Project: Turtle-Sketch
Overview
- In this project, the image on the left is taken as input and the image on the right is obtained as output by using turtlesim
-
The image on the left can be selected using it’s path as well as can be directly taken from the camera
-
The below videos show the project in action
Click on the below animations for full video
Using an image
Using webcam
Concepts Used
Following are the concepts used for this project:
-
Dynamic reconfigure
- To import the image using path
- To import the image using camera
- To set thresholds for Canny edge detection
-
ROS parameters
- To set the values of threshold parameters
- To fetch the values of threshold parameters
-
ROS services
- To spawn the turtles
- To teleport the turtle
- To set the status of a pen as - ON/OFF
- To remove the turtles after sketch is completed
-
OpenCV
- To import image
- To find the edges using Canny edge detection
- To find the contours
-
Multi-processing
- To spawn an army of turtles to draw the sketch
Directory Structure
- The directory contains 3 packages:
sketch
dynamic reconfigure
image_thresholding
- Sketch directory structure
├── CMakeLists.txt
├── docs # Supported files for documentation
│ ├── Contours.png
│ ├── done.png
│ ├── dynamic reconfigure.png
│ ├── edges.png
│ ├── Output.png
│ ├── rosgraph.png
│ ├── test.png
│ └── turtles.png
├── include
│ └── sketch
├── launch # Launch Files
│ └── sketcher.launch
├── package.xml
├── README.md
├── nodes # ROS Nodes
│ ├── ironman.jpeg
│ ├── sketcher.py
│ └── Turtle.py
└── TODO.md # TO DO for next version
- Image_thresholding directory structure
``` . ├── cfg # Configuration file for GUI │ ├── import.cfg # GUI params related to image import
File truncated at 100 lines see the full file
CONTRIBUTING
No version for distro galactic. Known supported distros are highlighted in the buttons above.
No version for distro iron. Known supported distros are highlighted in the buttons above.
No version for distro melodic. Known supported distros are highlighted in the buttons above.
No version for distro noetic. Known supported distros are highlighted in the buttons above.