Giter Site home page Giter Site logo

image_transport_qoi_playground's Introduction

QOI for image_transport

Lossless image transport comparison.

Test video 560x320 px on Intel® Core™ i7-10875H CPU @ 2.30GHz × 16.

Using JPEG as baseline example.

Compression Algorithm Compression CPU % Decompression CPU % BW HZ
JPEG Quality 80 21 29-31 690KB/s 30
PNG Level 1 59-61 24 5.6MB/s 30
PNG Level 2 59-62 24 5.4MB/s 30
QOI qoixx 27-30 32-35 6.1MB/s 30
QOI 40-50 40-50 6.1MB/s 30

How to run

# Build the docker image
./build.sh
# Run ( needs `sudo apt-get install python3-rocker` from https://github.com/osrf/rocker#debians-recommended )
./run.sh
# and open other shells 
./exec.sh
# Now you can run:
# source /root/catkin_ws/devel/setup.bash && roslaunch video_stream_opencv video_file.launch
# source /root/catkin_ws/devel/setup.bash && rosrun rqt_reconfigure rqt_reconfigure
# source /root/catkin_ws/devel/setup.bash && rosrun rqt_image_view rqt_image_view
# And you can compare via 'top -c' the CPU usage
# the video_stream_opencv process is the 'driver' which compresses the images
# the rqt_image_view (choosing the /videofile/image_raw/compressed topics) will do the uncompression
# with rqt_reconfigure, by choosing video_file > image_raw > compressed, you can change format (and options of the formats)
# to observe the changes in CPU usage

image_transport_qoi_playground's People

Contributors

awesomebytes avatar

Stargazers

Borong Yuan avatar

Watchers

James Cloos avatar  avatar  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.