Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
licenseplates
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Taddeüs Kroes
licenseplates
Commits
a68fe0cd
Commit
a68fe0cd
authored
13 years ago
by
Fabien
Browse files
Options
Downloads
Patches
Plain Diff
klein foutje in indent :((
parent
3cdca55d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/LicensePlate.py
+2
-2
2 additions, 2 deletions
src/LicensePlate.py
src/license_xml_tester.py
+0
-34
0 additions, 34 deletions
src/license_xml_tester.py
with
2 additions
and
36 deletions
src/LicensePlate.py
+
2
−
2
View file @
a68fe0cd
...
...
@@ -46,8 +46,8 @@ class LicensePlate:
for
i
in
range
(
0
,
M
):
for
j
in
range
(
0
,
N
):
or_coor
=
dot
(
P
,
([[
i
],[
j
],[
1
]]))
or_coor_h
=
or_coor
[
1
][
0
]
/
or_coor
[
2
][
0
],
or_coor
[
0
][
0
]
/
or_coor
[
2
][
0
]
or_coor_h
=
(
or_coor
[
1
][
0
]
/
or_coor
[
2
][
0
],
or_coor
[
0
][
0
]
/
or_coor
[
2
][
0
]
)
data
[
j
][
i
]
=
self
.
pV
(
or_coor_h
[
0
],
or_coor_h
[
1
])
...
...
This diff is collapsed.
Click to expand it.
src/license_xml_tester.py
deleted
100644 → 0
+
0
−
34
View file @
3cdca55d
from
LicensePlate
import
LicensePlate
'''
create new LicensePlate object:
i.e you can do
plate = LicensePlate(
"
../XML/test.info
"
) # some xml file from rein
now available:
plate.image
plate.width
plate.height
Are the entire image widht / height and image is the corresponding image file
provided by rein (i.e other folder somewhere)
plate.corners
plate.license_full # the entire license plate as a string so 2334AB
plate.characters # for each character from license_full a Character object
exists, kinda same as the license plate. You have a value
= the character / number
a corners -> i.e list of points (Point objects)
TODO had to go so this text is full of crap maybe, anyway enjoy
'''
plate
=
LicensePlate
(
"
../XML/0000/00991_000000.info
"
)
# some xml file from rein
plate
.
characters
[
0
].
image
.
show
()
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment