pqpo/smartcropper

🔥 A library for cropping image in a smart way that can identify the border and correct the cropped image....

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 16 minutes ago
Added to GitGenius on September 16th, 2026
Created on August 3rd, 2017
Open Issues & Pull Requests: 38 (+0)
GitHub issues: Enabled
Number of forks: 756
Total Stargazers: 4,134 (+0)
Total Subscribers: 93 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 12.9 days
Mean response time: 27.2 days
90th percentile: 41.6 days
Tracked items: 2

Most active contributors

Sign in to see contributor activity.

Related repositories by overlapping contributors

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 5
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 388 days
Stale 30+ days: 5
Stale 90+ days: 5

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

SmartCropper is an image cropping library that automatically detects borders and applies perspective correction to cropped regions.

The tool addresses the problem of capturing clean, properly-aligned photos of documents, identity cards, business cards, and similar flat objects. It works by automatically identifying the borders of the subject in an image, allowing manual adjustment of the crop region, and then applying perspective transformation to correct the cropped area so it appears straight-on regardless of the camera angle.

SmartCropper suits projects that need to process photos of documents or cards where users capture images at arbitrary angles. It is particularly valuable in applications handling identity verification, document scanning, or business card digitization, where the input images are typically smartphone photos taken in uncontrolled conditions. The library handles the common case where a user photographs a flat object from an angle, and the tool must both identify what to crop and correct the perspective distortion in a single operation.

The project shows active maintenance with regular updates addressing issues and improvements. Development includes responsiveness to user-reported problems and incorporation of feedback into the codebase. The tool continues to receive refinements that enhance its border detection and perspective correction capabilities.