Comments (9)
@Dobiasd if we set an initial 0 value to angle in alignment produce function, then this will be sorted.
Do you mind to create a PR for this? I would like to see your name as a contributor because you found this issue.
https://github.com/serengil/retinaface/blob/master/retinaface/commons/postprocess.py#L33
from retinaface.
No problem, we can still fix it.
from retinaface.
Of course, it would be nice if pylint
would catch such problems already in the CI.
I've opened a StackOverflow question asking if enabling such a check is possible.
from retinaface.
Good spot! Do you mind to share your input image? Would be easier to fix if i can reproduce.
from retinaface.
It happened while processing a video stream. I no longer have the problematic frame, but I'll try to reproduce one by moving in front of my webcam. 🕺
from retinaface.
I've tried, but so far failed to align my head in a pose to fulfill the required condition.
Hope you can maybe fix it even without such an example image.
from retinaface.
FYI:
While pylint
is not able to catch such bugs in the linter step, mypy
(with --enable-error-code possibly-undefined
) is. 🎉
So in case you're interested in preventing such issues automatically in the future, using mypy
could be an option. 🙂
from retinaface.
Oh no, very satisfied with pylint, do not want to switch anything else :)
from retinaface.
Ah, no, I did not mean to replace pylint
with mypy
, but adding mypy
to the CI. mypy
is a type checker and solves different problems than pylint
(a linter) does. Not only our team at work, but also me in my private projects (example) use both in conjunction, and I like this combination a lot. 🙂
from retinaface.
Related Issues (20)
- The retina face is too slow on a card with Arm64 Mali GPU. HOT 1
- High VRAM usage on Linux HOT 2
- Which library versions do you suggest for maximum GPU performance on Windows? HOT 1
- add github actions and perform unit tests & linting HOT 1
- create a logger HOT 1
- expanding facial area with percentage HOT 1
- Adding requirements and readme as a data file HOT 1
- Retina-face forces the installation of full tensorflow, even when tensorflow-cpu is already installed HOT 2
- Bug while feeding input image argument from web HOT 1
- do not limit align first detect second with one face HOT 1
- facial area variables HOT 1
- Error: keras to tf HOT 5
- Can detect_faces take in batched inputs? as in several rgb arrays at a time? HOT 1
- Argument `padding` must be either 'valid' or 'same'. Received: padding=VALID HOT 2
- publish a release on pip not to have `Argument padding must be either 'valid' or 'same'. Received: padding=VALID`
- Error when using retinaface with the latest TensorFlow version (2.16.1) HOT 6
- detect_faces image preprocessing? HOT 2
- A KerasTensor cannot be used as input to a TensorFlow function HOT 4
- When extracting faces, sometimes function will return empty array if face is not completely in view. HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from retinaface.