Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2022-235 Vehicle parking system
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
3
Merge Requests
3
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
2022-235
2022-235 Vehicle parking system
Commits
427ee814
Commit
427ee814
authored
Nov 13, 2022
by
sasifina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update component 3
parent
4f79a414
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
component_3/__pycache__/video_tester.cpython-38.pyc
component_3/__pycache__/video_tester.cpython-38.pyc
+0
-0
component_3/video_tester.py
component_3/video_tester.py
+2
-2
No files found.
component_3/__pycache__/video_tester.cpython-38.pyc
View file @
427ee814
No preview for this file type
component_3/video_tester.py
View file @
427ee814
...
@@ -38,8 +38,8 @@ def get_number_plate():
...
@@ -38,8 +38,8 @@ def get_number_plate():
y
=
int
(
i
[
"ymin"
])
y
=
int
(
i
[
"ymin"
])
w
=
int
(
i
[
"xmax"
])
w
=
int
(
i
[
"xmax"
])
h
=
int
(
i
[
"ymax"
])
h
=
int
(
i
[
"ymax"
])
cv2
.
rectangle
(
image
,
(
x
,
y
),
(
x
+
w
,
y
+
h
),
(
0
,
255
,
0
),
2
)
cv2
.
rectangle
(
image
,
(
x
,
y
),
(
w
,
h
),
(
0
,
255
,
0
),
2
)
crop_img
=
image
[
y
:
y
+
h
,
x
:
x
+
w
]
crop_img
=
image
[
y
:
h
,
x
:
w
]
cropped_imgs
.
append
(
crop_img
)
cropped_imgs
.
append
(
crop_img
)
for
cropped_img
in
cropped_imgs
:
for
cropped_img
in
cropped_imgs
:
...
...
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