FastSAM icon indicating copy to clipboard operation
FastSAM copied to clipboard

Add Mask and Remove Area functions

Open pigMan15 opened this issue 1 year ago • 2 comments

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 avatar Sep 02 '24 09:09 pigMan15

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?

pigMan15 avatar Sep 02 '24 09:09 pigMan15

Theai can for youSent from my T-Mobile 5G Device -------- Original message --------From: pigMan @.> Date: 9/2/24 5:57 AM (GMT-05:00) To: CASIA-IVA-Lab/FastSAM @.> Cc: Subscribed @.***> Subject: Re: [CASIA-IVA-Lab/FastSAM] Add Mask and Remove Area functions (Issue #247) 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?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

Armadillooutfitter avatar Sep 02 '24 10:09 Armadillooutfitter