Spaces:
Sleeping
Sleeping
Update app_pages/ocr_comparator.py
Browse files
app_pages/ocr_comparator.py
CHANGED
|
@@ -1,6 +1,14 @@
|
|
| 1 |
"""This Streamlit app allows you to compare, from a given image, the results of different solutions:
|
| 2 |
EasyOcr, PaddleOCR, MMOCR, Tesseract
|
| 3 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
import streamlit as st
|
| 5 |
import plotly.express as px
|
| 6 |
import numpy as np
|
|
|
|
| 1 |
"""This Streamlit app allows you to compare, from a given image, the results of different solutions:
|
| 2 |
EasyOcr, PaddleOCR, MMOCR, Tesseract
|
| 3 |
"""
|
| 4 |
+
|
| 5 |
+
import mim
|
| 6 |
+
|
| 7 |
+
mim.install(['mmcv'])
|
| 8 |
+
mim.install(['mmdet'])
|
| 9 |
+
mim.install(['mmocr'])
|
| 10 |
+
mim.install(['mmengine'])
|
| 11 |
+
|
| 12 |
import streamlit as st
|
| 13 |
import plotly.express as px
|
| 14 |
import numpy as np
|