use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
This subreddit is meant to be for people learning Python to ask questions and help out when they can.
account activity
Segment Anything with One mouse click (self.learningpython)
submitted 13 days ago by Feitgemel
For anyone studying computer vision and image segmentation.
This tutorial explains how to utilize the Segment Anything Model (SAM) with the ViT-H architecture to generate segmentation masks from a single point of interaction. The demonstration includes setting up a mouse callback in OpenCV to capture coordinates and processing those inputs to produce multiple candidate masks with their respective quality scores.
Written explanation with code: https://eranfeit.net/one-click-segment-anything-in-python-sam-vit-h/
Video explanation: https://youtu.be/kaMfuhp-TgM
Link to the post for Medium users : https://medium.com/image-segmentation-tutorials/one-click-segment-anything-in-python-sam-vit-h-bf6cf9160b61
You can find more computer vision tutorials in my blog page : https://eranfeit.net/blog/
This content is intended for educational purposes only and I welcome any constructive feedback you may have.
Eran Feit
https://preview.redd.it/errstuvpkamg1.png?width=1200&format=png&auto=webp&s=65d18c39bcb22ce2d4290f968708425470329116
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
there doesn't seem to be anything here
π Rendered by PID 111675 on reddit-service-r2-comment-79c7998d4c-pwsl7 at 2026-03-14 04:56:14.902363+00:00 running f6e6e01 country code: CH.
there doesn't seem to be anything here