Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using frames instead of cropped_faces #3

Open
PyxAI opened this issue Apr 23, 2020 · 1 comment
Open

Using frames instead of cropped_faces #3

PyxAI opened this issue Apr 23, 2020 · 1 comment

Comments

@PyxAI
Copy link

PyxAI commented Apr 23, 2020

Any reason why not use cropped_faces in face_detector.py?
There seem to only save the frame and not the cropped image itself.

@franroldans
Copy link
Collaborator

Hi,

So sorry for the very delayed response. Are you still having this issue? If so, which python and opencv versions are you using?

That shouldn't happen as in line 158 cropped faces are saved:

cv2.imwrite(os.path.join(cropped_faces_path, 'cropped_face_frame_' + str(idx) + '.jpg'), cropped_face)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants