Lamelynx / GodotGetImagePlugin-Android

Godot plugin to select image from gallery or camera on Android device.
MIT License
71 stars 4 forks source link

Auto Capture #7

Closed mthnzbk closed 3 years ago

mthnzbk commented 3 years ago

Can we enable automatic photo capture with the getCameraImage() method? I need such a feature.

Lamelynx commented 3 years ago

I presume you whant to take a photo directly with a call to the plugin? This is not possible due to plugin uses the default camera app. To make this work you need to implement a whole camera application into the plugin. You may look into CameraServer https://docs.godotengine.org/en/stable/classes/class_cameraserver.html . The documentation on this is a bit lackning tough.

mthnzbk commented 3 years ago

It does not support Android.

Lamelynx commented 3 years ago

You may edit https://github.com/funabab/godot-camera-plugin to get what you want. The plugin has implement a camera into the plugin.

mthnzbk commented 3 years ago

modul not working