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

Changed 'OnCapturedPhotoToDisk' to 'OnCapturedPhotoToMemory'. #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RScopio
Copy link

@RScopio RScopio commented Jul 13, 2017

At the moment the program writes the image to the disk then reads the image from disk before sending it to Microsoft Cognitive Services. Which seems inefficient. I changed it so that after taking a photo, the program grabs the raw photo data, encodes it to png then sends it without ever having to write or read it from the disk. Also cleaned out the empty update function.

…moment the program writes the image to the disk then reads the image from disk before sending it to Microsoft Cognitive Services. Which seems inefficient. I changed it so that after taking a photo, the program grabs the raw photo data, encodes it to png then sends it without ever having to write or read it from the disk.
@RScopio
Copy link
Author

RScopio commented Jul 19, 2017

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.

None yet

1 participant