curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun国内 daocloud一键安装命令:
curl -sSL https://get.daocloud.io/docker | shDocker手动安装
sudo systemctl start docker拉取openface镜像
docker pull bamos/openface注:应为openface国内镜像拉去慢,可使用该方式解决
docker images
docker run -p 9000:9000 -p 8000:8000 -t -i bamos/openface /bin/bash查询容器
docker ps
sudo docker attach id or name (填写自己的容器id或者name)容器内操作:
cd /root/openface/demoscompare.py便是两个图片对比算法
docker cp 宿主的文件地址 容器id:/root/openface/目标文件夹图片进行对比
python compare.py ./images/xxx.jpg ./images/xxx.jpg
欢迎光临 ToB企服应用市场:ToB评测及商务社交产业平台 (https://dis.qidao123.com/) | Powered by Discuz! X3.4 |