trying to take photo and run arcore for orientation detection using shared camera approach in java

14 hours ago 3
ARTICLE AD BOX

so i am working on a project where I want to capture a image but also use arcore at the same time to track the orientation of the device

this is the google drive link where I have a code and log:https://drive.google.com/drive/folders/1CZLMQIGxtPhD8dqXe2z-xVGrt_lFmSqJ?usp=sharing

I am a student and I don't have much knowledge about this I am trying to learn something most of this code is ai generated but I am stuck at a problem that even ai is not able to solve

now in this code the camera preview seems to works fine but for some reason I cannot get the arcore to work and get the orientation, in the log it shows that the state of arcore is paused but I don't know why please anyone out there who knows whats wrong then please help me

Read Entire Article