You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
The clustering algorithm leaves the parts of the masked images that aren't part of the clustered class black. This makes it incredibly hard for Google to classify them. Using some clever algorithm to remove these black spots can help a lot.
Expected behavior
Ideally, it should mask out nearby, similar pixels but it doesn't. This leaves massive, unstructured black gaps that cause a lot of issues when reverse searching.
Screenshots
Additional context
Google generally returns language or night when there is too much black. The solution would be something like this:
Find each masked image's edge pixels.
Compute all possible lines that can be formed from edge pixels.
Crop image at that line if all pixels in the line are black.
This is super computationally intensive, however.
The text was updated successfully, but these errors were encountered:
Description
The clustering algorithm leaves the parts of the masked images that aren't part of the clustered class black. This makes it incredibly hard for Google to classify them. Using some clever algorithm to remove these black spots can help a lot.
To Reproduce
Steps to reproduce the behavior:
Put this image in your script directory:
Run this:
Expected behavior
Ideally, it should mask out nearby, similar pixels but it doesn't. This leaves massive, unstructured black gaps that cause a lot of issues when reverse searching.
Screenshots
Additional context
Google generally returns
language
ornight
when there is too much black. The solution would be something like this:This is super computationally intensive, however.
The text was updated successfully, but these errors were encountered: