Skip to content

bonGirono/upscale-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About The Project

Simple image upscale algorythm on python

Built With

Python

FastApi

Pillow

OpenCV

Redis

Celery

Requirements

Install ffmpeg, libsm6, libxext6 on your system OR use docker-compose

Installation

Instruction

  1. Clone the repo
    git clone https://github.com/bonGirono/upscale-service.git
    cd upscale-service
  2. Run with docker-compose OR follow the steps below
    cp .env.example.docker_compose ./app/.env
    docker-compose up --build -d
  3. Install python 3.11 from official site or with package manager on your os
  4. Install redis from official site or with package manager on your os and up service
    • on linux with systemctl
    sudo systemctl start redis.service
  5. Install requirements
    cp .env.example ./app/.env
    cd app
    pip install -U pip
    pip install -r requirements.txt
  6. Already run
    python main.py
    celery -A worker.celery worker --loglevel=info
    celery --broker=redis:https://redis:6379/0 flower --port=5555

Roadmap

  • Endpoint for upload image or video
  • Upscale image

Results

  • Original 1000 x 600 input.png
  • Up scale 2x 2000 x 1200 output2x.png
  • Up scale 8x 8000 x 4800 output8x.png

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages