简体   繁体   中英

What does the .api mean in face_recognition.api.face_locations? - face_recognition package python

Is there a difference between face_recognition.api.face_locations and face_recognition.face_locations . The offical documentation explains the use of the former while many example codes use the latter.

if you are willing to use your face recognition program from a api provider like Microsoft, im not really sure(even tho i used the library quite a lot). In another way if you are planning to do the coding and processing on your computer, .api funtion is kind of useless(you wont need it).

Now if you need more inf check out this example that should help you understant the diffrence between the 2: https://github.com/ageitgey/face_recognition/tree/master/face_recognition

Hope This helped you:)

Feel free to ask any question

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM