Skip to content

ei-grad/imbench

Repository files navigation

Python image decoding benchmark

Example

Use docker to run the pre-built image on your images set:

docker run -it --rm -v /path/to/images/:/images -e IMAGES_PATTERN="/images/*" eigrad/imbench

You can optinally rebuild the image:

git clone https://github.com/ei-grad/imbench.git
cd imbench
docker build -t eigrad/imbench .

Or install requirements and check the performance in your local Python environment:

git clone https://github.com/ei-grad/imbench.git
cd imbench
pip install -r requirements.txt
pytest imbench.py

Optional pyvips

apt install libvips-dev
pip install pyvips

Credits

Thanks to @ternaus for the idea and initial test implementations: https://github.com/ternaus/imread_benchmark

About

Python image decoding benchmark

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published