Skip to content
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

Camera Image in Bytes or ImageProxy format #1286

Open
danilofariadutra opened this issue Apr 9, 2024 · 5 comments
Open

Camera Image in Bytes or ImageProxy format #1286

danilofariadutra opened this issue Apr 9, 2024 · 5 comments

Comments

@danilofariadutra
Copy link

How can I receive byte or ImageProxy data from the camera?

@dji-dev
Copy link
Contributor

dji-dev commented Apr 9, 2024

Agent comment from yating.liao in Zendesk ticket #104527:

Could you please clarify if the camera images you are referring to are pictures from the camera's SD card or live camera feed?

Thank you.

°°°

@danilofariadutra
Copy link
Author

live camera feed

@dji-dev
Copy link
Contributor

dji-dev commented Apr 10, 2024

@danilofariadutra
Copy link
Author

What if I get the bitmap through the "getBitmap" method of a TextureView object. Is it a valid operation?

@dji-dev
Copy link
Contributor

dji-dev commented Apr 19, 2024

Agent comment from yating.liao in Zendesk ticket #104527:

If you have successfully displayed the camera image on TextureView, I think that is effective. If you need to obtain continuous video frame data multiple times, I think using callback to push YUV data and then converting it to a bitmap may be a better way.

°°°

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants