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

What is the output of the hand_detector.tflite file using the hand landmark detection model hand_landmark.task locally? #5616

Open
Criminal-9527 opened this issue Sep 9, 2024 · 0 comments
Assignees
Labels
platform:python MediaPipe Python issues task:hand landmarker Issues related to hand landmarker: Identify and track hands and fingers type:support General questions type:tflite TensorFlow Lite

Comments

@Criminal-9527
Copy link

What is the output of the hand_detector.tflite file using the hand landmark detection model hand_landmark.task locally?
I tried to use the get_output_details function to output the model's outputs, and the results are as follows:

input_details:

  • index: 0
  • name: input_1
  • shape: [ 1 192 192 3]
  • datatype: <class 'numpy.float32'>

output_details:

  • index: 279

  • name: Identity

  • shape: [ 1 2016 18]

  • dtype: <class 'numpy.float32'>

  • index: 276

  • name: Identity_1

  • shape: [ 1 2016 1]

  • dtype: <class 'numpy.float32'>

The number 2016, as I understand it, refers to the 2016 SSD anchor boxes within a 192x192 resolution image. The output of 120161 is understood as the score for each anchor box. But what does the output of 1201618 represent? Could it be that the model only selects 2016 pixel points, and the number 18 represents the size information of the anchor boxes of different scales for each pixel point?

@kuaashish kuaashish added type:tflite TensorFlow Lite task:hand landmarker Issues related to hand landmarker: Identify and track hands and fingers platform:python MediaPipe Python issues type:support General questions labels Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform:python MediaPipe Python issues task:hand landmarker Issues related to hand landmarker: Identify and track hands and fingers type:support General questions type:tflite TensorFlow Lite
Projects
None yet
Development

No branches or pull requests

2 participants