[Vanhackspace] python options dialog

dan anderson dan.j.anderson at gmail.com
Wed Apr 15 01:05:20 PDT 2009


Oh, right, I forgot that it's written in python. If they're using this
library, or one whose image data converts easily, one can control
brightness and contrast of images - these are not in the hardware and
so are coarser and less useful, but are computationally cheap:
currentImage = ImageEnhance.Brightness(camera.getImage()).enhance(brightness)
processedImage = ImageEnhance.Contrast(cuerrentImage, contrast)

2009/4/15 dan anderson <dan.j.anderson at gmail.com>:
> As long as the video camera opens via:
>
> from VideoCapture import Device
> camera = Device(1)
>
> Then the following two lines will open useful camera settings, which
> will allow us to have a clean initial image to start with, making
> calibration easier and giving better data because of reduced noise and
> a wider usable range.
>
> camera.displayCapturePinProperties()
> camera.displayCaptureFilterProperties()
>
> When it gets to finishing touches (possibly never) would matte
> blacking the interior (not just the inside lips of the rails) stop
> much of that background IR? It might be possible to put aligned
> polarizers in front of both the lights and the camera lens so that it
> could be used with  My materials knowledge is terrible; are there low
> cost polarizing materials with high IR pass? It would need more or
> higher output LEDs to hit the same total lumens, but it would filter
> out a great deal of bg noise. Hell, the easiest and most efficient way
> to do it, if the material's cheap enough, is to just lay a sheet over
> the bottom side.
>
> It was a blast, I hope to make it next week.
>
> -Dan
>


More information about the Vanhackspace mailing list