Home

Awesome

pytorch-image-quality-param-ctrl

PyTorch implementation of

Contributions

Contributions are very welcome. If you know how to make this code better, don't hesitate to send a pull request.

Requirements

warning

you should save your usb camera default quality param

v4l2-ctl --get-ctrl brightness
v4l2-ctl --get-ctrl contrast
v4l2-ctl --get-ctrl saturation
v4l2-ctl --get-ctrl sharpness

maybe you have to install v4l2-ctl

sudo apt-get install v4l2-ctl

Training DeepBIQ

cd deepbiq/
sh train.sh

use ppo to Search Image Quality Param

cd ppo/
sh search.sh

if occurred error like:set brightness=106 failed:Input/output error ; you have to power up again usb camera