dinglufe / segment-anything-cpp-wrapper

MIT License
221 stars 34 forks source link

It takes a long time to run "sam.loadimage" ,How to reduce running time? #47

Closed zhutouff12 closed 4 months ago

zhutouff12 commented 5 months ago

Inference by cpu,the image size is 2000*2000,It takes a long time to run "sam.loadImage(image)",about3minutes,why is it happen?How can I improve the running speed?thanks for your answer!

dinglufe commented 5 months ago

The MobileSAM model is much faster, compared to the original SAM.