Skip to content
This repository has been archived by the owner on Sep 19, 2021. It is now read-only.

IDEA: select position of a face, install smartcrop #13

Open
mshd opened this issue Sep 14, 2020 · 3 comments
Open

IDEA: select position of a face, install smartcrop #13

mshd opened this issue Sep 14, 2020 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@mshd
Copy link
Collaborator

mshd commented Sep 14, 2020

The photo should ideally be square, if it's not it might make sense to select position of the face, is there an easy way to do it? A plugin (possibly with a GUI)
Option one, select square positon: top, left, right, bottom
Option two, enter coordinates of face.
This will be used to create square thumbnails.

@mshd mshd added the enhancement New feature or request label Sep 14, 2020
@mshd mshd changed the title IDEA: select position of a face IDEA: select position of a face, install smartcrop Sep 15, 2020
@mshd mshd self-assigned this Sep 15, 2020
mshd added a commit that referenced this issue Sep 15, 2020
@mshd
Copy link
Collaborator Author

mshd commented Sep 15, 2020

SmartCrop was quite easy to implement.
However I do want some face/head cropping
justadudewhohacks/face-api.js#659
justadudewhohacks/face-api.js#510
justadudewhohacks/face-api.js#498

@mshd
Copy link
Collaborator Author

mshd commented Sep 15, 2020

Idea to consider: Send face coordinates + width, height in JSON response.

arghyadeep-k added a commit that referenced this issue Sep 26, 2020
@arghyadeep-k
Copy link
Collaborator

arghyadeep-k commented Sep 26, 2020

Face cropped and thumbnail created in desired folder using opencv-facecrop package.
Commit: 14ac870
See: https://github.com/arghyadeep-k/opencv-facecrop

mshd added a commit that referenced this issue Sep 29, 2020
mshd added a commit that referenced this issue Sep 29, 2020
mshd added a commit that referenced this issue Oct 6, 2020
mshd added a commit that referenced this issue Oct 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants