admin

Simulating A Virtual Camera With OpenCV and Reverse Projection From 2D to 3D

Projection of Points from 3D in the camera plane: Computed rays from the camera origin in the direction of points:

  points are stored in CSV file like this:

The content of “reverse_projection.hpp”

The content of “transformation.hpp“

 

Simulating A Virtual Camera With OpenCV and Reverse Projection From 2D to 3D Read More »

Publishing video file and images with ROS

If you have video/image file on your disk and you want to publish it without coding, you can use the following nodes: image_publisher video_stream_opencv Publishing Images Here are some examples to publish an image:

And more Advanced launch file:

  Publishing Videos

Publishing video file and images with ROS Read More »

How to develop GUI Application with PyQt (python Qt)

There are two main methods for developing GUI application with qt: 1) Adding all widgets in your code (your cpp or python code) 2) Creating qt UI files, adding widgets there and load everything into your application. 1)Adding all widgets in your code Here is the snippet for adding all widgets and their slots in code:

2)

How to develop GUI Application with PyQt (python Qt) Read More »

Adding Qt UI files to your CMake

Qt uses qmake  to generate classes from UI files and compile everything in the project, luckily there are some macros in CMake that allows you to bring everything into your CMake and build everything there, here is what you need to do:

you can find the full project at my Github  

Adding Qt UI files to your CMake Read More »