Giter VIP home page Giter VIP logo

godotcamera's Introduction

GodotCamera

How to use

  • Download source Godot 2.1.5 stable "godot-2.1.5-stable.tar.xz" (https://downloads.tuxfamily.org/godotengine/2.1.5/).

  • Unzipe the module/GodotCamera.zip

  • Drop the module/GodotCamera folder inside godot/modules

  • Move the module/GodotCamera.java to godot/platform/android/java/src/org/godotengine/godot

Compile

  1. #> scons platform=android
  2. cd godot/platform/android/java
  3. #> ./gradlew build
  4. The custom apk will be available at godot/bin, android_debug.apk and android_release.apk

Configure

Add the following in the engine.cfg file:

[android] modules="org/godotengine/godot/GodotCamera"

Example

See the example to learn more about how it works

Export

Export->Target->Android

Custom Package (Debug/Release):

Point to the newly built apk

Permission check: CAMERA, READ/WRITE _EXTERNAL_STORAGE

Common Errors

  • You open the game, and it locks and closes: Check the above permissions

TODO

  • Camera preview in scene or object like a TextureFrame, Sprite or other.
  • Fix rotate camera
  • Auto-Taken after seconds or face-dectect
  • Loader
  • Picture Resize / Quality
  • AI / Face detect, recognize

####License MIT

###Special Mention Thanks TeamGeraçãoWeb

godotcamera's People

Contributors

thrbr84 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.