Skip to content

Himank-J/DocumentEdgeDetect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

The Fast Segment Anything Model(FastSAM) is a CNN Segment Anything Model trained using only 2% of the SA-1B dataset published by SAM authors. FastSAM achieves comparable performance with the SAM method at 50× higher run-time speed.


FastSAM vs SAM

Screenshot 2024-07-27 at 12 52 47 PM

Types of Prompt in FastSAM

Screenshot 2024-07-27 at 12 54 35 PM

Model Checkpoints

Two model versions of the model are available with different sizes. Click the links below to download the checkpoint for the corresponding model type.

In below demo I have made used of default or FastSAM model


FastSAM for Document Edge Detection:

Demo 🔗

Screenshot 2024-07-27 at 12 59 45 PM

As seen in above image, without any custom training FastSAM is able to identify the document while ignoring the background. Hence this model can be used for cropping and removing background from images.


References

1.) FastSAM

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages