Skip to content

Repository files navigation

CameraUnit Demo App

English | 简体中文

videocapture

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 FunctionPhoto FunctionPreview Only Function
Video StabilizationUltra Wide Angle CaptureMulti-Camera (Front & Back)
Video Super StabilizationPortrait Capture
Video Super Stabilization ProNight Capture
AI Night VideoHDR Capture
Video HDRSAT Zoom
Video Slow Motion
SAT Zoom
High FPS
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

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

Contributing

Stars

54 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages