-
Notifications
You must be signed in to change notification settings - Fork 0
hoffmannkrzysztof/solr-facerecognition
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Solr-facerecognition module for Solr thumbnail This module is trying to find a face on given picture and then crop to this face. If it will fail, the default crop will be used. Installation: pip install -e git://https://github.com/hoffmannkrzysztof/solr-facerecognition.git#egg=solr_facerecognition Required: * django * solr-thumbnail * cv2 ( opencv2 ) - python binding Using: 1. Override `THUMBNAIL_ENGINE` variable in settings.py and set: `solr_facerecognition.engines.FaceRecognitionEngine` 2. Use a template tag from solr-thumbnail `{% thumbnail %}` by adding a `facerecognition=1` eg. `{% thumbnail movie.image "100x100" crop="top" facerecognition=1 as im %}`
About
sorl-facerecognition offers engine for sorl-thumbnail, which crop image to face
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published