Skip to content

vmouchakis/image-enhancer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image-enhancer

A simple c++ script to upscale an image

Create and activate virtual environment

virtualenv venv
source venv/bin/activate
pip install numpy
// make sure to activate the venv before installing numpy

Clone repos for opencv and opencv_extra_modules

git clone https://github.com/opencv/opencv.git
git clone https://github.com/opencv/opencv_contrib.git

Install opencv

For MacOs

brew install opencv

For Ubuntu

sudo apt update
sudo apt install libopencv-dev

Build from source

See here.

Compile file

Using CMake

chmod u+x compile.sh # run this command only once
./compile.sh

Using g++

g++ -std=c++17 -o out src/main.cpp $(pkg-config --cflags --libs opencv4)
./out

To do

  • use deep learning models to enhance images
  • use techniques like:
    • Sharpening
    • Constrast Enhancement
    • Denoising
    • Super-Resolution
    • HDR Imaging
    • Color Correction

About

A simple c++ script to enhance an image's quality

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published