Bulk remove images with caption (text in image)

Discussion in 'Programming' started by rejoin14, Feb 13, 2017.

  1. rejoin14

    rejoin14 Regular Member

    Joined:
    Jul 4, 2016
    Messages:
    221
    Likes Received:
    43
    Is there a way to remove all images from my folder that contains text in my image?

    For example I have 500 images and on 100 images is a caption like "abcdef.com." Is it possible to remove such images from my folder that I have at the end only images without any caption / watermark on this folder?
     
  2. Netro

    Netro Junior Member

    Joined:
    Jun 12, 2015
    Messages:
    107
    Likes Received:
    27
    Occupation:
    Baka Dev.
    No. As far as I know is not possible. I'm quite good at programming, but I don't see myself nor a lot of good programmers capable of writing such tool, not even in 100 years.
     
  3. HoNeYBiRD

    HoNeYBiRD Jr. VIP Jr. VIP

    Joined:
    May 1, 2009
    Messages:
    8,063
    Likes Received:
    8,914
    Gender:
    Male
    Occupation:
    Geographer, Tourism Manager
    Location:
    Ghosted
    There are tools which can group visually similar images (even if they're different resolution, color etc.), not just 1:1 clones, but you'd need something complicated than that.
    Maybe not the only but your best option is a freelancer, if you aren't willing to do it yourself.
     
  4. DR3MZ

    DR3MZ Newbie

    Joined:
    Jan 23, 2013
    Messages:
    31
    Likes Received:
    10
    Occupation:
    Freelance Software Developer
    You could use some OCR to extract text from images and depending on that make a decision if it is a watermark or not.
     
  5. John Escalona

    John Escalona Regular Member

    Joined:
    Nov 22, 2016
    Messages:
    317
    Likes Received:
    38
    Gender:
    Male
    Occupation:
    Affiliate Manager
    Home Page:
    Well to prevent situations like this is by backing up images without watermarks/text before you watermark them.
    That way you have two batches, a watermarked and not watermarked ones. You can delete away those watermarked ones while still having the batch of original unmarked ones.
     
  6. Tier.Net

    Tier.Net Newbie

    Joined:
    Feb 22, 2017
    Messages:
    16
    Likes Received:
    1
    Occupation:
    Web Hosting Company
    I think the OP is saying he already has a batch of files and some are watermarked and some are not and he wants to separate them.