We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Not Run
from mmdeploy_runtime import Detector, PoseDetector
detector = Detector(model_path=det_model_path, device_name=device_name) bboxes, labels, _ = detector(image)
keep = np.logical_and(labels == 0, bboxes[..., 4] > bbox_thr) bboxes = bboxes[keep, :4]
just code demo
No
I have two questions that I don't know how to do:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Prerequisite
Environment
Not Run
Reproduces the problem - code sample
from mmdeploy_runtime import Detector, PoseDetector
detector = Detector(model_path=det_model_path, device_name=device_name)
bboxes, labels, _ = detector(image)
filter detections
keep = np.logical_and(labels == 0, bboxes[..., 4] > bbox_thr)
bboxes = bboxes[keep, :4]
Reproduces the problem - command or script
just code demo
Reproduces the problem - error message
No
Additional information
I have two questions that I don't know how to do:
2.I want to detect just for person, rather than filter with label==0
The text was updated successfully, but these errors were encountered: