OxRAMSociety / RobotArm

Public repository for all resources related to the OxRAM Robot Arm project.
https://www.oxramsociety.org/
MIT License
15 stars 7 forks source link

Define Piece Position using YOLO and Aruco Markers #2

Open JELAshford opened 3 years ago

JELAshford commented 3 years ago

Description

Localising the 3D location of the chess pieces on/off the board requires identifying the piece in the camera frame, and converting that 2D position into the 3D relative coordinates. We believe that this can be done by using known positions from Aruco Markers placed around the board.

Details

Ensure that distances between Aruco markers are measured in the units used by RViz. Match the length-scales of our Computer Vision and Motion Planning systems.

Roadmap

dyamon commented 3 years ago

Following OpenCV and this (rather outdated) tutorial we were able to perform a calibration of the camera computing intrinsic, extrinsic and distortion parameters of the camera in use.

calib

Calibration is performed using a grid of know size and the resulting parameters can be computed once and stored for future use.

Once the camera is calibrated we can interact with the camera feed and introduce some augmented reality features.

cube