Skip to content

Where should I Put detection: DetectionService = compre_face.init_face_detection(DETECTION_API_KEY) in Flask? #830

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

You must be logged in to vote

It's better to init CompreFace in one place once and then use those objects everywhere you need them.

Replies: 1 comment

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