Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an easy camera example #7

Merged
merged 1 commit into from
Jul 11, 2018
Merged

Add an easy camera example #7

merged 1 commit into from
Jul 11, 2018

Conversation

TobiasSchaffner
Copy link

@TobiasSchaffner TobiasSchaffner commented Jun 28, 2018

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.

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.
@joerick
Copy link
Member

joerick commented Jul 11, 2018

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?

@TobiasSchaffner
Copy link
Author

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:
https://codelabs.developers.google.com/codelabs/androidthings-classifier/
and project a textview with what tensorflow detected.

@joerick
Copy link
Member

joerick commented Jul 11, 2018

Amazing! That sounds great. I'll merge your code now.

We'd love to see a photo of your lantern as well if possible? :)

@joerick joerick merged commit 4505508 into nordprojects:master Jul 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants