Fix website links

pull/725/head
Mattia Iavarone 5 years ago
parent 840e05a3e8
commit 4cf55714c5
  1. 2
      .github/CONTRIBUTING.md
  2. 26
      README.md
  3. 2
      docs/_layouts/default.html
  4. 4
      docs/_posts/2018-12-20-capture-size.md
  5. 10
      docs/_posts/2018-12-20-capturing-media.md
  6. 10
      docs/_posts/2018-12-20-changelog.md
  7. 2
      docs/_posts/2018-12-20-contributing.md
  8. 2
      docs/_posts/2018-12-20-controls.md
  9. 12
      docs/_posts/2018-12-20-gestures.md
  10. 2
      docs/_posts/2018-12-20-getting-started.md
  11. 6
      docs/_posts/2018-12-20-preview-size.md
  12. 2
      docs/_posts/2018-12-20-previews.md
  13. 4
      docs/_posts/2019-02-24-snapshot-size.md
  14. 6
      docs/_posts/2019-08-06-filters.md
  15. 11
      docs/_posts/2019-09-04-metering.md
  16. 30
      docs/index.md

@ -1 +1 @@
Contributing guidelines are [hosted here](https://natario1.github.io/CameraView/extra/contributing.html). Contributing guidelines are [hosted here](https://natario1.github.io/CameraView/extra/contributing).

@ -26,17 +26,17 @@ api 'com.otaliastudios:cameraview:2.5.0'
``` ```
- Fast & reliable - Fast & reliable
- Gestures support [[docs]](https://natario1.github.io/CameraView/docs/gestures.html) - Gestures support [[docs]](https://natario1.github.io/CameraView/docs/gestures)
- Real-time filters [[docs]](https://natario1.github.io/CameraView/docs/filters.html) - Real-time filters [[docs]](https://natario1.github.io/CameraView/docs/filters)
- Camera1 or Camera2 powered engine [[docs]](https://natario1.github.io/CameraView/docs/previews.html) - Camera1 or Camera2 powered engine [[docs]](https://natario1.github.io/CameraView/docs/previews)
- Frame processing support [[docs]](https://natario1.github.io/CameraView/docs/frame-processing.html) - Frame processing support [[docs]](https://natario1.github.io/CameraView/docs/frame-processing)
- Watermarks & animated overlays [[docs]](https://natario1.github.io/CameraView/docs/watermarks-and-overlays.html) - Watermarks & animated overlays [[docs]](https://natario1.github.io/CameraView/docs/watermarks-and-overlays)
- OpenGL powered preview [[docs]](https://natario1.github.io/CameraView/docs/previews.html) - OpenGL powered preview [[docs]](https://natario1.github.io/CameraView/docs/previews)
- Take high-quality content with `takePicture` and `takeVideo` [[docs]](https://natario1.github.io/CameraView/docs/capturing-media.html) - Take high-quality content with `takePicture` and `takeVideo` [[docs]](https://natario1.github.io/CameraView/docs/capturing-media)
- Take super-fast snapshots with `takePictureSnapshot` and `takeVideoSnapshot` [[docs]](https://natario1.github.io/CameraView/docs/capturing-media.html) - Take super-fast snapshots with `takePictureSnapshot` and `takeVideoSnapshot` [[docs]](https://natario1.github.io/CameraView/docs/capturing-media)
- Smart sizing: create a `CameraView` of any size [[docs]](https://natario1.github.io/CameraView/docs/preview-size.html) - Smart sizing: create a `CameraView` of any size [[docs]](https://natario1.github.io/CameraView/docs/preview-size)
- Control HDR, flash, zoom, white balance, exposure, location, grid drawing & more [[docs]](https://natario1.github.io/CameraView/docs/controls.html) - Control HDR, flash, zoom, white balance, exposure, location, grid drawing & more [[docs]](https://natario1.github.io/CameraView/docs/controls)
- RAW pictures support [[docs]](https://natario1.github.io/CameraView/docs/controls.html) - RAW pictures support [[docs]](https://natario1.github.io/CameraView/docs/controls)
- Lightweight - Lightweight
- Works down to API level 15 - Works down to API level 15
- Well tested - Well tested
@ -85,8 +85,8 @@ Thanks to all our project backers... [[become a backer]](https://opencollective.
## Setup ## Setup
Please read the [official website](https://natario1.github.io/CameraView) for setup instructions and documentation. Please read the [official website](https://natario1.github.io/CameraView) for setup instructions and documentation.
You might also be interested in our [changelog](https://natario1.github.io/CameraView/about/changelog.html) You might also be interested in our [changelog](https://natario1.github.io/CameraView/about/changelog)
or in the [v1 migration guide](https://natario1.github.io/CameraView/extra/v1-migration-guide.html). or in the [v1 migration guide](https://natario1.github.io/CameraView/extra/v1-migration-guide).
Using CameraView is extremely simple: Using CameraView is extremely simple:
```xml ```xml

@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width"> <meta name="viewport" content="width=device-width">
<title>{{ site.title }}{% if page.title %} : {{ page.title }}{% endif %}</title> <title>{{ site.title }}{% if page.title %} | {{ page.title }}{% endif %}</title>
<meta name="description" content="{{ site.subtitle }}"> <meta name="description" content="{{ site.subtitle }}">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet"> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet">

@ -10,8 +10,8 @@ disqus: 1
--- ---
If you are planning to use the snapshot APIs, the size of the media output is that of the preview stream, If you are planning to use the snapshot APIs, the size of the media output is that of the preview stream,
accounting for any cropping made when [measuring the view](preview-size.html) and other constraints. accounting for any cropping made when [measuring the view](preview-size) and other constraints.
Please read the [Snapshot Size](snapshot-size.html) document. Please read the [Snapshot Size](snapshot-size) document.
If you are planning to use the standard APIs, then what follows applies. If you are planning to use the standard APIs, then what follows applies.

@ -22,7 +22,7 @@ or dynamically changed using `cameraView.setMode()`. The current mode value has
- Capturing: while in video mode, `takePicture` will throw an exception. - Capturing: while in video mode, `takePicture` will throw an exception.
- Permission behavior: when requesting a `video` session, the record audio permission will be requested. - Permission behavior: when requesting a `video` session, the record audio permission will be requested.
If this is needed, the audio permission should be added to your manifest or the app will crash. If this is needed, the audio permission should be added to your manifest or the app will crash.
Please read the [permissions page](runtime-permissions.html). Please read the [permissions page](runtime-permissions).
```java ```java
cameraView.setMode(Mode.PICTURE); // for pictures cameraView.setMode(Mode.PICTURE); // for pictures
@ -46,20 +46,20 @@ resulting snapshots are square as well, no matter what the sensor available size
|------|-----|-------|--------------------------|------------------------|---------|-----------| |------|-----|-------|--------------------------|------------------------|---------|-----------|
|`takePicture()`|Pictures|Standard|`yes`|`no`|`no`|That of `setPictureSize`| |`takePicture()`|Pictures|Standard|`yes`|`no`|`no`|That of `setPictureSize`|
|`takeVideo(File)`|Videos|Standard|`no`|`yes`|`no`|That of `setVideoSize`| |`takeVideo(File)`|Videos|Standard|`no`|`yes`|`no`|That of `setVideoSize`|
|`takePictureSnapshot()`|Pictures|Snapshot|`yes`|`yes`|`yes`|That of the preview stream, [or less](snapshot-size.html)| |`takePictureSnapshot()`|Pictures|Snapshot|`yes`|`yes`|`yes`|That of the preview stream, [or less](snapshot-size)|
|`takeVideoSnapshot(File)`|Videos|Snapshot|`yes`|`yes`|`yes`|That of the preview stream, [or less](snapshot-size.html)| |`takeVideoSnapshot(File)`|Videos|Snapshot|`yes`|`yes`|`yes`|That of the preview stream, [or less](snapshot-size)|
Please note that the video snaphot features requires: Please note that the video snaphot features requires:
- API 18. If called before, it throws - API 18. If called before, it throws
- An OpenGL preview (see [previews](previews.html)). If not, it throws - An OpenGL preview (see [previews](previews)). If not, it throws
### Capturing pictures while recording ### Capturing pictures while recording
This is allowed at the following conditions: This is allowed at the following conditions:
- `takePictureSnapshot()` is used (no HQ pictures) - `takePictureSnapshot()` is used (no HQ pictures)
- the `GL_SURFACE` preview is used (see [previews](previews.html)) - the `GL_SURFACE` preview is used (see [previews](previews))
### Related XML attributes ### Related XML attributes

@ -83,7 +83,7 @@ https://github.com/natario1/CameraView/compare/v2.1.0...v2.2.0
## v2.1.0 ## v2.1.0
This release adds experimental support for [real-time filters](../docs/filters.html) thanks to [@agrawalsuneet][agrawalsuneet]. This release adds experimental support for [real-time filters](../docs/filters) thanks to [@agrawalsuneet][agrawalsuneet].
Please read the documentation page for usage instructions. Please read the documentation page for usage instructions.
- New: Real-time filters support ([#527][527]) - New: Real-time filters support ([#527][527])
@ -111,7 +111,7 @@ https://github.com/natario1/CameraView/compare/v2.0.0-rc1...v2.0.0-rc2
This is likely to be the last release before v2.0.0. This is likely to be the last release before v2.0.0.
- New: support for watermarks and animated overlays ([docs](../docs/watermarks-and-overlays.html)), thanks to [@RAN3000][RAN3000] ([#502][502], [#421][421]) - New: support for watermarks and animated overlays ([docs](../docs/watermarks-and-overlays)), thanks to [@RAN3000][RAN3000] ([#502][502], [#421][421])
- New: added `onVideoRecordingStart()` to be notified when video recording starts, thanks to [@agrawalsuneet][agrawalsuneet] ([#498][498]) - New: added `onVideoRecordingStart()` to be notified when video recording starts, thanks to [@agrawalsuneet][agrawalsuneet] ([#498][498])
- New: added `onVideoRecordingEnd()` to be notified when video recording ends ([#506][506]) - New: added `onVideoRecordingEnd()` to be notified when video recording ends ([#506][506])
- New: added `Audio.MONO` and `Audio.STEREO` to control the channel count for videos and video snapshots ([#506][506]) - New: added `Audio.MONO` and `Audio.STEREO` to control the channel count for videos and video snapshots ([#506][506])
@ -126,14 +126,14 @@ https://github.com/natario1/CameraView/compare/v2.0.0-beta06...v2.0.0-rc1
- New: Full featured Camera2 integration! Use `cameraExperimental="true"` and `cameraEngine="camera2"` to test this out. ([#490][490]) - New: Full featured Camera2 integration! Use `cameraExperimental="true"` and `cameraEngine="camera2"` to test this out. ([#490][490])
- Improvement: we now choose a video recording profile that is compatible with the chosen size. Should fix some video recording issues. ([#477][477]) - Improvement: we now choose a video recording profile that is compatible with the chosen size. Should fix some video recording issues. ([#477][477])
- Improvement: most internals are now open to be accessed by subclassing. Feel free to open PRs with more protected methods to be overriden. ([#494][494]) - Improvement: most internals are now open to be accessed by subclassing. Feel free to open PRs with more protected methods to be overriden. ([#494][494])
- **Breaking change**: some public classes have been moved to different packages. See [table here](../extra/v1-migration-guide.html#repackaging). ([#482][482]) - **Breaking change**: some public classes have been moved to different packages. See [table here](../extra/v1-migration-guide#repackaging). ([#482][482])
- **Breaking change**: the listener methods `onFocusStart` and `onFocusEnd` are now called `onAutoFocusStart` and `onAutoFocusEnd`. ([#484][484]) - **Breaking change**: the listener methods `onFocusStart` and `onFocusEnd` are now called `onAutoFocusStart` and `onAutoFocusEnd`. ([#484][484])
- **Breaking change**: the gesture actions `focus` and `focusWithMarker` have been removed and replaced by `autoFocus`, which shows no marker. ([#484][484]) - **Breaking change**: the gesture actions `focus` and `focusWithMarker` have been removed and replaced by `autoFocus`, which shows no marker. ([#484][484])
- New: new API called `setAutoFocusMarker()` lets you choose your own marker. ([#484][484]) - New: new API called `setAutoFocusMarker()` lets you choose your own marker. ([#484][484])
If you were using `focus`, just switch to `autoFocus`. If you were using `focus`, just switch to `autoFocus`.
If you were using `focusWithMarker`, you can [add back the old marker](../docs/metering.html#touch-metering-markers). If you were using `focusWithMarker`, you can [add back the old marker](../docs/metering#touch-metering-markers).
https://github.com/natario1/CameraView/compare/v2.0.0-beta05...v2.0.0-beta06 https://github.com/natario1/CameraView/compare/v2.0.0-beta05...v2.0.0-beta06
@ -170,7 +170,7 @@ https://github.com/natario1/CameraView/compare/v2.0.0-beta01...v2.0.0-beta02
## v2.0.0-beta01 ## v2.0.0-beta01
This is the first beta release. For changes with respect to v1, please take a look at the [migration guide](../extra/v1-migration-guide.html). This is the first beta release. For changes with respect to v1, please take a look at the [migration guide](../extra/v1-migration-guide).
### v1.6.1 ### v1.6.1

@ -10,7 +10,7 @@ Everyone is welcome to contribute with suggestions or pull requests, as the libr
although it has reached a high level of stability. although it has reached a high level of stability.
We are grateful to anyone who has contributed with fixes, features or feature requests. If you don't We are grateful to anyone who has contributed with fixes, features or feature requests. If you don't
want to get involved but still want to support the project, please [consider donating](donate.html). want to get involved but still want to support the project, please [consider donating](donate).
## Bug reports ## Bug reports

@ -195,7 +195,7 @@ float max = options.getPreviewFrameRateMaxValue();
There are two ways to control the zoom value: There are two ways to control the zoom value:
- User can zoom in or out with a [Gesture](gestures.html) - User can zoom in or out with a [Gesture](gestures)
- The developer can start manual zoom with the `setZoom(float)` API, passing in a value between 0 and 1. - The developer can start manual zoom with the `setZoom(float)` API, passing in a value between 0 and 1.
Both actions will trigger the zoom callback, which can be used, for example, to draw a seek bar: Both actions will trigger the zoom callback, which can be used, for example, to draw a seek bar:

@ -39,12 +39,12 @@ Looking at this from the other side:
|Gesture action|Description|Can be mapped to| |Gesture action|Description|Can be mapped to|
|--------------|-----------|----------------| |--------------|-----------|----------------|
|`NONE`|Disables this gesture.|`TAP` `LONG_TAP` `PINCH` `SCROLL_HORIZONTAL` `SCROLL_VERTICAL`| |`NONE`|Disables this gesture.|`TAP` `LONG_TAP` `PINCH` `SCROLL_HORIZONTAL` `SCROLL_VERTICAL`|
|`AUTO_FOCUS`|Launches a [touch metering operation](metering.html#touch-metering) on the finger position.|`TAP` `LONG_TAP`| |`AUTO_FOCUS`|Launches a [touch metering operation](metering#touch-metering) on the finger position.|`TAP` `LONG_TAP`|
|`TAKE_PICTURE`|Takes a picture using [takePicture](capturing-media.html).|`TAP` `LONG_TAP`| |`TAKE_PICTURE`|Takes a picture using [takePicture](capturing-media).|`TAP` `LONG_TAP`|
|`ZOOM`|[Zooms](controls.html#zoom) in or out.|`PINCH` `SCROLL_HORIZONTAL` `SCROLL_VERTICAL`| |`ZOOM`|[Zooms](controls#zoom) in or out.|`PINCH` `SCROLL_HORIZONTAL` `SCROLL_VERTICAL`|
|`EXPOSURE_CORRECTION`|Controls the [exposure correction](metering.html#exposure-correction).|`PINCH` `SCROLL_HORIZONTAL` `SCROLL_VERTICAL`| |`EXPOSURE_CORRECTION`|Controls the [exposure correction](metering#exposure-correction).|`PINCH` `SCROLL_HORIZONTAL` `SCROLL_VERTICAL`|
|`FILTER_CONTROL_1`|Controls the first parameter (if any) of a [real-time filter](filters.html).|`PINCH` `SCROLL_HORIZONTAL` `SCROLL_VERTICAL`| |`FILTER_CONTROL_1`|Controls the first parameter (if any) of a [real-time filter](filters).|`PINCH` `SCROLL_HORIZONTAL` `SCROLL_VERTICAL`|
|`FILTER_CONTROL_2`|Controls the second parameter (if any) of a [real-time filter](filters.html).|`PINCH` `SCROLL_HORIZONTAL` `SCROLL_VERTICAL`| |`FILTER_CONTROL_2`|Controls the second parameter (if any) of a [real-time filter](filters).|`PINCH` `SCROLL_HORIZONTAL` `SCROLL_VERTICAL`|
### XML Attributes ### XML Attributes

@ -122,7 +122,7 @@ This was it, but there is a ton of other options available to customize the came
to control the sensor, the UI appearance, the quality and size of the output, or to live process to control the sensor, the UI appearance, the quality and size of the output, or to live process
frames. Keep reading the documentation! frames. Keep reading the documentation!
For runtime permissions and Manifest setup, please read the [permissions page](). For runtime permissions and Manifest setup, please read the [permissions page](../docs/runtime-permissions).
### Without support libraries ### Without support libraries

@ -57,9 +57,9 @@ that were not visible during the capture, **unless it is taken as a snapshot, si
## Advanced feature: Preview Stream Size Selection ## Advanced feature: Preview Stream Size Selection
**Only do this if you know what you are doing. This is typically not needed - prefer picture/video size selectors, *Only do this if you know what you are doing. This is typically not needed - prefer picture/video size selectors,
as they will drive the preview stream size selection and, eventually, the view size. If what you want is just as they will drive the preview stream size selection and, eventually, the view size. If what you want is just
choose an aspect ratio, do so with [Capture Size](capture-size.html) selection.** choose an aspect ratio, do so with [Capture Size](capture-size) selection.*
As said, `WRAP_CONTENT` adapts the view boundaries to the preview stream size. The preview stream size must be determined As said, `WRAP_CONTENT` adapts the view boundaries to the preview stream size. The preview stream size must be determined
based on the sizes that the device sensor & hardware actually support. This operation is done automatically based on the sizes that the device sensor & hardware actually support. This operation is done automatically
@ -85,5 +85,5 @@ cameraView.setPreviewStreamSize(new SizeSelector() {
After the preview stream size is determined, if it has changed since list time, the `CameraView` will receive After the preview stream size is determined, if it has changed since list time, the `CameraView` will receive
another call to `onMeasure` so the `WRAP_CONTENT` magic can take place. another call to `onMeasure` so the `WRAP_CONTENT` magic can take place.
To understand how SizeSelectors work and the available utilities, please read the [Capture Size](capture-size.html) document. To understand how SizeSelectors work and the available utilities, please read the [Capture Size](capture-size) document.

@ -39,7 +39,7 @@ to use all the features available. However, experienced user might prefer a diff
|-------|---------|----| |-------|---------|----|
|`Preview.SURFACE`|A `SurfaceView`|Can be good for battery, but will not work well with dynamic layout changes and similar things. No support for video snapshots.| |`Preview.SURFACE`|A `SurfaceView`|Can be good for battery, but will not work well with dynamic layout changes and similar things. No support for video snapshots.|
|`Preview.TEXTURE`|A `TextureView`|Better. Requires hardware acceleration. No support for video snapshots.| |`Preview.TEXTURE`|A `TextureView`|Better. Requires hardware acceleration. No support for video snapshots.|
|`Preview.GL_SURFACE`|A `GLSurfaceView`|Recommended. Supports video snapshots. Supports [overlays](watermarks-and-overlays.html). Supports [real-time filters](filters.html).| |`Preview.GL_SURFACE`|A `GLSurfaceView`|Recommended. Supports video snapshots. Supports [overlays](watermarks-and-overlays). Supports [real-time filters](filters).|
The GL surface, as an extra benefit, has a much more efficient way of capturing picture snapshots, The GL surface, as an extra benefit, has a much more efficient way of capturing picture snapshots,
that avoids OOM errors, rotating the image on the fly, reading EXIF, and other horrible things belonging to v1. that avoids OOM errors, rotating the image on the fly, reading EXIF, and other horrible things belonging to v1.

@ -13,7 +13,7 @@ Snapshots are captured from the preview stream instead of using a separate captu
They are extremely fast, small in size, and give you a low-quality output that can be easily They are extremely fast, small in size, and give you a low-quality output that can be easily
uploaded or processed. uploaded or processed.
The snapshot size is based on the size of the preview stream, which is described in the [Preview Size](preview-size.html) document. The snapshot size is based on the size of the preview stream, which is described in the [Preview Size](preview-size) document.
Although the preview stream size is customizable, note that this is considered an advanced feature, Although the preview stream size is customizable, note that this is considered an advanced feature,
as the best preview stream size selector already does a good job for the vast majority of use cases. as the best preview stream size selector already does a good job for the vast majority of use cases.
@ -24,7 +24,7 @@ When taking snapshots, the preview stream size is then changed to match some con
Snapshots will automatically be cropped to match the preview aspect ratio. This means that if your Snapshots will automatically be cropped to match the preview aspect ratio. This means that if your
preview is square, you can finally take a square picture or video, regardless of the available sensor sizes. preview is square, you can finally take a square picture or video, regardless of the available sensor sizes.
Take a look at the [Preview Size](preview-size.html) document to learn about preview sizing. Take a look at the [Preview Size](preview-size) document to learn about preview sizing.
### Other constraints ### Other constraints

@ -10,8 +10,8 @@ disqus: 1
--- ---
Starting from version `2.1.0`, CameraView experimentally supports real-time filters that can modify Starting from version `2.1.0`, CameraView experimentally supports real-time filters that can modify
the camera frames before they are shown and recorded. Just like [overlays](watermarks-and-overlays.html), the camera frames before they are shown and recorded. Just like [overlays](watermarks-and-overlays),
these filters are applied to the preview and to any [picture or video snapshots](capturing-media.html). these filters are applied to the preview and to any [picture or video snapshots](capturing-media).
Starting from `2.5.0`, this feature is considered to be stable and you do not need the experimental Starting from `2.5.0`, this feature is considered to be stable and you do not need the experimental
flag to use it. The only condition is to use the `Preview.GL_SURFACE` preview. flag to use it. The only condition is to use the `Preview.GL_SURFACE` preview.
@ -82,7 +82,7 @@ You can change these values by acting on the filter object, before or after pass
Whenever something is changed, the updated values will be visible immediately in the next frame. Whenever something is changed, the updated values will be visible immediately in the next frame.
You can also map the first or second filter control to a gesture (like horizontal or vertical scrolling), You can also map the first or second filter control to a gesture (like horizontal or vertical scrolling),
as explained in [the gesture documentation](gestures.html): as explained in [the gesture documentation](gestures):
```java ```java
camera.mapGesture(Gesture.SCROLL_HORIZONTAL, GestureAction.FILTER_CONTROL_1); camera.mapGesture(Gesture.SCROLL_HORIZONTAL, GestureAction.FILTER_CONTROL_1);

@ -14,9 +14,8 @@ distance in order to automatically adapt the camera exposure, focus and white ba
often referred as 3A). often referred as 3A).
We treat three different types on metering: [continuous metering](#continuous-metering), We treat three different types on metering: [continuous metering](#continuous-metering),
[picture metering](#picture-metering) and [touch metering](#touch-metering). [picture metering](#picture-metering) and [touch metering](#touch-metering). You can also apply
adjustment to the metered exposure through the [exposure correction](#exposure-correction) control.
You can also apply adjustment to the metered exposure through the [exposure correction](#exposure-correction) control.
### Continuous Metering ### Continuous Metering
@ -25,7 +24,7 @@ as the device moves or the scene changes.
- For AE, this is always enabled if supported - For AE, this is always enabled if supported
- For AF, this is always enabled if supported - For AF, this is always enabled if supported
- For AWB, this is enabled if the `WhiteBalance` parameter is set to `AUTO` [[docs]](#controls.html#camerawhitebalance) - For AWB, this is enabled if the `WhiteBalance` parameter is set to `AUTO` [[docs]](controls#camerawhitebalance)
### Picture Metering ### Picture Metering
@ -51,7 +50,7 @@ cameraView.setPictureSnapshotMetering(false); // Don't
### Touch Metering ### Touch Metering
Touch metering is triggered by either a [Gesture](gestures.html) or by the developer itself, which Touch metering is triggered by either a [Gesture](gestures) or by the developer itself, which
can start touch metering on a specific point with the `startAutoFocus(float, float)` API. can start touch metering on a specific point with the `startAutoFocus(float, float)` API.
This action needs the coordinates of a point computed with respect to the view width and height. This action needs the coordinates of a point computed with respect to the view width and height.
@ -114,7 +113,7 @@ cameraView.setCameraAutoFocusResetDelay(Long.MAX_VALUE); // NO reset
There are two ways to control the exposure correction value: There are two ways to control the exposure correction value:
- User can change the exposure correction with a [Gesture](gestures.html) - User can change the exposure correction with a [Gesture](gestures)
- The developer can change this value with the `setExposureCorrection(float)` API, passing in the EV - The developer can change this value with the `setExposureCorrection(float)` API, passing in the EV
value, in camera stops. This value should be contained in the minimum and maximum supported values, value, in camera stops. This value should be contained in the minimum and maximum supported values,
as returned by `CameraOptions`. as returned by `CameraOptions`.

@ -13,34 +13,34 @@ addressing most of the common issues and needs, and still leaving you with flexi
</p> </p>
- Fast & reliable - Fast & reliable
- Gestures support [[docs]](docs/gestures.html) - Gestures support [[docs]](docs/gestures)
- Real-time filters [[docs]](docs/filters.html) - Real-time filters [[docs]](docs/filters)
- Camera1 or Camera2 powered engine [[docs]](docs/previews.html) - Camera1 or Camera2 powered engine [[docs]](docs/previews)
- Frame processing support [[docs]](docs/frame-processing.html) - Frame processing support [[docs]](docs/frame-processing)
- Watermarks & animated overlays [[docs]](docs/watermarks-and-overlays.html) - Watermarks & animated overlays [[docs]](docs/watermarks-and-overlays)
- OpenGL powered preview [[docs]](docs/previews.html) - OpenGL powered preview [[docs]](docs/previews)
- Take high-quality content with `takePicture` and `takeVideo` [[docs]](docs/capturing-media.html) - Take high-quality content with `takePicture` and `takeVideo` [[docs]](docs/capturing-media)
- Take super-fast snapshots with `takePictureSnapshot` and `takeVideoSnapshot` [[docs]](docs/capturing-media.html) - Take super-fast snapshots with `takePictureSnapshot` and `takeVideoSnapshot` [[docs]](docs/capturing-media)
- Smart sizing: create a `CameraView` of any size [[docs]](docs/preview-size.html) - Smart sizing: create a `CameraView` of any size [[docs]](docs/preview-size)
- Control HDR, flash, zoom, white balance, exposure, location, grid drawing & more [[docs]](docs/controls.html) - Control HDR, flash, zoom, white balance, exposure, location, grid drawing & more [[docs]](docs/controls)
- RAW pictures support [[docs]](docs/controls.html) - RAW pictures support [[docs]](docs/controls)
- Lightweight - Lightweight
- Works down to API level 15 - Works down to API level 15
- Well tested - Well tested
### Get started ### Get started
Get started with [install info](about/install.html), [quick setup](about/getting-started.html), or Get started with [install info](about/install), [quick setup](about/getting-started), or
start reading the in-depth [documentation](docs/camera-events.html). start reading the in-depth [documentation](docs/camera-events).
### Older versions ### Older versions
This website contains documentation and informations about version 2.X.X of the library. This website contains documentation and informations about version 2.X.X of the library.
For older versions, please take a look at the v1 branch in the [project page](https://github.com/natario1/CameraView). For older versions, please take a look at the v1 branch in the [project page](https://github.com/natario1/CameraView).
For migration guide, take a look at the [migration page](extra/v1-migration-guide.html). For migration guide, take a look at the [migration page](extra/v1-migration-guide).
### Support ### Support
If you like the project, use it with profit, and want to thank back, please consider [donating or If you like the project, use it with profit, and want to thank back, please consider [donating or
becoming a supporter](extra/donate.html). becoming a supporter](extra/donate).

Loading…
Cancel
Save