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

Add Mask and Remove Area functions #247

Open
pigMan15 opened this issue Sep 2, 2024 · 2 comments
Open

Add Mask and Remove Area functions #247

pigMan15 opened this issue Sep 2, 2024 · 2 comments

Comments

@pigMan15
Copy link

pigMan15 commented Sep 2, 2024

How to use the API corresponding to the point prompt mode to implement the Add Mask and Remove Area functions?
eg:
# point prompt
# points default [[0,0]] [[x1,y1],[x2,y2]]
# point_label default [0] [1,0] 0:background, 1:foreground
ann = prompt_process.point_prompt(points=[[620, 360]], pointlabel=[1])
Attempted to follow the parameter method mentioned above, but it did not take effect?

@pigMan15
Copy link
Author

pigMan15 commented Sep 2, 2024

Do I need to calculate the area by using the coordinates from the front and rear images? Can the model directly provide the calculation results?

@Armadillooutfitter
Copy link

Armadillooutfitter commented Sep 2, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants