Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • bob.bio.face bob.bio.face
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 22
    • Issues 22
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • bobbob
  • bob.bio.facebob.bio.face
  • Merge requests
  • !140

Align faces when only bounding boxes are provided

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Tiago de Freitas Pereira requested to merge crop-bounding-boxes into master Aug 18, 2021
  • Overview 16
  • Commits 8
  • Pipelines 4
  • Changes 10

The BoundingBoxAnnotatorCrop cropper uses a 2 stage strategy to crop and align faces in case annotation_type has a bounding-box. In the first stage, it crops the face using the {topleft, bottomright} parameters and expands them using a margin factor. In the second stage, it uses the annotator to estimate {leye and reye} to make the crop using :py:class:bob.ip.base.FaceEyesNorm. In case the annotator doesn't work, it returns the cropped face using the bounding-box coordinates.

It's being a while that I wanted to put this in place.

Follow the impact of this on the test1 IJB-C protocol (old 1:1) and on the test4 protocols (open-set identification protocols)

test1.pdf dir-test4-g1.pdf dir-test4-g2.pdf

Do you have sometime to review this one @lcolbois ?

Thanks

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: crop-bounding-boxes