Skip to content
cpb8010 edited this page Jul 25, 2013 · 1 revision

This is the shape info file used by the python scripts to build and test the Bosphorous database The labels for the 16 points are given in order below

    'Outer left eyebrow',     #0
    'Middle left eyebrow',    #1
    'Inner left eyebrow',     #2
    'Inner right eyebrow',    #3
    'Middle right eyebrow',   #4
    'Outer right eyebrow',    #5
    'Outer left eye corner',  #6
    'Inner left eye corner',  #7 
    'Inner right eye corner', #8
    'Outer right eye corner', #9
    'Nose tip',               #10
    'Left mouth corner',      #11
    'Upper lip outer middle', #12
    'Right mouth corner',     #13
    'Lower lip inner middle', #14
    'Chin middle',            #15

The graph connections are important to determine the direction of the shape. path is the corresponding face part type is 4 if open 0 if closed (open vs closed sub-shapes) point number is current vertex connects from is the previous vertex connects to is the next vertex

Eye and mouth parts should be correctly populated to use the initial shape placement alignment algorithm in VOSM.

    16
    # format: <path#> <type> <point#> <connects from> <connects to>
    2 4 0 15 1
    2 4 1 0 2
    2 4 2 1 3
    3 4 3 2 4
    3 4 4 3 5
    3 4 5 4 6
    4 4 6 5 7
    4 4 7 6 8
    5 4 8 7 9
    5 4 9 8 10
    6 4 10 9 11
    8 4 11 10 12
    8 4 12 11 13
    8 4 13 12 14
    9 4 14 13 15
    1 4 15 14 0
    #FaceParts
    m_vChin			open	15
    m_vLeftEyebrow		open	0 1 2
    m_vRightEyebrow		open	3 4 5
    m_vLeftEye 		open	6 7
    m_vRightEye 		open 	8 9
    m_vNose			open	10
    m_vNostril		open	
    m_vNoseTip		open	10
    m_vLipOuterLine 	closed	11 12 13
    m_vLipInnerLine		closed	14
    m_vLipUpperOuterLine	open	11 12 13
    m_vLipUpperInnerLine	open	
    m_vLipDownerOuterLine	open	11 13
    m_vLipDownerInnerLine 	open	
    m_vLeftSidePoints	open	0 1 2 6 7 11
    m_vRightSidePoints	open	3 4 5 8 9 13
    m_vMidlinePoints	open	10 12 14 15
    m_vEyeCornerPoints	open	6 7 8 9
    m_vMouthCornerPoints	open	11  13
    m_vPitchAxisLinePoints	open	 
    m_vLeftIris		closed
    m_vRightIris		closed
    m_vLeftEar 		closed
    m_vRightEar 		closed