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 function | camera function | preview only |
---|---|---|
video stabilization | Super wide-angle camera | Multiple cameras at the same time (front & rear) |
Super Video Stabilization | portrait photography | |
Super Video Stabilizer PRO | night scene photo | |
AI Night Scene Video | HDR photoshoot | |
Video HDR | photo zoom combination | |
slow motion video | ||
video zoom combination | ||
High frame rate recording | ||
1080P video |
Supported devices:
A series | F series | R series | other series |
---|---|---|---|
OPPO A93 | OPPO Find X2 | OPPO Reno2 Z | OPPO F17 Pro |
OPPO A94 | OPPO Find X2 Lite | OPPO Reno 3 | OPPO F19 Pro |
OPPO A95 | OPPO Find X2 Pro | OPPO Reno Ace2 | |
OPPO Find X3 | OPPO Reno4 | ||
OPPO Find X3 Pro | OPPO Reno5 | ||
OPPO Find X3 Neo | OPPO 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:
- Open Android Studio, and click document menu or welcome page;
- click Open….
- Locate the CameraUnit root directory.
- choose
setting.gradle
file to complete the import.
#CameraUnit #Homepage #Documentation #Download #OPPO #Open #Interface #Imaging #Capabilities #News Fast Delivery