Commit 15251dd9 authored by Kamron Aroonrua's avatar Kamron Aroonrua 💬

face

parent 96c53e80
Pipeline #53 failed with stages
import face_recognition
import os
import re
import requests
def send_to_bigstream(name,dist,feature,ba64frame,ba64lab):
requests.post('http://push02.igridproject.info/lsrface', json={"name": name,"distance":dist,"feature":feature,"img_raw":ba64frame,"img_label":ba64lab})
def image_files_in_folder(folder):
return [os.path.join(folder, f) for f in os.listdir(folder) if re.match(r'.*\.(jpg|jpeg|png)', f, flags=re.I)]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment