Coder Social home page Coder Social logo

p-ranav / photolab Goto Github PK

View Code? Open in Web Editor NEW
156.0 9.0 39.0 63.88 MB

AI-Powered Photo Editor (Python, PyQt6, PyTorch)

License: GNU General Public License v3.0

Python 100.00%
animegan colorization cuda human-segmentation nuitka photo-editor portrait-mode pyqt6 pyqt6-desktop-application python

photolab's Introduction

PhotoLab

Anime Style Interactive Colorization
Portrait Mode Grayscale Background
Super-Resolution
White Balance Correction
Instagram Filters Bezier Curves and Selective Editing
Spot Removal Exposure Adjustment

Quick Start

Download the pretrained models by running the included download script:

foo:bar$ python download_models.py

Start the editor by running:

foo:bar$ python src/main.py

Features

Basic Tools

  • Zoom and Pan
  • Color Picker
  • Rectangle Select
  • Path Select
  • Crop
  • Paint and Erase
  • Exposure and Color Adjustment
  • Histogram Viewer
  • Curve Editor
  • Spot Removal Tool
  • Blur Tool
  • Rotate Left/Right
  • Horizontal/Vertical Stack
  • Horizontal/Vertical Flip
  • Panorama Image Stitching
  • Instagram Filters

AI Tools

  • White Balance Correction
  • Background Removal
  • Human Segmentation
  • Grayscale Background
  • Portrait Mode Background Blur
  • Interactive Colorization
  • Super-Resolution
  • Anime Style

Example Results

Before After

Notes on PyTorch CUDA Support

This project has been testing with torch==1.11.0+cu113 torchvision-0.12.0+cu113

foo:bar$ pip install torch==1.11.0+cu113 torchvision==0.12.0+cu113 -f https://download.pytorch.org/whl/torch_stable.html

foo:bar$ python
Python 3.10.8 (tags/v3.10.8:aaaf517, Oct 11 2022, 16:50:30) [MSC v.1933 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> torch.version.cuda
'11.3'
>>> torch.cuda.is_available()
True

photolab's People

Contributors

p-ranav avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

photolab's Issues

All functions does not work after running

I launched the program, successfully installed all the requirements, but nothing inside works from the panel on the left, and if I insert a picture via cntrl v, the panel disappears

image

image

QToolPortraitMode

can you explain why background from the original image was removed here when it wasn't used throughout the code

Cannot run

How can I run it locally. I installed the required packages in a virtual environment and cant run it. Can you tell me a way to run it without any errors regarding the dependencies

Cannot run

I have no error I imported all modules but the PhotoLab is not working. I see the app but there is no option to add image. Please help.
image

Regarding Collobaration

Hi, I'm Sameer . I'm quite moved by your PhotoLab project and I want to collaborate with your project . My Project is named Photolab (Similar to your project name : ) ) . It is a set of tools in pure image processing . Please do review my project and it would be a great bliss if we could merge our projects . The Project link is https://github.com/bvks2020sameer/Photolab

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.