Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.ip.flandmark
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Show more breadcrumbs
bob
bob.ip.flandmark
Commits
6f9ec3c5
Commit
6f9ec3c5
authored
12 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
Better documentation on the dump
parent
49e01904
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
flandmark/script/annotate.py
+38
-0
38 additions, 0 deletions
flandmark/script/annotate.py
with
38 additions
and
0 deletions
flandmark/script/annotate.py
+
38
−
0
View file @
6f9ec3c5
...
@@ -4,6 +4,44 @@
...
@@ -4,6 +4,44 @@
# Fri 21 Sep 2012 10:43:12 CEST
# Fri 21 Sep 2012 10:43:12 CEST
"""
Annotates videos, dumps annotations as text files.
"""
Annotates videos, dumps annotations as text files.
The text files will contain one line per annotated frame. Each line contains a
single detected face and associated landmarks. Only the biggest detection found
on the frame is considered. The entries in each line are:
[0]
The frame number (starting from 0)
[1:5] 4 items
The bounding-box coordinates as detected by OpenCV (x, y, width, height)
[5:] 8 pairs
Each pair corresponds to a keypoint in the order defined by the model:
[5:7]
Face center (as defined by the OpenCV detected bounding box)
[7:9]
Canthus-rl (inner corner of the right eye). Note: The
"
right eye
"
means
the right eye at face w.r.t. itself - that is the left eye in the image.
[9:11]
Canthus-lr (inner corder of the left eye)
[11:13]
Mouth-corner-r (right corner of the mouth)
[13:15]
Mouth-corner-l (left corner of the mouth)
[15:17]
Canthus-rr (outer corner of the right eye)
[17:19]
Canthus-ll (outer corner of the left eye)
[19:21]
Nose
"""
"""
import
os
import
os
...
...
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