Skip to content

πŸ“„ Awesome OCR multiple programing languages toolkits based on ONNX Runtime, OpenVINO, MNN, PaddlePaddle, TensorRT and PyTorch.

update ocrweb show format

SWHL0e4da592ef60
diff --git a/ocrweb/main.py b/ocrweb/main.py
index e68ad9d..83d302f 100644
--- a/ocrweb/main.py
+++ b/ocrweb/main.py
@@ -34,6 +34,6 @@ def ocr():
if __name__ == '__main__':
app.run(host='127.0.0.1',
- port=9005,
+ port=9003,
debug=False,
processes=True)
diff --git a/ocrweb/static/css/main.css b/ocrweb/static/css/main.css
index 78fdb43..1ee07c6 100644
--- a/ocrweb/static/css/main.css
+++ b/ocrweb/static/css/main.css
@@ -43,7 +43,7 @@ body{
width: auto;
height: auto;
margin: 0 auto;
- border: 0px solid #000;
+
}
.span_title{
width: 98%;
diff --git a/ocrweb/templates/index.html b/ocrweb/templates/index.html
index 78ee3ce..f822f20 100644
--- a/ocrweb/templates/index.html
+++ b/ocrweb/templates/index.html
@@ -26,7 +26,7 @@
<div class="rightarea" id="recogDiv">
<span id="rec_res" class="span_title">ζ–‡ζœ¬θ―†εˆ«η»“ζžœ:</span>
<br/> <br/>
- <table id="locTable" border="1" class="table" cellspacing="0" cellpadding="5"></table>
+ <table id="locTable" class="table" cellspacing="0" cellpadding="5"></table>
</div>
</div>
<script src="{{url_for('static', filename='js/jquery-3.0.0.min.js')}}"></script>