- open build-conda file and follow the instructions
- open build-python file and follow the instructions
pip install -r -requirements.txt
- install the ngrok exe file for your OS
- launch ngrok and choose a port for the websocket
- type your telegram bot token in
config.ini
inbot_ult
python FAS.py
- Face Grid: the roi of the face in the image
- Face Feat: the visual 2d feature of human faces
- Face Scale: the scale to support for computing Face Feat
- Face YRP: base on the concept of Aircraft Principal Axes - calculate the Yaw, Roll, Pitch degree of the human faces in the image in real word
- jf_ult: my original image pipeline utilities
from pprint import pprint as pp
from glance.face_analyst import FaceAnalyst
img_path = 'puff.jpg'
fa = FaceAnalyst(img_path, gen_ff_img=True)
fa.analyze()
if fa.result:
pp(fa.data)
print(fa.data.keys())