All Projects → CameraKit → Camerakit Android

CameraKit / Camerakit Android

Licence: mit
Library for Android Camera 1 and 2 APIs. Massively increase stability and reliability of photo and video capture on all Android devices.

Programming Languages

java
68154 projects - #9 most used programming language
c
50402 projects - #5 most used programming language
C++
36643 projects - #6 most used programming language
kotlin
9241 projects

Projects that are alternatives of or similar to Camerakit Android

Cameraview
📸 A well documented, high-level Android interface that makes capturing pictures and videos easy, addressing all of the common issues and needs. Real-time filters, gestures, watermarks, frame processing, RAW, output of any size.
Stars: ✭ 4,137 (-19.37%)
Mutual labels:  camera, camera-api, capture-video
Jpegkit Android
Efficient JPEG operations for Android without the risk of an OutOfMemoryException.
Stars: ✭ 154 (-97%)
Mutual labels:  ndk, native
Androidsecurity
Android安全实践
Stars: ✭ 150 (-97.08%)
Mutual labels:  ndk, native
ng-webcam
ngWebcam is an AngularJS directive for capturing images from your computer's camera, and delivering then to you as data uri.
Stars: ✭ 14 (-99.73%)
Mutual labels:  camera, captured-images
Delta
Programming language focused on performance and productivity
Stars: ✭ 77 (-98.5%)
Mutual labels:  performance, native
Stunning Signature
Native Signature Verification For Android (with example)
Stars: ✭ 139 (-97.29%)
Mutual labels:  ndk, native
libandroidjni
Android JNI bindings library
Stars: ✭ 66 (-98.71%)
Mutual labels:  ndk, native
Android Luajit Launcher
Android NativeActivity based launcher for LuaJIT, implementing the main loop within Lua land via FFI
Stars: ✭ 87 (-98.3%)
Mutual labels:  ndk, native
Custom-Software-For-Xiaomi-Dafang
API and panel site for Xiaomi Dafang
Stars: ✭ 36 (-99.3%)
Mutual labels:  camera, camera-api
ionic-multi-camera
Take multiple photos one after another
Stars: ✭ 12 (-99.77%)
Mutual labels:  camera, native
Android Camera2 Secret Picture Taker
Take pictures 📷 secretly (without preview or launching device's camera app) using Android CAMERA2 API
Stars: ✭ 275 (-94.64%)
Mutual labels:  camera, native
Sanic.js
JS Gotta go fast ! | Increase native JS functions performances
Stars: ✭ 50 (-99.03%)
Mutual labels:  performance, native
MJMediaPicker
A Custom Class to select media from camera ,video or photo library by just adding a single file
Stars: ✭ 15 (-99.71%)
Mutual labels:  camera, capture-video
RxCamera2
Rx Java 2 wrapper for Camera2 google API
Stars: ✭ 27 (-99.47%)
Mutual labels:  camera, camera-api
Firebase Instagram
📸 Instagram clone with Firebase Cloud Firestore, Expo, and React Native 😁😍
Stars: ✭ 389 (-92.42%)
Mutual labels:  camera, native
Entitycomponentsystemsamples
No description or website provided.
Stars: ✭ 4,218 (-17.79%)
Mutual labels:  performance, native
Bigcache
Efficient cache for gigabytes of data written in Go.
Stars: ✭ 5,304 (+3.37%)
Mutual labels:  performance
Profiler
Firefox Profiler — Web app for Firefox performance analysis
Stars: ✭ 546 (-89.36%)
Mutual labels:  performance
Dearpygui
Dear PyGui: A fast and powerful Graphical User Interface Toolkit for Python with minimal dependencies
Stars: ✭ 6,631 (+29.23%)
Mutual labels:  native
Cameraview
[DEPRECATED] Easily integrate Camera features into your Android app
Stars: ✭ 4,735 (-7.72%)
Mutual labels:  camera

CameraKit Header

Google Play Link Join Spectrum Buddy.Works

CameraKit helps you add reliable camera to your app quickly. Our open source camera platform provides consistent capture results, service that scales, and endless camera possibilities.

With CameraKit you are able to effortlessly 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.
    • METHOD_SPEED: automatic capture method determination based on measured speed.
  • Built-in continuous focus.
  • Built-in tap to focus.
  • Built-in pinch to zoom.

Sponsored By

Expensify Buddy.Works

Trusted By

InFitting GooseChase Alpha Apps Expensify

 

Get The Most From CameraKit

There are currently two versions of CameraKit that we support, v1.0.0-beta3.X and v0.13.X.

If photo is your only need, try out the latest and greatest CameraKit features with v1.0.0-beta3.11. Our beta3.11 release does not yet support video, but that feature is coming!

In the meantime, if your application requires video we recommend sticking with v0.13.4; the latest stable release with video implementation.

Use Case Version Notes Documentation Link
Photo only v1.0.0-beta3.11 The latest and greatest CameraKit has to offer. Video support coming soon! camerakit.io/docs/beta3.11
Photo and Video v0.13.4 Stable build with full photo and video support camerakit.io/docs/0.13.4

Documentation Site

Setup instructions for 1.0.0-beta3.11 are below. To see the full documentation head over to our website, camerakit.io/docs.

Setup

To include CameraKit in your project, add the following to your app level build.gradle.

dependencies {
    implementation 'com.camerakit:camerakit:1.0.0-beta3.11'
    implementation 'com.camerakit:jpegkit:0.1.0'
    implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.0'
    implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.0.0'
}

Usage

Create a CameraKitView in your layout as follows:

<com.camerakit.CameraKitView
    android:id="@+id/camera"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:adjustViewBounds="true"
    android:keepScreenOn="true"   <!-- keep screen awake while CameraKitView is active -->
    app:camera_flash="auto"
    app:camera_facing="back"
    app:camera_focus="continuous"
    app:camera_permissions="camera" />

Then create a new CameraKitView object in your Activity and override the following methods.

private CameraKitView cameraKitView;

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    cameraKitView = findViewById(R.id.camera);
}

@Override
protected void onStart() {
    super.onStart();
    cameraKitView.onStart();
}

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

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

@Override
protected void onStop() {
    cameraKitView.onStop();
    super.onStop();
}

@Override
public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults) {
    super.onRequestPermissionsResult(requestCode, permissions, grantResults);
    cameraKitView.onRequestPermissionsResult(requestCode, permissions, grantResults);
}

ProGuard

If using ProGuard, add the following rules:

-dontwarn com.google.android.gms.**
-keepclasseswithmembers class com.camerakit.preview.CameraSurfaceView {
    native <methods>;
}

License

CameraKit is MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].