meh.
meh.
@lyudmil yeah, that works, you just have to add the `LICENSE` as a comment at the top of the file.
@lyudmil you could always add it in the `__END__` section and eval it at the beginning.
@lyudmil calling `#digest` again seems to reset the internal state.
I'm having the same issue.
I was thinking about it, the problem is I don't have a webcam nor a light sensors :panda_face:
Actually I think I do have a light sensor, looking into it.
Yeah, I'm definitely going to add the webcam one. I did some research and interacting with the light sensors seems to be hell on earth with inconsistent sysfs interfaces between...
@brandonedens nice, if you have any questions about the code don't hesitate to ask.
@Celti I think the algorithm used would be different to have decent enough results.
@Celti my doubt is mostly whether or not averaging the luminance of what the camera is seeing would map correctly or well to the luminance the person perceives around them.