mediapipe icon indicating copy to clipboard operation
mediapipe copied to clipboard

Decoding the iris detection output

Open FSet89 opened this issue 3 years ago • 7 comments

According to the model card, the output for iris detection are 74+5 2D landmarks coordinates. However, I am getting 213 outputs, including negative numbers. How can I retrieve the specified coordinates?

FSet89 avatar May 14 '22 16:05 FSet89

Hi @FSet89 , Could you share your code changes w.r.t above issue to investigate further on this.

sureshdagooglecom avatar May 18 '22 05:05 sureshdagooglecom

model_path = 'iris_landmark.tflite'
interpreter = tf.lite.Interpreter(model_path=model_path)
interpreter.allocate_tensors()
input_details = interpreter.get_input_details()
output_details = interpreter.get_output_details()
print(output_details)

[{'name': 'output_eyes_contours_and_brows', 'index': 384, 'shape': array([ 1, 213], dtype=int32), 'shape_signature': array([ 1, 213], dtype=int32), 'dtype': <class 'numpy.float32'>, 'quantization': (0.0, 0), 'quantization_parameters': {'scales': array([], dtype=float32), 'zero_points': array([], dtype=int32), 'quantized_dimension': 0}, 'sparsity_parameters': {}}, {'name': 'output_iris', 'index': 385, 'shape': array([ 1, 15], dtype=int32), 'shape_signature': array([ 1, 15], dtype=int32), 'dtype': <class 'numpy.float32'>, 'quantization': (0.0, 0), 'quantization_parameters': {'scales': array([], dtype=float32), 'zero_points': array([], dtype=int32), 'quantized_dimension': 0}, 'sparsity_parameters': {}}]

FSet89 avatar May 18 '22 12:05 FSet89

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you.

google-ml-butler[bot] avatar May 25 '22 13:05 google-ml-butler[bot]

Closing as stale. Please reopen if you'd like to work on this further.

google-ml-butler[bot] avatar Jun 01 '22 13:06 google-ml-butler[bot]

Are you satisfied with the resolution of your issue? Yes No

google-ml-butler[bot] avatar Jun 01 '22 13:06 google-ml-butler[bot]

Closing as stale. Please reopen if you'd like to work on this further.

google-ml-butler[bot] avatar Jun 09 '22 04:06 google-ml-butler[bot]

Are you satisfied with the resolution of your issue? Yes No

google-ml-butler[bot] avatar Jun 09 '22 04:06 google-ml-butler[bot]

Hello @FSet89, We are upgrading the MediaPipe Legacy Solutions to new MediaPipe solutions However, the libraries, documentation, and source code for all the MediapPipe Legacy Solutions will continue to be available in our GitHub repository and through library distribution services, such as Maven and NPM.

You can continue to use those legacy solutions in your applications if you choose. Though, we would request you to check new MediaPipe solutions which can help you more easily build and customize ML solutions for your applications. These new solutions will provide a superset of capabilities available in the legacy solutions. Thank you

kuaashish avatar May 05 '23 10:05 kuaashish

This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.

github-actions[bot] avatar May 13 '23 01:05 github-actions[bot]

This issue was closed due to lack of activity after being marked stale for past 7 days.

github-actions[bot] avatar May 21 '23 01:05 github-actions[bot]

Are you satisfied with the resolution of your issue? Yes No

google-ml-butler[bot] avatar May 21 '23 01:05 google-ml-butler[bot]