Skip to content

CameraUnit is an open interface for ColorOS camera capabilities, which can eliminate the gap between the system's camera capabilities and third-party applications. You can also get the same shooting experience as system camera in your applications.

License

Notifications You must be signed in to change notification settings

oppo/CameraUnit

Repository files navigation

CameraUnit Demo App

English | 简体中文

video capture

About CameraUnit

CameraUnit is an open interface for OPPO's imaging capabilities, which can eliminate the gap between the system's imaging capabilities and third-party applications. Users can also get the same shooting experience as OPPO cameras in third-party applications. Provides a lightweight, fast and effective way to access the camera functions of the Coloros system.

This project provides a solution for accessing the ability to CameraUnit SDK, see Configuration and initialization instructions allowing you to refer to its call logic during the use of the SDK.

So far, this project has access to the following functions (depending on device model support):

Video Function Photo Function Preview Only Function
Video Stabilization Ultra Wide Angle Capture Multi-Camera (Front & Back)
Video Super Stabilization Portrait Capture
Video Super Stabilization Pro Night Capture
AI Night Video HDR Capture
Video HDR SAT Zoom
Video Slow Motion
SAT Zoom
High FPS
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

Now, we provide a sample program to show you the calling process of the interface, you can also directly rely on the camerax module to your project for quick integration.

Status

Version 1.0.0 is now released and stable. Updates are released periodically with new features and bug fixes.

Comments/Bugs/Questions/PR are always welcome! Please read CONTRIBUTING.md on how to report issues.

API Update Log

See update Log

Build

Building project with gradle is fairly straight forward:

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

Note: Make sure your Android SDK has the Android Support Repository installed, and that your $ANDROID_HOME environment variable is pointing at the SDK or add a local.properties file in the root project with a sdk.dir=... line.

Development

Follow the steps in the Build section to setup the project and then edit the files however you wish. Android Studio cleanly imports both CameraUnit's source and tests and is the recommended way to work with CameraUnit.

To open the project in Android Studio:

  1. Go to File menu or the Welcome Screen
  2. Click on Open...
  3. Navigate to CameraUnit's root directory.
  4. Select setting.gradle

Issues & Getting Help

To report a specific problem or feature request, open a new issue on Github. For questions, suggestions, or anything else, email CameraUnit's discussion group.

Please make sure to read the Issue Reporting Checklist before opening an issue. Issues not conforming to the guidelines may be closed immediately.

Contribution

Please make sure to read the CONTRIBUTING.md before making a pull request. For more details, see the Contributing docs page.

Thank you to all the people who already contributed to this project!

Thanks

Author

@LiuCun at oppo, @JianGuo Yang at oppo.

License

Apache License 2.0

Copyright (c) 2021 OPPO. All rights reserved.

About

CameraUnit is an open interface for ColorOS camera capabilities, which can eliminate the gap between the system's camera capabilities and third-party applications. You can also get the same shooting experience as system camera in your applications.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published