Capability Opening (CameraUnit) It is an open interface of OPPO’s imaging capabilities, which can eliminate the gap between the system’s imaging capabilities and third-party applications. Users can also obtain the same shooting experience as OPPO cameras in third-party applications. It provides a lightweight, fast and efficient way to access the image function of the ColorOS system.

This project provides a solution for open access capability (CameraUnit SDK), see the access document for details Configuration and initialization instructions. When using the SDK, you can refer to the calling logic of this project.

So far, this project has access to the following functions (depending on the support of different models):

video functioncamera functionpreview only
video stabilizationSuper wide-angle cameraMultiple cameras at the same time (front & rear)
Super Video Stabilizationportrait photography
Super Video Stabilizer PROnight scene photo
AI Night Scene VideoHDR photoshoot
Video HDRphoto zoom combination
slow motion video
video zoom combination
High frame rate recording
1080P video

Supported devices:

A seriesF seriesR seriesother series
OPPO A93OPPO Find X2OPPO Reno2 ZOPPO F17 Pro
OPPO A94OPPO Find X2 LiteOPPO Reno 3OPPO F19 Pro
OPPO A95OPPO Find X2 ProOPPO Reno Ace2
OPPO Find X3OPPO Reno4
OPPO Find X3 ProOPPO Reno5
OPPO Find X3 NeoOPPO Reno6

About CameraUnit Demo App

A sample program is currently provided to show the calling method of the CameraUnit SDK interface, and you can also directly rely on it in your project camerax module To complete the corresponding business logic.

state

Currently, the 1.0.0 version of the sample program has been released and is stable, and we will continue to release versions regularly to integrate new functions or solve some stability issues. You are welcome to contribute to this project too, Comments/Bugs/Questions/PRs are welcome.If you want to contribute your code, please read the CONTRIBUTING.md in the content.

API update record

Detailed official websiteVersion update instructions .

compile

This project is very simple to build using gradle:

git clone git@github.com:oppo/CameraUnit.git
cd CameraUnit
./gradlew :app:assembleRelease

Notice:: Make sure your local Android SDK and Android Support Repository Already installed, $ANDROID_HOME The environment variable has been configured or configured sdk.dir=... That is, the path of the SDK to the root directory of the project local.properties in the file.

to develop

according to compile Configure the project according to the steps in , and modify the corresponding files according to your needs.Recommended UseAndroid Studio Easily import entire projects.

The steps to import a project using Android Studio are as follows:

  1. Open Android Studio, and click document menu or welcome page;
  2. click Open….
  3. Locate the CameraUnit root directory.
  4. choose setting.gradle file to complete the import.

#CameraUnit #Homepage #Documentation #Download #OPPO #Open #Interface #Imaging #Capabilities #News Fast Delivery

Leave a Comment

Your email address will not be published. Required fields are marked *