mirror of
https://github.com/opencv/opencv.git
synced 2024-12-16 02:19:12 +08:00
556f539531
- Refreshed images, links, OpenCV API. - Added more details to Android Mobilenet sample. - Moved to new location and re-linked tutorials.
29 lines
1.2 KiB
XML
29 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.opencv_mobilenet">
|
|
|
|
<application
|
|
android:label="@string/app_name"
|
|
android:icon="@drawable/icon">
|
|
<!-- //! [mobilenet_tutorial] -->
|
|
<activity
|
|
android:exported="true"
|
|
android:name=".MainActivity"
|
|
android:screenOrientation="landscape"> <!--Screen orientation-->
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
</application>
|
|
|
|
<!--Allow to use a camera-->
|
|
<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>
|
|
<!-- //! [mobilenet_tutorial] -->
|