Use TinyFaceMatch in your own app
Install from GitHub, download the release model, and call the Python embedder.
Install
pip install git+https://github.com/yuvrajraina/tinyfacematch.git
Download the model
curl -L -o tinyfacematch-128-pretrained.onnx \ https://github.com/yuvrajraina/tinyfacematch/releases/latest/download/tinyfacematch-128-pretrained.onnx
Python example
from tinyfacematch import OnnxFaceEmbedder
embedder = OnnxFaceEmbedder("tinyfacematch-128-pretrained.onnx")
result = embedder.verify_images(left_rgb, right_rgb, threshold=0.2856)
print(result.is_match, result.similarity)