Package: kbyai
1. KBY-AI FaceSDKOverviewThis project demonstrates an advancedface recognition,face liveness-detection,face matchingtechnology implemented via pip install.You can simple plug & play the above multi-functions from Python or from the command line with our KBY-AI pip library.It also includes features that allow for testing face recognition, face anti-spoofing, face matching between two images using both image files and base64-encoded images.Face Liveness DetectionFace RecognitionFace DetectionFace DetectionFace Liveness DetectionFace RecognitionPose EstimationPose Estimation68 points Face Landmark Detection68 points Face Landmark DetectionFace Quality CalculationFace Occlusion DetectionFace Occlusion DetectionFace Occlusion DetectionEye Closure DetectionEye Closure DetectionMouth Opening CheckMouth Opening CheckFeaturesDetect Face liveness in picturesfromkbyaiimportfacesdkimportbase64defimage_to_base64(image_path):withopen(image_path,"rb")asimg_file:base64_data=base64.b64encode(img_file.read())returnbase64_data.decode("utf-8")# Check liveness with a face imagefilepath="face.jpg"result=facesdk.check_liveness(filepath)print(result)# Check liveness with an encoded face image datafile_base64=image_to_base64(filepath)result=facesdk.check_liveness_base64(file_base64)print(result)Find all the real & fake faces that appear in a picture:Comparing faces with two different imagesfromkbyaiimportfacesdkimportbase64defimage_to_base64(image_path):withopen(image_path,"rb")asimg_file:base64_data=base64.b64encode(img_file.read())returnbase64_data.decode("utf-8")# Check similarity between two face imagesfilepath1="face1.jpg"filepath2="face2.jpg"result=facesdk.compare_face(filepath1,filepath2)print(result)# Check similarity between two encoded face imagesfile1_base64=image_to_base64(filepath1)file2_base64=image_to_base64(filepath2)result=facesdk.compare_face_base64(file1_base64,file2_base64)print(result)If you want to run our library to do real-time face recognition on cross platforms, please check our product list here.Face Liveness Detection - Android(Basic SDK)Face Liveness Detection - iOS(Basic SDK)Face Recognition - Android(Standard SDK)Face Recognition - iOS(Standard SDK)Face Recognition - Flutter(Standard SDK)Face Recognition - React-Native(Standard SDK)Face Attribute - Android(Premium SDK)Face Attribute - iOS(Premium SDK)2. KBY-AI IDSDKOverviewThis project demonstrates the server-based recognition capabilities for ID cards, passports, and driver's licenses.At the core of this project lies the ID Card Recognition SDK, which has been developed to provide comprehensive support for recognizing ID cards, passports, and driver's licenses from over 180 countries.You can simple plug & play the above function from Python or from the command line with our KBY-AI pip library.ID document recognition with ID document imagefromkbyaiimportidsdkimportbase64defimage_to_base64(image_path):withopen(image_path,"rb")asimg_file:base64_data=base64.b64encode(img_file.read())returnbase64_data.decode("utf-8")# Check with ID card image filefilepath="id.jpg"result=idsdk.idcard_recognition(filepath)print(result)# Check with an encoded ID card Image datafile_base64=image_to_base64(filepath)result=idsdk.idcard_recognition_base64(file_base64)print(result)If you want to run our library to do real-time on cross platforms, please check our product list here.IDCardRecognition-DockerIDCardRecognition-AndroidIDCardRecognition-iOSIDCardRecognition-WindowsIDCard-Recognition-SDKOnline DemosYou can test the SDK using images from the following URL:https://web.kby-ai.com3. Our Product List👏  We have published the Face Liveness Detection, Face Recognition SDK and ID Card Recognition SDK.https://github.com/kby-ai/Product4. Contact USEmail:contact@kby-ai.comTelegram: @kbyaiWhatsApp: +19092802609Skype: live:.cid.66e2522354b1049bFacebook:https://www.facebook.com/KBYAI