I am attempting to port over a large computer vision C# project to Android and would like to use Xamarin. I have the Camera2Basic example up and running and would like to begin to modify it as a starting point. Answers to ANY of the following questions would be very helpful:
1. How would I access pixel data from the camera, in the Camera2Basic example, in a way that is as fast as using the unsafe keyword, along with pointers to the image data, as is done in C#.NET? (A method that is memory managed will likely be way too slow.)
2. Is it possible to get the video feed from a USB camera attached with a USB OTG cable? If so, do you know of any examples?
Any advice is appreciated,