smartcrop-cli icon indicating copy to clipboard operation
smartcrop-cli copied to clipboard

Command line interface for the smartcrop library to provide content aware image cropping.

Results 4 smartcrop-cli issues
Sort by recently updated
recently updated
newest added

node: v7.10.0 npm: v5.0.0 ``` ❯ smartcrop --width 100 --height 100 avatar.jpg Error: Stream yields empty buffer at Socket. (/usr/local/lib/node_modules/smartcrop-cli/node_modules/gm/lib/command.js:57:17) at emitNone (events.js:91:20) at Socket.emit (events.js:188:7) at endReadableNT (_stream_readable.js:975:12) at...

`smartcrop --width 100 --height 400 %1 %~n1_out%~x1` When I run this command on kitty.jpg from the test suite, the output image is 99x400. ![2023-03-19_22-47-36_dopus_crop](https://user-images.githubusercontent.com/8092905/226242059-157630f4-086c-43a0-bcc0-2e4a57171f10.png) I assume this happens because of...

Hi, Face detection with OpenCV is not good for some photos but face-api is working perfectly. Is it possible to use face-api for face detection in smatcrop-cli?

Will probably be much easier for users to install, probably quite a bit slower. Likely an acceptable trade-off for smartcrop-cli.

enhancement