Skip to content

Commit

Permalink
Add triplemu information
Browse files Browse the repository at this point in the history
  • Loading branch information
triple-Mu authored and Chilicyy committed Apr 29, 2023
1 parent 8137950 commit dd9ba7a
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 7 deletions.
2 changes: 1 addition & 1 deletion deploy/NCNN/Android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ apply plugin: 'com.android.application'

android {
compileSdkVersion 24
buildToolsVersion "29.0.2"

defaultConfig {
applicationId "com.tencent.yolov6ncnn"
Expand All @@ -26,4 +25,5 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
namespace 'com.tencent.yolov6ncnn'
}
3 changes: 1 addition & 2 deletions deploy/NCNN/Android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.tencent.yolov6ncnn"
android:versionCode="1"
android:versionCode="1"
android:versionName="1.1">
<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera2.full" />
Expand Down
16 changes: 15 additions & 1 deletion deploy/NCNN/Android/app/src/main/res/layout/main.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">

Expand All @@ -15,6 +16,19 @@
android:layout_height="wrap_content"
android:text="切换摄像头" />

<TextView
android:id="@+id/textView2"
android:layout_width="85dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:accessibilityLiveRegion="none"
android:contentDescription="description"
android:text=" Modify-By-tripleMu"
android:textAppearance="@android:style/TextAppearance.Material.Body1"
android:textSize="20sp"
android:textStyle="bold|italic"
tools:text="description" />

</LinearLayout>

<LinearLayout
Expand Down
2 changes: 1 addition & 1 deletion deploy/NCNN/Android/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">ncnn-yolov6</string>
<string name="app_name">ncnn-yolov6-by-tripleMu</string>
<string-array name="model_array">
<item>lite-s</item>
<item>lite-m</item>
Expand Down
2 changes: 1 addition & 1 deletion deploy/NCNN/Android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.2'
classpath 'com.android.tools.build:gradle:8.0.0'
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit dd9ba7a

Please sign in to comment.