-
Notifications
You must be signed in to change notification settings - Fork 131
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
External camera Android #164
Comments
Hi, if I understand correctly, this is an external camera supported by other Android camera apps? If so, it might be as simple as requesting the external camera in the configuration. I've listed the options here: https://github.com/artoolkitx/artoolkitx/wiki/artoolkitX-video-module-configuration-reference#ar_video_module_android. If the camera correctly registers itself as external, you might be able to connect to it by using video config string of |
Hi, the device was not recognized as an external camera (((. It only have function |
Ah, so if the camera interface is via java methods, you'll need to manually feed the frames to the native side. The new videoExternal module supports this. I can help some more from mid-next week. |
Hi, i'm back. May you describe a way to use external camera? |
I don't see anything in the Moverio SDK docs on the format of the buffers returned, but I guess a reasonable guess would be that they're NV21 format. Since you will need to pass the video frames to artoolkitX externally, you will need to make a couple of changes in ARController.java's start() method. At https://github.com/artoolkitx/artoolkitx/blob/master/Source/ARXJ/ARXJProj/arxj/src/main/java/org/artoolkitx/arx/arxj/ARController.java#L141, change it to You'll need to use the CaptureDataCallback2 type:
Also, you must call |
I have a problem when using an external Epson bt35 e camera. There is a code that captures and sends a frame in ByteArray format. i want to use frame to ARTracking2d. But I don't really understand what needs to be changed in the program. I See a r w Android Video Puss In it but I'm not sure if this is the right function. Tell me, please, is it theoretically possible to use a frame from an external camera, or maybe you have some kind of program?
The text was updated successfully, but these errors were encountered: