https://github.com/srukshan98/smartimagecropper
Smart Image Cropper
https://github.com/srukshan98/smartimagecropper
image-processing imagemagick
Last synced: 18 days ago
JSON representation
Smart Image Cropper
- Host: GitHub
- URL: https://github.com/srukshan98/smartimagecropper
- Owner: srukshan98
- License: gpl-3.0
- Created: 2019-02-14T17:08:50.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-31T10:14:16.000Z (almost 7 years ago)
- Last Synced: 2025-01-16T07:16:26.693Z (over 1 year ago)
- Topics: image-processing, imagemagick
- Language: Python
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SmartImageCropper
Smart Image Cropper
## Introduction
I have done this project to crop image backgrounds. It will identify all the images in the given folder and Crop them.
## What External Libraries it use
It uses numpy Library
## How does it work
* It identifies all the files in the given directory using a function in OS library.
* Then It will Iterate Through All Files
* First It will make a grayscale copy of the image and then it will find the Background Color of it.
* Then it will try to crop the image by finding the by finding the first point from all for sides where the background ends.