|
# Image Processing TBD
|
|
# Introduction
|
|
|
|
|
|
|
|
Package to process the [Aruco Marker](Hardware/Aruco Markers) and create a Transform Message (Translation and Rotation Vector).
|
|
|
|
|
|
|
|
Things to be done:
|
|
|
|
|
|
|
|
- [ ] Discuss, how tvec and rved are calculated in case of detecting multiple markers and find faulty ones
|
|
|
|
- [ ] What to publish in case of not finding an image? Using service-client instead?
|
|
|
|
|
|
|
|
# Image Processing Package Installation Requirements
|
|
|
|
|
|
`sudo apt install python3-opencv`
|
|
`sudo apt install python3-opencv`
|
|
|
|
|
|
|
|
More at
|
|
|
|
|
|
http://wiki.ros.org/vision_opencv
|
|
http://wiki.ros.org/vision_opencv
|
|
|
|
|
|
|
|
Basic Python example
|
|
|
|
|
|
https://answers.ros.org/question/321501/subscriber-python-camerainfo-and-image/
|
|
https://answers.ros.org/question/321501/subscriber-python-camerainfo-and-image/
|
|
|
|
|
|
|
|
|
... | @@ -31,6 +43,6 @@ msg.rotational.x |
... | @@ -31,6 +43,6 @@ msg.rotational.x |
|
# See link above for more details
|
|
# See link above for more details
|
|
```
|
|
```
|
|
|
|
|
|
|
|
Calculation
|
|
|
|
|
|
https://computergraphics.stackexchange.com/questions/8195/how-to-convert-euler-angles-to-quaternions-and-get-the-same-euler-angles-back-fr |
|
https://computergraphics.stackexchange.com/questions/8195/how-to-convert-euler-angles-to-quaternions-and-get-the-same-euler-angles-back-fr |
|
|
|
\ No newline at end of file |