33 lines
1.3 KiB
Markdown
33 lines
1.3 KiB
Markdown
# Camera2 samples
|
|
|
|
This is a catalog of camera2-specific APIs to demonstrate the usage and capabilities of the API.
|
|
|
|
- [Camera Preview]():
|
|
Demonstrates displaying processed pixel data directly from the camera sensor to the screen using Camera2.
|
|
- [Image Capture]():
|
|
Demonstrates how to capture an image using Camera2 and encode it into a JPEG container.
|
|
- [UltraHDR Image Capture]():
|
|
Demonstrates how to capture a 10-bit compressed still image and store it using the new UltraHDR image format using Camera2.
|
|
|
|
> 🚧 **Work-in-Progress:** we are working on brining more existing and new samples for camera2, and soon, CameraX as well
|
|
|
|
Check out our guides at https://developer.android.com/training/camera2
|
|
|
|
## License
|
|
|
|
```
|
|
Copyright 2022 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
https://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
```
|