improve yolo quality for subox testing
This commit is contained in:
parent
db9a791bcc
commit
444f229e86
54
sbin/ctl.sh
54
sbin/ctl.sh
@ -116,37 +116,9 @@ function f_apt(){
|
||||
pip3 install yolov8
|
||||
pip3 install deepface
|
||||
|
||||
case $1 in
|
||||
"updates") apt update
|
||||
apt upgrade
|
||||
apt install libopencv-dev python3-opencv
|
||||
python3 -m pip install --upgrade pip
|
||||
;;
|
||||
"regula") f_apt_regula
|
||||
;;
|
||||
"yolov5") f_apt_yolov5
|
||||
;;
|
||||
"yolov8") f_apt_yolov8
|
||||
;;
|
||||
"para_facematch") f_apt_openvino
|
||||
f_apt_paravision
|
||||
;;
|
||||
"openvino") f_apt_openvino
|
||||
;;
|
||||
"deepface") pip3 install deepface
|
||||
;;
|
||||
"facerec") f_apt_facerec
|
||||
;;
|
||||
"intox") f_apt_yolov5
|
||||
f_apt_intox
|
||||
;;
|
||||
*) echo "Error. Second parameter must be updates|regula|yolov5|paravision|freeface|paraface|palm|intox"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
||||
function f_apt_regula(){
|
||||
pip3 install deepface
|
||||
#REGULA..
|
||||
apt install pcscd libccid
|
||||
wget -O downloads/regula.deb https://downloads.regulaforensics.com/repo/ubuntu/pool/stable/r/regula-reader/regula-reader_6.7.198393.16246_amd64.deb
|
||||
wget -O downloads/drivers.deb https://downloads.regulaforensics.com/repo/ubuntu/pool/stable/r/regula-drivers/regula-drivers_2.1.1.12_amd64.deb
|
||||
@ -154,17 +126,16 @@ function f_apt_regula(){
|
||||
|
||||
sudo pip3 install openvino
|
||||
|
||||
. /usr/local/lib/python3.10/dist-packages/
|
||||
ROOTURL="http://824f668f-5c6e-4ffe-8b5b-edb4d0301982:985c5412-5e0d-4d66-8d28-ed32dbb900a3@paravision.mycloudrepo.io"
|
||||
pip3 install cmake --upgrade
|
||||
pip3 install --no-cache-dir\
|
||||
--extra-index-url $ROOTURL/repositories/python-sdk\
|
||||
--extra-index-url $ROOTURL/repositories/python-recognition\
|
||||
"paravision-recognition" "paravision-models-gen5-balanced-openvino-2022-3" "openvino==2022.3"\
|
||||
--trusted-host paravision.mycloudrepo.io
|
||||
# bypass paravision
|
||||
# . /usr/local/lib/python3.10/dist-packages/
|
||||
# ROOTURL="http://824f668f-5c6e-4ffe-8b5b-edb4d0301982:985c5412-5e0d-4d66-8d28-ed32dbb900a3@paravision.mycloudrepo.io"
|
||||
# pip3 install cmake --upgrade
|
||||
# pip3 install --no-cache-dir\
|
||||
# --extra-index-url $ROOTURL/repositories/python-sdk\
|
||||
# --extra-index-url $ROOTURL/repositories/python-recognition\
|
||||
# "paravision-recognition" "paravision-models-gen5-balanced-openvino-2022-3" "openvino==2022.3"\
|
||||
# --trusted-host paravision.mycloudrepo.io
|
||||
|
||||
# Open source Face_Recognition
|
||||
pip3 install deepface
|
||||
|
||||
wget -O downloads/facerec.zip https://github.com/ageitgey/face_recognition/archive/refs/heads/master.zip
|
||||
cd downloads
|
||||
@ -207,11 +178,10 @@ function f_stop(){
|
||||
}
|
||||
|
||||
|
||||
|
||||
echo "Running $0 with option $1 at $DIR"
|
||||
case $1 in
|
||||
|
||||
"apt") f_apt $2
|
||||
"apt") f_apt
|
||||
;;
|
||||
"start") f_start
|
||||
;;
|
||||
|
||||
@ -40,9 +40,8 @@ import urllib.request
|
||||
|
||||
import time
|
||||
|
||||
from ukdi import UKDI
|
||||
|
||||
class Facematch(UKDI):
|
||||
class Facematch(object):
|
||||
|
||||
name = "face_recognition_face_match"
|
||||
IN_ENGLISH = "A class for checking the similarity between two faces."
|
||||
|
||||
Loading…
Reference in New Issue
Block a user