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验证其正确性和可靠性。

  • 2
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值