store the x-y coordinates of the generated masks into json file #399
Unanswered
aymanaboghonim
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I want to know how to edit the predict script to be able to output the x-y coordinates directly from the generated masks to store them in json file ??
the generated mask shape is (2, 512, 512), so how to extract the co-ordinates from it ??
I know how to extract the coordinates from the .png image by cv2.contour method but I want a direct solution.
Beta Was this translation helpful? Give feedback.
All reactions