← all repositories

pqpo/SmartCropper

An Android image cropping library that uses a TensorFlow HED neural network to detect document borders and correct perspective.

4.1k stars Java Computer Vision
SmartCropper
Velocity · 7d
+1.3
★ / day
Trend
steady
star history

SmartCropper is an image cropping library for Android that automatically identifies borders in photos of documents, ID cards, and business cards. It employs a Holistically-Nested Edge Detection (HED) network implemented with TensorFlow to replace traditional Canny edge detection, improving border recognition accuracy. The library uses OpenCV for perspective transformation to crop and correct skewed documents, providing manual adjustment controls with magnification for fine-tuning selection areas.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.