0


CompreFace Study

系列文章目录

第一章 CompreFace Installation

第二章 Face verification POC


文章目录


前言

此文旨在记录学习CompreFace的过程,以及POC。


一、What is the CompreFace?

Exadel CompreFace is a leading free and open-source face recognition system。

CompreFace on GitHub

二、How to install the CompreFace?

1.On Linux for CompreFace 1.2.0

CompreFace 1.2.0 installation:

1.1 Download CompreFace_1.2.0.zip archive or run:

wget -q -O tmp.zip 'https://github.com/exadel-inc/CompreFace/releases/download/v1.2.0/CompreFace_1.2.0.zip' && unzip tmp.zip && rm tmp.zip

1.2 To start CompreFace run:

docker-compose up -d

1.3 To stop CompreFace run:

docker-compose down

1.4 Open in your browser:

http://localhost:8000/login

1.5 To stop properly run:

docker-compose stop

1.6 to start again run:

docker-compose start

2.Troubleshooting

2.1 Images can't be downloaded.

Using docker pull command and proxy of Docker:
docker pull harbor.XXX.com/proxy.docker.io/exadel/compreface-core:1.2.0
docker pull harbor.XXX.com/proxy.docker.io/exadel/compreface-postgres-db:1.2.0
docker pull harbor.XXX.com/proxy.docker.io/exadel/compreface-admin:1.2.0
docker pull harbor.XXX.com/proxy.docker.io/exadel/compreface-api:1.2.0
docker pull harbor.XXX.com/proxy.docker.io/exadel/compreface-fe:1.2.0

2.2 Show docker images

docker images

2.3 Docker image backup

# Images backup
docker save -o compreface_image_backup.tar exadel/compreface-core:1.2.0 exadel/compreface-fin:1.2.0 exadel/compreface-api:1.2.0 exadel/compreface-postgres-db:1.2.0

# Checking
ls -lh compreface_image_backup.tar

# Zip
gzip compreface_image_backup.tar

2.4 Unzip and load images (unverified)

gunzip -c compreface_image_backup.tar.gz | docker load

2.5 PG DB of CompreFace can't be accessed from intrnet

expose PG DB on port 5432

2.6 Show log of container

docker logs compreface-ui

2.7 Go to container

docker exec -it compreface-ui /bin/sh
or 
docker exec -it compreface-ui /bin/bash
# print nginx.conf
cat /etc/nginx/conf.d/nginx.conf

总结

以上就是今天要讲的内容,本文仅仅简单介绍了CompreFace的安装和安装过程中遇到的问题如何解决,后面将基于CompreFace做POC验证其正确性和可靠性。


本文转载自: https://blog.csdn.net/wish366/article/details/141057112
版权归原作者 wish366 所有, 如有侵权,请联系我们删除。

“CompreFace Study”的评论:

还没有评论