Search the Community
Showing results for tags 'brightness'.
-
So I don't have any code cooked up yet as this is still in the theoretical stage. Just looking for some advice. My current idea is to resize the image to 1x1 pixel, probably using _GDIPlus_ImageResize, and read the color of the resulting pixel to obtain an admittedly very general sense of brightness. Does anyone think this could work? We have a CCTV system running at home using some home made cameras (raspberry pi) and we're trying to automate toggling settings for day/night time. We started with an AutoIt script that checked sunrise and sundown times for our location (calculations pulled from here) and toggled the settings based on that. Unfortunately our weather varies wildly, so it can get light/dark far outside normal sunrise/sundown times. Now we're hoping to periodically grab a still from the camera and toggle the light mode based on that.
-
i searched the forum, but didn't find anything. has anyone an idea or ever done it with autoit ? simple image transforming, like sharpness, brightness, blurring etc. ? maybe, does gdiplus.dll feature that ? here is a tutorial on how to do it the hard (mathematical) way. http://lodev.org/cgtutor/filtering.html before i try that, i wanted to know if there is already an existing project or an idea or anyone has experiences. thx