Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
23-206
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
23-206
23-206
Commits
9cd3cdd0
Commit
9cd3cdd0
authored
Oct 29, 2023
by
Diyamantha N.K.A.G.O
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rearrange Anpr into main code
parent
4004ada4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
api/app.py
api/app.py
+7
-7
api/during_violation_frames/violation_1.jpg
api/during_violation_frames/violation_1.jpg
+0
-0
api/during_violation_frames/violation_2.jpg
api/during_violation_frames/violation_2.jpg
+0
-0
No files found.
api/app.py
View file @
9cd3cdd0
...
...
@@ -246,13 +246,13 @@ def start_detection():
if
number_plate
is
None
:
number_plate
=
OM
.
provineces
[
3
]
+
OM
.
def1
+
OM
.
def2
number_plates
.
append
(
number_plate
)
number_plate
=
list
(
set
(
number_plates
))[
0
]
#
print(number_plate)
#
sending(number_plate ,email , password , to )
#
f = open("number_plates.txt", "a")
#
f.write(number_plate)
#
f.close()
number_plate
=
list
(
set
(
number_plates
))[
0
]
print
(
number_plate
)
sending
(
number_plate
,
email
,
password
,
to
)
f
=
open
(
"number_plates.txt"
,
"a"
)
f
.
write
(
number_plate
)
f
.
close
()
if
violation_detected
:
if
not
violation_in_progress
:
...
...
api/during_violation_frames/violation_1.jpg
0 → 100644
View file @
9cd3cdd0
700 KB
api/during_violation_frames/violation_2.jpg
0 → 100644
View file @
9cd3cdd0
678 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment