justin2341 commited on
Commit
8a9fbc7
1 Parent(s): e6c5fe1

Update demo.py

Browse files
Files changed (1) hide show
  1. demo.py +17 -11
demo.py CHANGED
@@ -88,20 +88,25 @@ def idcard_recognition(frame):
88
  with gr.Blocks() as demo:
89
  gr.Markdown(
90
  """
91
- # KBY-AI
92
- We offer SDKs for Face Recognition, Face Liveness Detection(Face Anti-Spoofing), and ID Card Recognition.<br/>
93
- Besides that, we can provide several AI models and development services in machine learning.
94
-
95
- ## Simple Installation & Simple API
96
- ```
97
- sudo docker pull kbyai/idcard-recognition:latest
98
- sudo docker run -e LICENSE="xxxxx" -p 8082:8080 -p 9002:9000 kbyai/idcard-recognition:latest
99
- ```
100
- ## KYC Verification Demo
101
- https://github.com/kby-ai/KYC-Verification
102
  """
103
  )
104
  with gr.TabItem("ID Card Recognition"):
 
 
 
 
 
 
 
 
 
105
  with gr.Row():
106
  with gr.Column(scale=3):
107
  id_image_input = gr.Image(type='filepath')
@@ -115,5 +120,6 @@ with gr.Blocks() as demo:
115
  image_result_output = gr.HTML()
116
 
117
  id_recognition_button.click(idcard_recognition, inputs=id_image_input, outputs=[id_result_output, image_result_output])
 
118
 
119
  demo.launch(server_name="0.0.0.0", server_port=7860)
 
88
  with gr.Blocks() as demo:
89
  gr.Markdown(
90
  """
91
+ # KBY-AI - ID Card Recognition
92
+ We offer SDKs for face recognition, liveness detection(anti-spoofing) and ID card recognition.
93
+ We also specialize in providing outsourcing services with a variety of technical stacks like AI(Computer Vision/Machine Learning), Mobile apps, and web apps.
94
+
95
+ ##### KYC Verification Demo - https://github.com/kby-ai/KYC-Verification-Demo-Android
96
+ ##### ID Capture Web Demo - https://id-document-recognition-react-alpha.vercel.app
97
+ ##### Documentation - Help Center - https://docs.kby-ai.com
 
 
 
 
98
  """
99
  )
100
  with gr.TabItem("ID Card Recognition"):
101
+ gr.Markdown(
102
+ """
103
+ ##### Docker Hub - https://hub.docker.com/r/kbyai/idcard-recognition
104
+ ```bash
105
+ sudo docker pull kbyai/idcard-recognition:latest
106
+ sudo docker run -e LICENSE="xxxxx" -p 8082:8080 -p 9002:9000 kbyai/idcard-recognition:latest
107
+ ```
108
+ """
109
+ )
110
  with gr.Row():
111
  with gr.Column(scale=3):
112
  id_image_input = gr.Image(type='filepath')
 
120
  image_result_output = gr.HTML()
121
 
122
  id_recognition_button.click(idcard_recognition, inputs=id_image_input, outputs=[id_result_output, image_result_output])
123
+ gr.HTML('<a href="https://visitorbadge.io/status?path=https%3A%2F%2Fhuggingface.co%2Fspaces%2Fkby-ai%2FIDCardRecognition"><img src="https://api.visitorbadge.io/api/combined?path=https%3A%2F%2Fhuggingface.co%2Fspaces%2Fkby-ai%2FIDCardRecognition&countColor=%23263759" /></a>')
124
 
125
  demo.launch(server_name="0.0.0.0", server_port=7860)