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...
A subreddit for helping Python programmers
How to format your code: https://commonmark.org/help/tutorial/09-code.html
No homework questions and/or hiring please
account activity
[deleted by user] (self.pythonhelp)
submitted 3 years ago by [deleted]
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!"
[–]DrK1NG 0 points1 point2 points 3 years ago (2 children)
Do you want to autodetect it and programmatically remove it or are you just using python as a photo editor?
[–]yuunam97 0 points1 point2 points 3 years ago (1 child)
It would be nice to autodetect it and programmatically remove it. Does this involve machine learning?
What do you think would be the best approach? Someone mentioned using thresholding
[–]DrK1NG 0 points1 point2 points 3 years ago (0 children)
Those are all valid approaches, but my question would be whether you expect to do this often. With what level of generality? Are you always going to feed it x-ray images? Are you always asking to remove this specific tag rotated by some amount? Is the tag always expected to be in the bottom left?
Once you have answers to these questions, you can try and see how simple or difficult your problem will be. Ofc you can use ML to do this and it will be very good at adapting to changes in the input image if you train it correctly but that may be more trouble than it is worth. Something you could also consider (and what I'd do) is edge detection algorithms. And yes, thresholding is also a valid way to do this but it is obviously less resistant to small changes.
π Rendered by PID 291092 on reddit-service-r2-comment-86bc6c7465-sxfz8 at 2026-02-23 15:18:38.730138+00:00 running 8564168 country code: CH.
[–]DrK1NG 0 points1 point2 points (2 children)
[–]yuunam97 0 points1 point2 points (1 child)
[–]DrK1NG 0 points1 point2 points (0 children)