All Projects → sandrios → Sandrioscamera

sandrios / Sandrioscamera

Licence: mit
Easy integration of camera for image and video capturing with Image Picker.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Sandrioscamera

Cameramanager
Simple Swift class to provide all the configurations you need to create custom camera view in your app
Stars: ✭ 1,130 (+510.81%)
Mutual labels:  camera, video-recording
V4l2test
v4l2 camera test for android platform.
Stars: ✭ 47 (-74.59%)
Mutual labels:  camera, video-recording
Ios tips
iOS的一些示例,持续更新中:1、AVFoundation 高仿微信相机拍摄和编辑 2、AVFoundation 人脸检测、实时滤镜、音视频编解码、GPUImage框架的使用等音视频相关内容 3、OpenGLES 4、LeetCode算法练习 5、iOS Crash防护和APM监控 6、WKWebView相关的内容 等........
Stars: ✭ 896 (+384.32%)
Mutual labels:  camera, video-recording
Swiftycam
A Snapchat Inspired iOS Camera Framework written in Swift
Stars: ✭ 1,879 (+915.68%)
Mutual labels:  camera, video-recording
Croperino
📷 A simple image cropping tool that provides gallery or camera help for Native Android (Java)
Stars: ✭ 176 (-4.86%)
Mutual labels:  camera
Alcameraviewcontroller
A camera view controller with custom image picker and image cropping.
Stars: ✭ 2,023 (+993.51%)
Mutual labels:  camera
Annca
Android library to simplify work with camera for video and photo with using different camera apis.
Stars: ✭ 169 (-8.65%)
Mutual labels:  camera
Fastbuy App
App to manage the products of the FastBuy Store (built with React Native and Redux).
Stars: ✭ 168 (-9.19%)
Mutual labels:  camera
Shodanwave
Shodanwave is a tool for exploring and obtaining information from Netwave IP Camera.
Stars: ✭ 183 (-1.08%)
Mutual labels:  camera
Camerafilters
📷 摄像头实时滤镜处理库,自带10多种滤镜,支持滤镜扩展,并且兼容七牛云直播滤镜处理
Stars: ✭ 181 (-2.16%)
Mutual labels:  camera
Haishinkit.swift
Camera and Microphone streaming library via RTMP, HLS for iOS, macOS, tvOS.
Stars: ✭ 2,237 (+1109.19%)
Mutual labels:  camera
Horizonsdk Ios
Horizon SDK for iOS
Stars: ✭ 171 (-7.57%)
Mutual labels:  video-recording
Icimulator
Simulate camera functions on iOS Simulator with images, videos, or your MacBook Camera.
Stars: ✭ 177 (-4.32%)
Mutual labels:  camera
Kalibr
The Kalibr visual-inertial calibration toolbox
Stars: ✭ 2,410 (+1202.7%)
Mutual labels:  camera
Cameraview Ex
Easy Android camera integration, advanced features.
Stars: ✭ 182 (-1.62%)
Mutual labels:  camera
Pynet Pytorch
Generating RGB photos from RAW image files with PyNET (PyTorch)
Stars: ✭ 169 (-8.65%)
Mutual labels:  camera
Blinkpy
A Python library for the Blink Camera system
Stars: ✭ 174 (-5.95%)
Mutual labels:  camera
Unitybarcodescanner
Simple Unity Barcode Scanner
Stars: ✭ 180 (-2.7%)
Mutual labels:  camera
Aquila
IPCamera, aim to support V4L2/UVC/RaspberryPi/Hisi/XXX SDK production
Stars: ✭ 173 (-6.49%)
Mutual labels:  camera
Matisse
基于知乎Matisse增强,一行代码实现图片/视频选择,裁剪,微信同款视频录制和拍照,无需权限申请!
Stars: ✭ 174 (-5.95%)
Mutual labels:  camera

DEPRECATED

8

sandriosCamera

sandrios studios Android Arsenal Build Status API Download

Camera Library for Android

sandrios camera allows developers to integrate image and video capturing without dealing with the complicated camera APIs.

It includes image picker interface inside the cameraview enabling the user to access recent media from inside the camera module.

Download

You can download an aar from GitHub's releases page.

Or use Gradle:

repositories {
   jcenter()
}

dependencies {
  implementation 'com.sandrios.android:sandriosCamera:1.2.6'
}

Or Maven:

<dependency>
  <groupId>com.sandrios.android</groupId>
  <artifactId>sandriosCamera</artifactId>
  <version>1.2.6</version>
  <type>pom</type>
</dependency>

If you are planning to include the library as a module, then you will have to upgrade to Android Studio 3.0

How do I use Sandrios Camera?

Please check the sample project included for more examples:

  private static final int CAPTURE_MEDIA = 368;

  // showImagePicker is boolean value: Default is true
  // setAutoRecord() to start recording the video automatically if media action is set to video.
  private void launchCamera() {
     SandriosCamera
        .with()
        .setShowPicker(true)
        .setShowPickerType(CameraConfiguration.VIDEO)
        .setVideoFileSize(20)
        .setMediaAction(CameraConfiguration.MEDIA_ACTION_BOTH)
        .enableImageCropping(true)
        .launchCamera(activity); 

        @Override
        protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {
            super.onActivityResult(requestCode, resultCode, data);
            if (resultCode == Activity.RESULT_OK
                    && requestCode == SandriosCamera.RESULT_CODE
                    && data != null) {
                if (data.getSerializableExtra(SandriosCamera.MEDIA) instanceof Media) {
                    Media media = (Media) data.getSerializableExtra(SandriosCamera.MEDIA);
    
                    Log.e("File", "" + media.getPath());
                    Log.e("Type", "" + media.getType());
                    Toast.makeText(getApplicationContext(), "Media captured.", Toast.LENGTH_SHORT).show();
                }
            }
        }
        
    }

ProGuard

Depending on your ProGuard (DexGuard) config and usage, you may need to include the following lines in your proguard.cfg


-keep public class com.sandrios.** { *; }

-keep public class android.support.v7.widget.** { *; }
-keep public class android.support.v7.internal.widget.** { *; }
-keep public class android.support.v7.internal.view.menu.** { *; }

-keep public class * extends android.support.v4.view.ActionProvider {
    public <init>(android.content.Context);
}

-dontwarn android.support.**

#Glide
-keep public class * implements com.bumptech.glide.module.GlideModule
-keep public enum com.bumptech.glide.load.resource.bitmap.ImageHeaderParser$** {
  **[] $VALUES;
  public *;
}

#uCrop
-dontwarn com.yalantis.ucrop**
-keep class com.yalantis.ucrop** { *; }
-keep interface com.yalantis.ucrop** { *; }

-keepattributes *Annotation*
-keepclassmembers class ** {
    @com.squareup.otto.Subscribe public *;
    @com.squareup.otto.Produce public *;
}

-keep class com.google.**
-dontwarn com.google.**
-dontwarn sun.misc.**

Status

  • Migration to AndroidX
  • Flash Mode (Testing Needed)

Comments/bugs/questions/pull requests are always welcome! Please use develop branch for pull requests.

Compatibility

  • Android SDK: Sandrios Camera requires a minimum API level of 14.

Download

You may also find precompiled aar on the releases page.

Getting Help

To report a specific problem or feature request, open a new issue on Github. For questions, suggestions, or anything else -- [email protected]

Thanks

  • Glide for the Image Loading Framework
  • Dexter for the Permission Management in Android 23+
  • uCrop for the Image Cropping
  • Everyone who has contributed code and reported issues!

Author

sandrios studios - @sandrios on GitHub

License

MIT. See the LICENSE file for details.

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].