karthikmn commited on
Commit
ed632b9
·
verified ·
1 Parent(s): 95a60da

Create home.py

Browse files
Files changed (1) hide show
  1. home.py +17 -0
home.py ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ st.title("Welcome to License Plate Detection App", anchor=False)
4
+ st.write("Select a feature below to detect or enhance license plate images.")
5
+
6
+ # Buttons for navigation
7
+ col1, col2 = st.columns(2)
8
+
9
+ with col1:
10
+ if st.button("🚘 Detect License Plates"):
11
+ st.switch_page("detect.py") # Navigates to the detection page
12
+ st.caption("Upload an image, video, or use a webcam for real-time detection.")
13
+
14
+ with col2:
15
+ if st.button("🖼️ Enhance Image for Detection"):
16
+ st.switch_page("refine.py") # Navigates to the image enhancement page
17
+ st.caption("Improve image quality for better license plate recognition.")