smartcrop.js | Content aware image cropping | Computer Vision library
kandi X-RAY | smartcrop.js Summary
kandi X-RAY | smartcrop.js Summary
Smartcrop.js works using fairly dumb image processing. In short:.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of smartcrop.js
smartcrop.js Key Features
smartcrop.js Examples and Code Snippets
Community Discussions
Trending Discussions on smartcrop.js
QUESTION
I'm looking for an automatic croppping tool for ImageViews in Android, that would crop the image in ImageView in runtime in a content-aware way. This is also called Smart Crop or something. Here is an example for Javascript.
Is there a similar library with those smart crop algorythms implemented for Android ImageViews? The idea of how it should work:
- Getting the actual width-height of ImageView on the screen of the device in runtime.
- Smart-cropping of the original image (or setting the positioning of the image, as if it's in the background) in a content-aware way (like, center on faces)
ANSWER
Answered 2017-May-11 at 07:41If you are using picasso (glide or fresco). This library crop images detecting faces supported on google's vision service
https://github.com/aryarohit07/PicassoFaceDetectionTransformation
Edit:
There is a library based on smartcrop.js here (smartcrop-android).
I haven't used already, but looikng to the example times. I kind of lower. A plus, it supports Rx.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install smartcrop.js
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page