mirror of
https://github.com/opencv/opencv.git
synced 2024-12-16 02:19:12 +08:00
7833c63388
Add android QR detection sample #24598 Android QR detection sample was added. ![image](https://github.com/opencv/opencv/assets/22337800/0aaf6689-36ee-4201-b609-256d3278641a) ![image](https://github.com/opencv/opencv/assets/22337800/1cf54758-2c96-4108-888b-4796d8825340) ![image](https://github.com/opencv/opencv/assets/22337800/4ecc0933-a2e6-4cc0-abae-7525213c4145) current interface: ![image](https://github.com/opencv/opencv/assets/22337800/aff5b06d-6a9d-4762-be6e-ce20ff2c2271) ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch - [x] There is a reference to the original bug report and related work - [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [ ] The feature is well documented and sample code can be built with the project CMake
32 lines
1.2 KiB
XML
32 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="org.opencv.samples.qrdetection">
|
|
|
|
<application
|
|
android:icon="@drawable/icon"
|
|
android:label="@string/app_name">
|
|
|
|
<activity
|
|
android:exported="true"
|
|
android:name=".QRdetectionActivity"
|
|
android:label="@string/app_name"
|
|
android:screenOrientation="landscape"
|
|
android:configChanges="keyboardHidden|orientation" >
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
</application>
|
|
|
|
<uses-permission android:name="android.permission.CAMERA"/>
|
|
|
|
<uses-feature android:name="android.hardware.camera" android:required="false"/>
|
|
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
|
|
<uses-feature android:name="android.hardware.camera.front" android:required="false"/>
|
|
<uses-feature android:name="android.hardware.camera.front.autofocus" android:required="false"/>
|
|
|
|
</manifest>
|