-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathINSTALL.sh
27 lines (22 loc) · 1.12 KB
/
INSTALL.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
###########################################################
###
### ███████╗██╗░░░██╗░█████╗░
### ██╔════╝██║░░░██║██╔══██╗
### █████╗░░╚██╗░██╔╝███████║
### ██╔══╝░░░╚████╔╝░██╔══██║
### ███████╗░░╚██╔╝░░██║░░██║
### ╚══════╝░░░╚═╝░░░╚═╝░░╚═╝
###
###########################################################
# Setup virtual environment
python3 -m venv eva-application-venv
source eva-application-venv/bin/activate
# Install EVA application dependencies
pip install -r requirements.txt
# Download the car plate detection model (based on image segmentation)
wget "https://www.dropbox.com/s/x677jwtae0elm6h/model.pth?dl=0"
mv model.pth\?dl=0 model.pth
# Go over the custom user-defined function (UDF)
cat car_plate_detector.py
# Convert Jupyter notebook to README markdown
jupyter nbconvert --execute --to markdown README.ipynb