Code Monkey home page Code Monkey logo

calib_image_saver's Introduction

calib_image_saver

A small tool to collect images for calibration. The program will detect the chessboard in the image and save the image with chessboard detected.

Download code

Enter your catkin work space:

cd YOUR_PATH/catkin_ws/src
  
git clone https://github.com/gaowenliang/calib_image_saver.git

Install

cd YOUR_PATH/catkin_ws/

catkin_make

Run

Modify the launch file:

  • /image_input: The image topic name, such as "/pg_17221069/image_raw"
  • image_path: The path to save images, such as "/home/ubuntu/images". You need to make sure the path exist.
  • board_width: Chessboard point size.
  • board_height: Chessboard point size.
<launch>
    <node pkg="calib_image_saver" type="singleImageSaver" name="saver" output="screen">
        <remap from="/image_input" to="YOUR_IMAGE_TOPIC"/>
        <param name="image_path" type="string" value="YOUR_IMAGE_SAVE_PATH"/>
        <param name="image_name" type="string" value="IMG_"/>
        <param name="rate" type="int" value="9"/>
        <param name="board_width" type="int" value="9"/>
        <param name="board_height" type="int" value="6"/>
        <param name="is_use_OpenCV" type="bool" value="true"/>
        <param name="is_show" type="bool" value="true"/>
    </node>
</launch>

Make sure the detected chessboard points (yellow) fully fill the image as dense as possible.

calib_image_saver's People

Contributors

gaowenliang avatar alexacw avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.