Was helping out a friend with some #NodeJs code, ended up creating a #npm package.
It uses #OpenCv to detect faces from an image and crops the faces out.
One of the use cases of this package can be creating thumbnails/previews showing just the faces from the original picture.
P.S. - The pre-release version is out now. More enhancements coming soon.
https://www.npmjs.com/package/opencv-facecrop
#npmPackage #javascript
#foss #opensource #opensourceContributions
