KO
|
EN
gitlite — search
Search
#typescript
#ai-agents
#ai
#dsh-plugin
#deepseek-harness
#open-source
#cli
#claude-code
#codex
#developer-tools
#react
#windows
python-smart-crop
★ 41
Open GitHub ↗
Smart crops images uisng OpenCV
Download README (.md)
Explore Similar Repositories
FaceDetector
:
CoreImage之人脸识别OC版
FaceDetect
:
base on face++
facedetect-fpga
:
No description available.
faceboxes-tensorflow
:
a tensorflow implement faceboxes
FaceDetectDemo
:
简单的人脸检测Demo,利用OpenCV实现,无需NDK
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
python-smart-crop
?
Download (.md)
# python-smart-crop Smart crops images uisng OpenCV Uses the algorithms described in https://github.com/thumbor/thumbor/wiki/Detection-algorithms but actually combining both methods. We try to detect faces on the image, then, in any case we detect features. We then combine both results with different weights, so face detection is, in this case 3,33 times stronger than feature detection. ## Installing Requires python-opencv, install the dependency on debian with `apt install python-opencv`. Install the command using PIP: `pip install git+https://github.com/epixelic/python-smart-crop` Tested on Debian 8 and Ubuntu WSL. Usage: `smartcrop -W 1140 -H 400 -i input.jpg -o output.jpg` See `smartcrop --help`