Giter Site home page Giter Site logo

rikinpatoliya / camerakit-android Goto Github PK

View Code? Open in Web Editor NEW

This project forked from camerakit/camerakit-android

0.0 2.0 0.0 17.4 MB

One of the hardest Android APIs made into a high level and easy to use library that solves all of your problems.

Home Page: https://www.camerakit.website

License: MIT License

Java 37.38% CMake 0.14% C++ 62.43% Shell 0.05%

camerakit-android's Introduction

CameraKit Header

Build Status CircleCI Code Climate Code Climate Code Climate

CameraKit takes one of the hardest Android APIs and makes it into a high level and easy to use library that solves all of your problems.

With CameraKit you are able to seamlessly do the following...

  • Image and video capture seamlessly working with the same preview session.
  • Automatic system permission handling.
  • Automatic preview scaling.
    • Create a CameraView of any size (not just presets!).
    • Automatic output cropping to match your CameraView bounds.
  • Multiple capture methods.
    • METHOD_STANDARD: an image captured normally using the camera APIs.
    • METHOD_STILL: a freeze frame of the CameraView preview (similar to SnapChat and Instagram) for devices with slower cameras.
    • Coming soon: METHOD_SPEED: automatic capture method determination based on measured speed.
  • Built-in continuous focus.
  • Built-in tap to focus.
  • Coming soon: Built-in pinch to zoom.

Setup

Add CameraKit to the dependencies block in your app level build.gradle:

compile 'com.wonderkiln:camerakit:0.11.2'		

Usage

To use CameraKit, simply add a CameraView to your layout:

<com.wonderkiln.camerakit.CameraView
    android:id="@+id/camera"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:adjustViewBounds="true" />

Make sure you override onResume and onPause in your activity, and make calls respectively to CameraView.start() and CameraView.stop().

@Override
protected void onResume() {
    super.onResume();
    cameraView.start();
}

@Override
protected void onPause() {
    cameraView.stop();
    super.onPause();
}

Detailed Documentation

To check out detailed docs, visit our Documentation Website

Sponsors

License

CameraKit is MIT License

camerakit-android's People

Contributors

dwillmc avatar austinkettner avatar yperess avatar noln avatar andreidiaconu avatar android-dataticket avatar andrewgable avatar eomine avatar andrewcross avatar nethergrim avatar anpez avatar capezzbr avatar calebdre avatar suomi35 avatar larryng avatar elevenfive avatar vanhoangtran avatar gasoline-joe avatar dogs-never-lie avatar muratgu avatar shehabic avatar

Watchers

James Cloos avatar Rikin Patoliya 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.