Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add FaceDetector class #56

Open
DavidLandup0 opened this issue Feb 9, 2023 · 0 comments
Open

Add FaceDetector class #56

DavidLandup0 opened this issue Feb 9, 2023 · 0 comments

Comments

@DavidLandup0
Copy link
Owner

DavidLandup0 commented Feb 9, 2023

Requirements:

  • CNN-based (not feature + SVM based, like Dlib's original frontal detector)
  • CUDA-enabled
  • Both TF and PT backends
  • Real-time (i.e. at least 30FPS on consumer-grade GPUs)
  • Allow inference on batched input

Potential architecture: YuNet (like in Kornia), though, could we use different architectures and/or backbones to be specified by the user?

API idea:

detector = deepvision.models.FaceDetector(nms_threshold=0.1,
                                 confidence_threshold=0.5,
                                 limit=5,
                                 architecture='arch1', 
                                 backend='backend')
dets = detector(img) # img.shape = (B, C, H, W) or (B, H, W, C)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant