We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
import cyffld2 from PIL import Image import numpy as np if __name__ == "__main__": for i in range(10): path = 'images/out' + str(i+1) + '.jpg' image = np.array(Image.open(path)) results = cyffld2.detect_frontal_faces(image, threshold=2.) print(type(results)) print(results) print('Found {} faces'.format(len(results)))
results is a list of cyffld2._ffld2.FFLDDetection objects. How can I convert those objects to np array to display the face?
results
cyffld2._ffld2.FFLDDetection
The text was updated successfully, but these errors were encountered:
No branches or pull requests
results
is a list ofcyffld2._ffld2.FFLDDetection
objects. How can I convert those objects to np array to display the face?The text was updated successfully, but these errors were encountered: