-
Notifications
You must be signed in to change notification settings - Fork 43
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
Record video (in my own code) while VisionManager is running #260
Comments
Hey @billylo1, is the question still relevant? |
Hi, This is what I built for iOS. sidekick-app.com. Mapbox vision can coexist with standard camera api there... hoping to do the same thing on Android. |
I had the same issue and I found a walkaround. Since you have your own recording I am assuming you have a previewView sort of thing. So instead of creating the VisionManager and attaching it to the camera, you can attach it to a customVideoSource This allows you to decouple the detection fps from the UI fps. |
thanks! Let me give it a try. |
Given the VisionManager.startRecording is for debugging only, I am trying to find a simple way to record the video using my own code.
I used Google's Camera2 video recorder sample as starting point. https://github.com/googlearchive/android-Camera2Video
And then add the VisionManager start into onResume().
The result is somewhat strange... it seems to work initially, but after 5 minutes. The app crashes with this in logcat.
Any hints on how to do my own video recording?
thanks,
The text was updated successfully, but these errors were encountered: