question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

facial-landmarks-35-adas-0001 input description

See original GitHub issue

It stated:

The blob is constructed from a 60x60 pixel BGR image with subtracted mean of (120, 110, 104) and scale factor of 0.0039.

And I have spent a lot of time, to figure out, that right parameters must come without mean and scale, or you’ll get warped/distorted result.

# original, not working
blob = cv2.dnn.blobFromImage(face, 0.0039, (60, 60), mean=[120, 110, 104], swapRB=False)

# working
blob = cv2.dnn.blobFromImage(face, 1, (60, 60))
# also working, but worser
blob = cv2.dnn.blobFromImage(face, 1, (60, 60), mean=[120,110,104], swapRB=False)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
snosov1commented, Mar 18, 2019

Sorry, I see you’ve already created one #48 =)

0reactions
snosov1commented, Mar 29, 2019

Not relevant anymore with 0002 replacing 0001 model

Read more comments on GitHub >

github_iconTop Results From Across the Web

facial-landmarks-35-adas-0001 - OpenVINO™ Documentation
Use Case and High-Level Description. This is a custom-architecture convolutional neural network for 35 facial landmarks estimation.
Read more >
facial-landmarks-35-adas-0001 input description #47 - GitHub
It stated: The blob is constructed from a 60x60 pixel BGR image with subtracted mean of (120, 110, 104) and scale factor of...
Read more >
OpenVINO face recognition - HackMD
There are two models refer to this topic, facial-landmarks-35-adas-0002 and landmarks-regression-retail-0009 . The former will generates 35 keypoints and ...
Read more >
gaze estimation demo fail in Version 2021.1 & 2021.2
head-pose-estimation-adas-0001. · facial-landmarks-35-adas-0002 ... Input Video : head-pose-face-detection-female-and-male.mp4 video ...
Read more >
Supported Models
Object Recognition Models (Intel®)# ; facial-landmarks-35-adas-0002. None ; head-pose-estimation-adas-0001. None ; landmarks-regression-retail-0009 · landmarks- ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found