How to get live frames from a camera preview?? #2506
Comments
Hey @shreyakamoji96 , can you please let me know how you achieved this? Can you please share the code to pass frames from live preview to tensorflow? Thanks. |
Check this #2505 |
I have just implemented camera live preview, not grabbing the live frames. Actually even I wanted the live frames that was the question. If you get any solution please let me know too. Thanks |
@shreyakamoji96 can you please tell me how did you implemented this camera live preview :/ ? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You may also mark this issue as a "discussion" and i will leave this open. |
Closing this issue after a prolonged period of inactivity. Fell free to reopen this issue, if this still affecting you. |
Have you found any solution, @awaishere? I've opened an issue ( #2984 ) but still no response. |
Nope, i haven't found it yet. |
I'm using this fork and taking pictures in a specific interval, then i use the taken images. |
Still ? |
Still? |
Still. :( |
Still? |
I tried implementing this in my project to recognize fruits from camera preview in real-time using TensorFlow. Instead of grabbing the frames and converting it to jpeg format or base64 string and passing it to javascript, I grabbed the frames via TextureView.getBitmap() from CameraView and feed it to TensorFlow for image recognition and passed the results to Javascript. It's fast and could process frames in real-time. If you're going to convert the byte[] data from onFramePreview to other formats, it may take a while to pass it to javascript.
How to capture live frames in javascript
The text was updated successfully, but these errors were encountered: