deepinsight / deepinsight/insightface
bbox, landmark = self.model.detect(cons_img, threshold=0.1, scale=1.0) problem
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 29.8k
- Forks
- 6.1k
- PR merge metrics
- No merged PRs in 30d
Description
self.model = insightface.model_zoo.get_model('retinaface_r50_v1') # ./.insightface
self.model.prepare(ctx_id=self.gpu_id, nms=0.4)
bbox, landmark = self.model.detect(cons_img, threshold=0.1, scale=1.0)
I want to use this code to perform detection, but the latest version of the insightface library has changed the detect function from its previous implementation.
Here is the latest information.
I found that the detect function in detection/retinaface/retinaface.py is the one I want to use. How should I use the detect function from that file?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading detection/retinaface/retinaface.py and inspect the current detect function signature and its callers. Compare that interface with the reported retinaface_r50_v1 model usage; done means establishing the supported invocation or documenting the exact incompatibility.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-vision
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100