Skip to content

Commit

Permalink
Merge pull request #104 from quantumcode-martin/main
Browse files Browse the repository at this point in the history
Fixed bbox in code demo
  • Loading branch information
berry-ding authored Nov 27, 2023
2 parents a615011 + 4077233 commit a702418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ prompt_process = FastSAMPrompt(IMAGE_PATH, everything_results, device=DEVICE)
ann = prompt_process.everything_prompt()

# bbox default shape [0,0,0,0] -> [x1,y1,x2,y2]
ann = prompt_process.box_prompt(bbox=[[200, 200, 300, 300]])
ann = prompt_process.box_prompt(bbox=[200, 200, 300, 300])

# text prompt
ann = prompt_process.text_prompt(text='a photo of a dog')
Expand Down

0 comments on commit a702418

Please sign in to comment.