Skip to content

How can I use detection.detect(file1.read()) to detect file in memory? #829

Answered by pospielov
martinenkoEduard asked this question in Q&A
Discussion options

You must be logged in to vote

This method supports url, local path or bytes as an argument.
You can look at how it is used in the demo, we also send bytes to this method
https://github.com/exadel-inc/compreface-python-sdk/blob/main/webcam_demo/compreface_webcam_detection_demo.py

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by martinenkoEduard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants