can i get a camera's preview frame on easyar ver 1.3

+1 vote
asked May 18, 2018 by supple (190 points)
hi.

i have a question about camera preview frame.

in easyar ver 1.3 , can i get a camera's preview frame ??

if so then, how do i get a frame?

thank you :)

2 Answers

–1 vote
answered May 18, 2018 by albert52 (31,850 points)
0 votes
answered Jun 6, 2018 by derzuomaia (1,190 points)

Yes, you can.

You need to get the Frame from the CameraFrameStreamer, than get the byte array and convert the YUV_NV21 to RGB. I have just answered that on this question:

https://answers.easyar.com/1672/is-there-a-way-to-access-the-current-camera-frame-in-android?show=1672#q1672

Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.
...