Skip to content

Commit 82a6dd8

Browse files
add test modules
1 parent 2348b69 commit 82a6dd8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Vietnamese's Automatic License Plate Recognition
22

3-
Clone the repo and run main.py
3+
Clone the repo and run main.py (recommend using VScode or Pycharm).\
4+
For testing open test.py, choose any image then replace line 6's imgPath to the image's location path.
45

56
Also run by docker. Compile the dockerfile. Then run with command:
67
## docker run -d -p 8765:8765 [docker image's name]

test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import requests
44

55

6-
imgPath = "/home/datbt/ALPR/data_2022_03_29/camera_bienso/2233785415252557522_1_0_03_20220329021230.jpg"
6+
imgPath = "./test_images/2233785415252553170_1_0_04_20220329011843.jpg"
77
with open(imgPath, "rb") as image_file:
88
encodedByte = base64.b64encode(image_file.read())
99
encodedString = encodedByte.decode('utf-8')

0 commit comments

Comments
 (0)