All Projects → weclaw1 → Inbac

weclaw1 / Inbac

Licence: mit
Python application for fast interactive image cropping

Programming Languages

python
139335 projects - #7 most used programming language
python3
1442 projects

Projects that are alternatives of or similar to Inbac

Svelte Easy Crop
A Svelte component to crop images with easy interactions
Stars: ✭ 80 (-60.78%)
Mutual labels:  image-manipulation, cropping
React Easy Crop
A React component to crop images/videos with easy interactions
Stars: ✭ 1,093 (+435.78%)
Mutual labels:  image-manipulation, cropping
Oneshottranslation
Pytorch implementation of "One-Shot Unsupervised Cross Domain Translation" NIPS 2018
Stars: ✭ 135 (-33.82%)
Mutual labels:  image-manipulation
Pycloudinary
Python package for cloudinary
Stars: ✭ 189 (-7.35%)
Mutual labels:  image-manipulation
Deep Smile Warp
DeepWarp for Facial Expression Manipulation
Stars: ✭ 153 (-25%)
Mutual labels:  image-manipulation
Avir
High-quality pro image resizing / scaling C++ library, image resize
Stars: ✭ 135 (-33.82%)
Mutual labels:  image-manipulation
Php Legofy
Transform your images as if they were made out of LEGO bricks.
Stars: ✭ 161 (-21.08%)
Mutual labels:  image-manipulation
Image Focus
A dependency free utility for cropping images based on a focus point ~2.13kB gzipped
Stars: ✭ 134 (-34.31%)
Mutual labels:  cropping
Pixelsdk
The modern photo and video editor for your iPhone / iPad app. A fully customizable image & video editing iOS Swift framework.
Stars: ✭ 192 (-5.88%)
Mutual labels:  cropping
Wallgen
Generate HQ poly wallpapers
Stars: ✭ 153 (-25%)
Mutual labels:  image-manipulation
Deep white balance
Reference code for the paper: Deep White-Balance Editing, CVPR 2020 (Oral). Our method is a deep learning multi-task framework for white-balance editing.
Stars: ✭ 184 (-9.8%)
Mutual labels:  image-manipulation
Genegan
GeneGAN: Learning Object Transfiguration and Attribute Subspace from Unpaired Data
Stars: ✭ 142 (-30.39%)
Mutual labels:  image-manipulation
Focal Frequency Loss
Focal Frequency Loss for Generative Models
Stars: ✭ 141 (-30.88%)
Mutual labels:  image-manipulation
Alcameraviewcontroller
A camera view controller with custom image picker and image cropping.
Stars: ✭ 2,023 (+891.67%)
Mutual labels:  cropping
Gesturegan
[ACM MM 2018 Oral] GestureGAN for Hand Gesture-to-Gesture Translation in the Wild
Stars: ✭ 136 (-33.33%)
Mutual labels:  image-manipulation
Png Pong
An image manipulation library with a very specific set of skills.
Stars: ✭ 190 (-6.86%)
Mutual labels:  image-manipulation
Nuxt Image Loader Module
An image loader module for nuxt.js that allows you to configure image style derivatives.
Stars: ✭ 135 (-33.82%)
Mutual labels:  image-manipulation
Starnet
StarNet
Stars: ✭ 141 (-30.88%)
Mutual labels:  image-manipulation
Deblurgan
Image Deblurring using Generative Adversarial Networks
Stars: ✭ 2,033 (+896.57%)
Mutual labels:  image-manipulation
Voronoi image manipulation
A system independent tool for interactive image manipulation with Voronoi and Delaunay data structures.
Stars: ✭ 196 (-3.92%)
Mutual labels:  image-manipulation

inbac

Donate

Description

inbac is an interactive batch cropper made for quick cropping of images.
I made this program because cropping thousands of images with image viewers or image manipulation programs was too slow.

Installation

The easiest way to use this application is to download the single file executable created with PyInstaller, which can be found on the releases page.

If you have python installed you can install with pip by typing:

pip install inbac

If you want to use the current master branch you can clone the repository and run the project using poetry.

Development Requirements

After installing above dependencies run poetry install in project directory to install remaining dependencies.

Examples

poetry run inbac /home/user/pictures/
Opens images in /home/user/pictures/ and saves cropped images to /home/user/pictures/crops

poetry run inbac -a 1 1 -r 256 256 /home/user/pictures/ /home/user/crops/
Opens images in /home/user/pictures/ in 1:1 ratio selection mode and saves images resized to 256x256px in /home/user/crops/

Usage

usage: inbac [-h] [-a ASPECT_RATIO ASPECT_RATIO] [-r RESIZE RESIZE]
             [-s SELECTION_BOX_COLOR] [-w WINDOW_SIZE WINDOW_SIZE]
             [-f IMAGE_FORMAT] [-q IMAGE_QUALITY]
             [input_dir] [output_dir]

inbac - interactive batch cropper

Left Mouse Button                 - select part of image

Z                                 - save selection and go to the next picture

X                                 - save selection and stay on the same picture

C                                 - rotate current image by 90 degrees

Hold Left Shift or Left Ctrl      - drag selection

Right Arrow or Right Mouse Button - go to next picture

Left Arrow or Middle Mouse Button - go to previous picture

positional arguments:
  input_dir             input directory (defaults to current working
                        directory)
  output_dir            output directory (defaults to folder crops in input
                        directory)

optional arguments:
  -h, --help            show this help message and exit
  -a ASPECT_RATIO ASPECT_RATIO, --aspect_ratio ASPECT_RATIO ASPECT_RATIO
                        selection should have specified aspect ratio
  -r RESIZE RESIZE, --resize RESIZE RESIZE
                        cropped image will be resized to specified width and
                        height
  -s SELECTION_BOX_COLOR, --selection_box_color SELECTION_BOX_COLOR
                        color of the selection box (default is black)
  -w WINDOW_SIZE WINDOW_SIZE, --window_size WINDOW_SIZE WINDOW_SIZE
                        initial window size (default is 800x600)
  -f IMAGE_FORMAT, --image_format IMAGE_FORMAT
                        define the croped image format
  -q IMAGE_QUALITY, --image_quality IMAGE_QUALITY
                        define the croped image quality
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].