|
-
Sep 3rd, 2018, 01:42 AM
#1
Thread Starter
Member
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.
-
Sep 3rd, 2018, 09:04 AM
#2
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|