Camera2Vision
This sample App will let you use the basic functionalities of both Camera1/Camera2 API's, with a Google Vision Face Detector attached. You can switch between Front and Back cameras, enable flash, take pictures and record video.
Changelog
- NEW: AndroidX support.
- Migrated from Resource ID's to the newer AndroidX View Binding.
- Flash function added to main UI.
- Events info added to main UI.
- Record Video with sound if required. Custom filename allowed.
- Taken pictures and face detector live preview: Automatic rotation/flip correction based on EXIF data, if available.
- Stability improvements.
- Added (missing) Auto Exposure, White Balance and Scene Mode AUTO on Camera1 API.
- Fixed critical bug at Camera2 cameraId LENS_FACING selection.
- NEW: Test App: https://play.google.com/store/apps/details?id=com.randolabs.ezequiel.camera2
License
Copyright 2021. Minniti Ezequiel Adrian. Buenos Aires, Argentina.
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you 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
http://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.