Add an easy camera example#7
Add an easy camera example#7joerick merged 1 commit intonordprojects:masterfrom TobiasSchaffner:screenshot
Conversation
Add a channel called ScreenShot that uses the camera class from the android things doorbell example to take a picture. The picture will be projected afterwards.
|
Hey @TobiasSchaffner ! Sorry for the delay in looking at this, we've been busy. The code looks good. Did you make a lantern? :D How does this one work? Does choosing this channel from the list take a picture and reproject? Any problems with the camera capturing the projected image or is it always black when the picture is taken? |
|
Hi joerick, yes I build one myself to make some augmented reality experiments with openCV and/or tensorflow and to get in touch with the android/java/kotlin world. : ) Thanks for that awesome project. When selecting the channel the projector turns black for 3 seconds so the user is able to move something under the lamp. After capture the picture is projected. To make another picture the user can just select the channel again. It is no big deal but a first step to working with camera input and reacting with some output. For example one could build something similar to: |
|
Amazing! That sounds great. I'll merge your code now. We'd love to see a photo of your lantern as well if possible? :) |
Add a channel called ScreenShot that uses the camera class from the android things doorbell example to take a picture.
The picture will be projected afterwards.
The idea is that this can be used to copy a drawing or to project hand written information.