Image Topic Recorder that preservate frame interval in python
You don't have to worry about the awkwardness of video recording caused by the jagged spacing (processing time, communication time, etc.) between the input video frame and the input topic. The time is automatically calculated and always a real-time video is created.
As you can see from the video below, it can be seen that the video does not accelerate and maintains real-time even though the interval between input topics has increased by running the AI model.
Project001.mp4
cd catkin_ws/src
git clone https://github.com/jellyho/Image_topic_recorder-ros1
cd ..
catkin_make
source devel/setup.bash
roslaunch recorder record.launch topic:="/image_topic_name" fps:=24 decoding:="bgr8"