This repository was archived by the owner on Feb 3, 2026. It is now read-only.
Android Live processing: You need to look like Travel Monkey in order to continue#23
Open
ymebrugts wants to merge 1 commit intojfversluis:masterfrom
Open
Android Live processing: You need to look like Travel Monkey in order to continue#23ymebrugts wants to merge 1 commit intojfversluis:masterfrom
ymebrugts wants to merge 1 commit intojfversluis:masterfrom
Conversation
-Added Face API -Added native Camera 2 implementation -MVVM
Contributor
|
Thanks for completing the challenge! Fill out this form so we can send you the swag! https://aka.ms/cog-svcs-swag |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi there,
For the android side I added a native camera2 implementation for live frame processing so I can do some fun stuff in the app. Processing is done before the picture is taken right during preview completely async.
I changed the Travel Monkey and the app will give you instructions on what to do during recording. You can only continue if you listen to the instructions that Travel Monkey gives you.
Problems I encountered
-The FaceAPI force closes streams I still need afterwards (DetectWithStreamAsync) so I needed to copyasync in 2 places.
-It's hard to get camera frames and get them into the Xamarin project. I think Xamarin could benefit from a generic camera implementation. Camera2 is also very finnicky with the height/width.
-XAML for a fullscreen native renderer with a bottom bar is also finnicky
-The "TakePhotoCommandValidation" command executed in an unexpected order. Almost seemed like a bug in the VS debugger. "PhotoSource =" on line 130 executes after line 134 "await Post()" which is really weird. Debugger.Break(); only triggers once confirming that only 1 thread entered the function. (file: FaceValidationViewModel.cs)
Here is the original repo: https://github.com/ymebrugts/monkey-xamarin-challenge