You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure this is the right place to discuss this, just say the word and I’ll open a new issue.
I tried installing node-opencv to enable face recognition in smartcrop.js without success. The package seems to be unmaintained and there’s apparently noway to get it working on macOS.
opencv4nodejs does exactly the same thing as node-opencv (providing Node.js bindings to OpenCV and OpenCV-contrib) but is actively maintained, has great docs and uses version 3 of OpenCV. It looks great.
Is there any chance to drop node-opencv in favor of opencv4nodejs as a dependency for face recognition in smartcrop.js (specifically for smartcrop-cli)? As it stands, there is sadly no way to get face recognition working in smartcrop.js, at least on macOS. I tried everything and I’m out of ideas.
It's definitely an option. If possible I'd prefer to ship with something that is pure javascript so it works out of the box. https://github.com/justadudewhohacks/face-api.js seems to be another possibility.
The problem is that right now I don't have time to do this but if you want to give it a shot, go ahead!
I’d love to give it a try but sadly I don’t have time either at the moment. The good news is that I managed to get node-opencv working on macOS, so now I have a fully functional smartcrop.js on my machine, complete with face recognition :)
Will probably be much easier for users to install, probably quite a bit slower. Likely an acceptable trade-off for smartcrop-cli.
The text was updated successfully, but these errors were encountered: