Browse Source

pet_classification demo function description is incorrect

tags/v1.2.0-rc1
hukang hwx963878 4 years ago
parent
commit
17928f5714
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      model_zoo/official/lite/pet_classification/app/src/main/java/com/mindspore/classificationforpet/widget/MainActivity.java
  2. +2
    -2
      model_zoo/official/lite/pet_classification/app/src/main/res/layout/activity_main.xml

+ 2
- 2
model_zoo/official/lite/pet_classification/app/src/main/java/com/mindspore/classificationforpet/widget/MainActivity.java View File

@@ -51,8 +51,8 @@ public class MainActivity extends AppCompatActivity implements OnBackgroundImage
Manifest.permission.READ_PHONE_STATE, Manifest.permission.CAMERA};
private static final int REQUEST_PERMISSION = 0;

private static final int[] IMAGES = {R.drawable.style0, R.drawable.style1, R.drawable.style2, R.drawable.style3, R.drawable.style4,
R.drawable.style5, R.drawable.style6, R.drawable.style7, R.drawable.style8, R.drawable.style9};
private static final int[] IMAGES = {R.drawable.style4, R.drawable.style8, R.drawable.style1, R.drawable.style6, R.drawable.style3,
R.drawable.style7, R.drawable.style5, R.drawable.style9, R.drawable.style0, R.drawable.style2};

private static final int RC_CHOOSE_PHOTO = 1;
private static final int RC_CHOOSE_CAMERA = 2;


+ 2
- 2
model_zoo/official/lite/pet_classification/app/src/main/res/layout/activity_main.xml View File

@@ -53,7 +53,7 @@
android:layout_height="wrap_content"
android:layout_marginLeft="20dp"
android:layout_marginTop="20dp"
android:text="Choose an Image"
android:text="Choose an image"
android:textAllCaps="false"
android:textColor="@color/white"
android:textSize="20sp" />
@@ -114,7 +114,7 @@
android:layout_height="wrap_content"
android:layout_marginLeft="20dp"
android:layout_marginTop="20dp"
android:text="Choose a Demo"
android:text="Choose a sample"
android:textColor="@color/white"
android:textSize="20sp" />



Loading…
Cancel
Save