Skip to main content

Debug Container

Udentify üzerinde canlılık, yüz tanıma ve vector engine'de bir sorun olduğunda tespit etmek için kullanılır.​​

udentifydebug.properties
server.port=7070

spring.servlet.multipart.max-file-size=100MB
spring.servlet.multipart.max-request-size=100MB

logging.level.org.springframework.web= INFO
logging.level.org.hibernate= INFO
logging.level.io.udentify.rest=DEBUG
logging.file.name=/opt/udentifydebug/log/udentifydebug.log

io.udentify.file.path=/opt/udentifydebug/media
io.udentify.face.vector.host=localhost
io.udentify.face.vector.port=19530
io.udentify.face.vector.collection.name=TEST

io.udentify.face.match.host=18.168.177.139
io.udentify.face.match.port=9001

Debug Container Run Command

docker run -dit -p 7070:7070 -e TZ=Europe/Istanbul --name udentify-debug-service -v /opt/udentifydebug/udentifydebug.properties:/opt/udentifydebug/udentifydebug.properties registry.fraud.com/udentify/udentify-debug-service-v2.3.0:latest

Test Anyvision

Method: POST. URL: {{url}}/face_match/test_anyvision

curl --location 'https://{{url}}/face_match/test_anyvision' \
--form 'image=@"/Users/test/Desktop/test.jpeg"'

Test Liveness

Method: POST. URL: http://localhost:8080/check_liveness

curl --location 'http://localhost:8080/check_liveness' \
--header 'x-api-key: FVrHKPw4iKUllbvKibS19vHPBvayTMr9sm9hHgY1' \
--form 'file=@"/C:/Users/emre.emanet/Downloads/MicrosoftTeams-image.png"' \
--form 'Meta="{“OS”:”IOS”}"'