Open BharathBillawa opened 4 hours ago
Try out the source code and model that I refactored as a hobby. The problem you're having is simply that your object detection model is performing too poorly. This model requires the head area to be cut off before use. Please note that a certain margin is required around the image of the head to be cut out.
https://github.com/PINTO0309/facemesh_onnx_tensorrt
https://github.com/user-attachments/assets/b32a02e7-6538-4b35-9341-98598184b5bf
Issue Type
Support
OS
Ubuntu
OS architecture
x86_64
Programming Language
Python
Framework
ONNX
Model name and Weights/Checkpoints URL
282_face_landmark_with_attention , https://github.com/PINTO0309/PINTO_model_zoo/files/8357832/model_float32.onnx.zip
Referred from: https://github.com/PINTO0309/PINTO_model_zoo/issues/143
Description
Hello, Thank you for providing this great model collection. I’m using the face landmark detection model and encountered an issue that might be of interest to others. Despite following the documentation and trying different preprocessing methods, the facial landmarks appear offset and scaled incorrectly on the original image.
I get output is like:
I’ve reviewed the preprocessing steps and tried multiple approaches but couldn’t resolve the issue. If this is something others might face or if I missed a step, I’d appreciate any clarification or insights.
Best regards, Bharath
Relevant Log Output
No response
URL or source code for simple inference testing code
Here’s the code I’m using: