-
Notifications
You must be signed in to change notification settings - Fork 11
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
Live streaming #5
Comments
Converting the image from YUV to RGBA on the server should be faster, so I believe you can convert the _savedImage.planes list to base64, send that over to the server, and if you need you can convert it to RGBA. I haven't converted an image to base64 with dart/flutter before, but I believe you can find a solution to here: https://stackoverflow.com/questions/50036393/how-to-convert-an-image-to-base64-image-in-flutter |
Thank you for the quick response. |
I've never used python with C, but I'm pretty sure there is an easier way to do the yuv to rgba conversion with python and opencv. I did a quick search and I came across this: I hope this helps :) |
Hey Hugand. Love your work. So I've been trying to send live frames to server after converting to base64. But the conversion from yuv to normal image for every image captured takes a lot of time. Is it possible to make it real-time? I just want to send every frame to the server and I can't convert yuv or bgra directly to base64 . Please help.
The text was updated successfully, but these errors were encountered: