Code Monkey home page Code Monkey logo

pytorch-image-quality-param-ctrl's Introduction

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

  • Ubuntu 14.04
  • usb camera (must support 640 * 480 resolution)
  • python3.6
  • PyTorch
  • GPU
  • LIVE In the Wild Image Quality Challenge Database (ChallengeDB_release, it must locate in: pytorch-image-quality-param-ctrl/deepbiq/ChallengeDB_release)
  • if you want ppo to search good image quality param, you should add more sample to ChallengeDB_release, for example: very dark, very bright, very saturated images and so on to train DeepBIQ model

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

pytorch-image-quality-param-ctrl's People

Contributors

zhl2007 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.