Skip to content

Commit 3a17492

Browse files
committed
.
1 parent 6d80d59 commit 3a17492

14 files changed

+24
-56
lines changed

ALPR.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import pytesseract
33
import re
44
import os
5+
import time
56

67
KSIZE = 3
78
SIGMA_X = 20
2.69 MB
Binary file not shown.

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,16 @@
1-
# ALPR with python
2-
Run the main.py
1+
required third-party lib :
2+
opencv-python
3+
pytesseract
4+
pillow
5+
google-api-core
6+
google-auth
7+
google-cloud
8+
google-cloud-vision
9+
googleapis-common-protos
10+
11+
required software :
12+
tesseract-ocr for windows
13+
14+
請自行申請google cloud帳號
15+
並下載自己的keyfile.json
16+
將keyfile.json的檔案路徑登入到環境變數的"系統變數"(GOOGLE_APPLICATION_CREDENTIALS)

__pycache__/ALPR.cpython-37.pyc

16 Bytes
Binary file not shown.

build/gui/base_library.zip

-766 KB
Binary file not shown.

build/gui/gui.exe.manifest

Lines changed: 0 additions & 19 deletions
This file was deleted.

carinfo.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
1051K7,2019-06-08 21:14:06
2-
9C9508,2019-06-11 21:27:02
3-
5978YA,2019-06-11 21:28:20
2+
9C9508,2019-06-08 21:27:02
3+
5978YA,2019-06-08 21:28:20
4+
8787LE,2019-06-12 09:55:26
5+
RT2182,2019-06-12 10:47:19
6+
BMW9999,2019-06-12 10:47:45
7+
BMW5957,2019-06-12 10:58:31

gui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class MyApp:
2222
CAMERA = 0
2323
OBS = 1
2424

25-
def __init__(self, window=tkinter.Tk(), window_title="ALPR", video_source=OBS):
25+
def __init__(self, window=tkinter.Tk(), window_title="ALPR", video_source=CAMERA):
2626

2727
# create a top-window
2828
self.window = window

gui.spec

Lines changed: 0 additions & 32 deletions
This file was deleted.

images/8787LE.png

469 KB
Loading

images/BMW5957.png

181 KB
Loading

images/BMW9999.png

339 KB
Loading

images/RT2182.png

339 KB
Loading

images/snapshot.png

-3.99 KB
Loading

0 commit comments

Comments
 (0)