Instructions to use Gideon-0-1/_license_plate with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PaddleOCR
How to use Gideon-0-1/_license_plate with PaddleOCR:
# Please refer to the document for information on how to use the model. # https://paddlepaddle.github.io/PaddleOCR/latest/en/version3.x/module_usage/module_overview.html
- Notebooks
- Google Colab
- Kaggle
Download UI.py from Gideon-0-1/_license_plate: direct link, hf CLI and curl.
- Browser
- Download file 600 Bytes
-
https://huggingface.co/Gideon-0-1/_license_plate/resolve/main/UI.py
- Command line
-
hf download hf://Gideon-0-1/_license_plate/UI.py
-
curl -L -o UI.py https://huggingface.co/Gideon-0-1/_license_plate/resolve/main/UI.py
600 Bytes
| import streamlit as st | |
| st.set_page_config(page_icon=":car:", layout="wide") | |
| st.title("License Plate Detection") | |
| col1 = st.columns(1)[0] | |
| with col1: | |
| run_button = st.button("Run Detection") | |
| video_col = st.empty() | |
| VIDEO_FEED_URL = "http://localhost:5000/detect" | |
| video_placeholder = video_col.empty() | |
| if run_button: | |
| video_placeholder.markdown( | |
| f'<img src="{VIDEO_FEED_URL}" width="100%" style="max-width:750px; border-radius:10px;">', | |
| unsafe_allow_html=True, | |
| ) | |
| else: | |
| st.info("Click the 'Run Detection' toggle to start the license plate detection.") | |