CompreFace
CompreFace copied to clipboard
EFRS-1114: Google Coral Support for FaceNet
Initial part for Google Coral facenet module. Function usage example to create embeddings: emb_calculator = Calculator()
for 1 image
emb_calculator.calc_embedding(img, mode='CPU') or emb_calculator.calc_embedding(img, resize=True,mode='TPU')
for several images
emb_calculator._calculate_embeddings(images, mode='CPU') or emb_calculator._calculate_embeddings(images, resize=True, mode='TPU')
To run docker image with TPU access: docker run -it --privileged --device=/dev/bus/usb:/dev/bus/usb test_coral /bin/bash
CLA Assistant Lite bot All contributors have signed the CLA ✍️
any news about CORAL TPU support ?