Results 1 to 2 of 2

Thread: How can I detect certain images (from a detection algorithm) by taking a screenshot?

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2018
    Posts
    51

    Question How can I detect certain images (from a detection algorithm) by taking a screenshot?

    I have a program which I'm writing, which scans images from a selected directory, then those photos are compared to an algorithm which detects pornographic imagery, and if an image is detected, a Label.Text says: "Pornographic imagery detected."


    It works great, but instead of having to go through the UI, select what directory you want to scan, I think it's easier to do something else:


    How can I,

    1. Take a screenshot every two seconds

    2. After that screenshot has been took, it gets submitted for scanning by the program

    3. Once that scanning has finished, the screenshot is deleted then a new screenshot is taken.

    4. This goes on for an infinite loop.

    5. If any pornographic material is detected, a MessageBox appears.


    I think it's easier that I link you to a project, as putting in all of the code will look extremely messy.

    Here is a Google Drive link:


    And this is the VirusTotal scan for the FileScanner.exe:


    https://www.virustotal.com/#/file/71...c326/detection
    Last edited by Shaggy Hiker; Sep 3rd, 2018 at 09:00 AM. Reason: Removed link.

  2. #2
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,102

    Re: How can I detect certain images (from a detection algorithm) by taking a screensh

    The forum does not permit linking to compiled code. Therefore, I removed the link, since FileScanner.exe is not allowed. If you want to post the source code, you can do that, but the compiled code is not allowed.

    I don't see much point in linking to anything at this point, anyways. The question seems to be about taking a screenshot. You say that the program works great if you first select an image (or a directory), then at worst, you could save the screenshot to a specific directory and always just scan that directory. More likely, you have a means to pass a specific file to the program, in which case you can pass a specific screenshot, as well. If that is the case, the program isn't relevant, just getting the screenshot, and perhaps formatting it, is all that is necessary.
    My usual boring signature: Nothing

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width