|
|
|
[![Build Status](https://travis-ci.org/natario1/CameraView.svg?branch=master)](https://travis-ci.org/natario1/CameraView)
|
|
|
|
[![Code Coverage](https://codecov.io/gh/natario1/CameraView/branch/master/graph/badge.svg)](https://codecov.io/gh/natario1/CameraView)
|
|
|
|
[![Release](https://img.shields.io/github/release/natario1/CameraView.svg)](https://github.com/natario1/CameraView/releases)
|
|
|
|
[![Issues](https://img.shields.io/github/issues-raw/natario1/CameraView.svg)](https://github.com/natario1/CameraView/issues)
|
|
|
|
[![Funding](https://img.shields.io/opencollective/all/CameraView.svg?colorB=r)](https://natario1.github.io/CameraView/extra/donate)
|
|
|
|
|
|
|
|
*This is a new major version (v2) of the library. It includes breaking changes, signature changes and new functionality.
|
|
|
|
Keep reading if interested, or head to the legacy-v1 branch to read v1 documentation and info.*
|
|
|
|
|
|
|
|
*The v2 version is still in beta and its API surface might still change. Functions might be renamed,
|
|
|
|
options might be removed (though they probably won't), signatures might change. If this is a problem,
|
|
|
|
please wait for the final release and keep using v1*.
|
|
|
|
|
|
|
|
|
|
|
|
<p align="center">
|
|
|
|
<img src="docs/static/icon.png" vspace="10" width="250" height="250">
|
|
|
|
</p>
|
|
|
|
|
|
|
|
# CameraView
|
|
|
|
|
|
|
|
CameraView is a well documented, high-level library that makes capturing pictures and videos easy,
|
|
|
|
addressing most of the common issues and needs, and still leaving you with flexibility where needed.
|
|
|
|
|
|
|
|
```groovy
|
|
|
|
compile 'com.otaliastudios:cameraview:2.0.0-beta02'
|
|
|
|
```
|
|
|
|
|
|
|
|
- Fast & reliable
|
|
|
|
- Gestures support
|
|
|
|
- Frame processing support
|
|
|
|
- OpenGL powered preview
|
|
|
|
- Take high-quality content with `takePicture` and `takeVideo`
|
|
|
|
- Take super-fast snapshots with `takePictureSnapshot` and `takeVideoSnapshot`
|
|
|
|
- Smart sizing: create a `CameraView` of any size
|
|
|
|
- Control HDR, flash, zoom, white balance, exposure, location, grid drawing & more
|
|
|
|
- Lightweight: the only dep. is support `ExifInterface`
|
|
|
|
- Works down to API level 15
|
|
|
|
- Well tested
|
|
|
|
|
|
|
|
Read the [official website](https://natario1.github.io/CameraView) for setup instructions and documentation.
|
|
|
|
|
|
|
|
- Coming from v1? Take a look at the [migration guide](https://natario1.github.io/CameraView/extra/v1-migration-guide.html)
|
|
|
|
- Changelog is hosted [here](https://natario1.github.io/CameraView/about/changelog.html)
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<img src="docs/static/screen1.jpg" width="250" vspace="20" hspace="5">
|
|
|
|
<img src="docs/static/screen2.jpg" width="250" vspace="20" hspace="5">
|
|
|
|
<img src="docs/static/screen3.jpg" width="250" vspace="20" hspace="5">
|
|
|
|
</p>
|
|
|
|
|
|
|
|
If you like the project, use it with profit, or simply want to thank back, please consider [donating
|
|
|
|
to the project](https://natario1.github.io/CameraView/extra/donate) now! You can either make a one time
|
|
|
|
donation or become a sponsor, in which case your company logo will immediately show up here.
|
|
|
|
|
|
|
|
Thank you for any contribution - it is a nice reward for what has been done until now, and a
|
|
|
|
motivation boost to push the library forward.
|
|
|
|
|
|
|
|
## Backers
|
|
|
|
|
|
|
|
Thanks to all backers! [Become a backer.](https://opencollective.com/cameraview#backer)
|
|
|
|
|
|
|
|
<a href="https://opencollective.com/cameraview#backers" target="_blank"><img src="https://opencollective.com/cameraview/backers.svg?width=890"></a>
|
|
|
|
|
|
|
|
## Sponsors
|
|
|
|
|
|
|
|
Thanks to sponsors! [Become a sponsor](https://opencollective.com/cameraview#sponsor) and have your logo here.
|
|
|
|
|
|
|
|
<a href="https://opencollective.com/cameraview/sponsor/0/website" target="_blank"><img src="https://opencollective.com/cameraview/sponsor/0/avatar.svg"></a>
|
|
|
|
<a href="https://opencollective.com/cameraview/sponsor/1/website" target="_blank"><img src="https://opencollective.com/cameraview/sponsor/1/avatar.svg"></a>
|
|
|
|
<a href="https://opencollective.com/cameraview/sponsor/2/website" target="_blank"><img src="https://opencollective.com/cameraview/sponsor/2/avatar.svg"></a>
|
|
|
|
<a href="https://opencollective.com/cameraview/sponsor/3/website" target="_blank"><img src="https://opencollective.com/cameraview/sponsor/3/avatar.svg"></a>
|
|
|
|
<a href="https://opencollective.com/cameraview/sponsor/4/website" target="_blank"><img src="https://opencollective.com/cameraview/sponsor/4/avatar.svg"></a>
|
|
|
|
<a href="https://opencollective.com/cameraview/sponsor/5/website" target="_blank"><img src="https://opencollective.com/cameraview/sponsor/5/avatar.svg"></a>
|
|
|
|
<a href="https://opencollective.com/cameraview/sponsor/6/website" target="_blank"><img src="https://opencollective.com/cameraview/sponsor/6/avatar.svg"></a>
|
|
|
|
<a href="https://opencollective.com/cameraview/sponsor/7/website" target="_blank"><img src="https://opencollective.com/cameraview/sponsor/7/avatar.svg"></a>
|
|
|
|
<a href="https://opencollective.com/cameraview/sponsor/8/website" target="_blank"><img src="https://opencollective.com/cameraview/sponsor/8/avatar.svg"></a>
|
|
|
|
<a href="https://opencollective.com/cameraview/sponsor/9/website" target="_blank"><img src="https://opencollective.com/cameraview/sponsor/9/avatar.svg"></a>
|
|
|
|
|