Skip to content

Commit

Permalink
-> removed un used images
Browse files Browse the repository at this point in the history
-> version 1.0.1 release
  • Loading branch information
darwinfrancis committed Jul 14, 2020
1 parent d330e48 commit 3162ae3
Show file tree
Hide file tree
Showing 24 changed files with 10 additions and 140 deletions.
1 change: 0 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,4 @@ dependencies {
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation project(path: ':still')
//implementation 'com.darwin.face.still:still:1.0.2'
}
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:name=".RegressionTestActivity"
android:name=".FaceCropSampleActivity"
android:screenOrientation="portrait"
tools:ignore="LockedOrientationActivity">
<intent-filter>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class FaceCropSampleActivity : AppCompatActivity() {
options.inScaled = false
bitmap = BitmapFactory.decodeResource(
resources,
R.drawable.multi_face, options
R.drawable.po_single, options
)
iv_input_image.setImageBitmap(bitmap)
}
Expand All @@ -70,7 +70,7 @@ class FaceCropSampleActivity : AppCompatActivity() {
val faceOption =
FaceOptions.Builder()
.cropAlgorithm(cropAlgorithm)
.setMinimumFaceSize(6)
.setMinimumFaceSize(15)
.enableDebug()
.build()
viola.detectFace(bitmap!!, faceOption)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,15 @@ private void prepareFaceCropper() {
viola = new Viola(listener);
BitmapFactory.Options options = new BitmapFactory.Options();
options.inScaled = false;
bitmap = BitmapFactory.decodeResource(getResources(), R.drawable.multi_face, options);
bitmap = BitmapFactory.decodeResource(getResources(), R.drawable.po_single, options);
ivInputImage.setImageBitmap(bitmap);
}

private void crop() {
FaceOptions faceOption = new
FaceOptions.Builder()
.cropAlgorithm(cropAlgorithm)
.setMinimumFaceSize(6)
.setMinimumFaceSize(15)
.enableDebug()
.build();
viola.detectFace(bitmap, faceOption);
Expand Down
129 changes: 0 additions & 129 deletions app/src/main/java/com/darwin/facedetector/RegressionTestActivity.kt

This file was deleted.

Binary file removed app/src/main/res/drawable/double_face.jpg
Binary file not shown.
Binary file removed app/src/main/res/drawable/double_no_bottom.jpg
Binary file not shown.
Binary file removed app/src/main/res/drawable/double_ro_right.jpg
Binary file not shown.
Binary file removed app/src/main/res/drawable/ex_1.png
Binary file not shown.
Binary file removed app/src/main/res/drawable/ex_2.jpg
Binary file not shown.
Binary file removed app/src/main/res/drawable/groupfie.jpg
Binary file not shown.
Binary file removed app/src/main/res/drawable/invalid_landscape.png
Binary file not shown.
Binary file removed app/src/main/res/drawable/invalid_portrait.jpeg
Binary file not shown.
Binary file removed app/src/main/res/drawable/multi_face.jpg
Binary file not shown.
Binary file removed app/src/main/res/drawable/multi_face_bottom.jpg
Binary file not shown.
Binary file removed app/src/main/res/drawable/multi_face_no_right.jpg
Binary file not shown.
Binary file removed app/src/main/res/drawable/no_face_image.jpg
Binary file not shown.
Binary file added app/src/main/res/drawable/po_multi.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/po_single.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/src/main/res/drawable/single.jpg
Binary file not shown.
2 changes: 1 addition & 1 deletion app/src/main/res/layout/activity_face_crop_sample.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
android:id="@+id/iv_input_image"
android:layout_width="250dp"
android:layout_height="175dp"
android:background="#FFFFFF" />
android:background="#000000" />

<Button
android:id="@+id/btCrop"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<resources>
<string name="app_name">Face Detector</string>
<string name="app_name">Viola Detector</string>
<string name="rb_three_by_four">Three by Four</string>
<string name="rb_square">Square</string>
<string name="rb_least">Least</string>
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ android.enableJetifier=true
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official

version=1.0.0
version=1.0.1
4 changes: 2 additions & 2 deletions still/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ android {

buildTypes {
release {
minifyEnabled true
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
debug {
Expand Down Expand Up @@ -53,7 +53,7 @@ ext {
siteUrl = 'https://github.com/darwinfrancis/viola' // git repo url
gitUrl = 'https://github.com/darwinfrancis/viola.git' // git repo vcs url

libraryVersion = '1.0.0' // library version
libraryVersion = '1.0.1' // library version

developerId = 'darwinfrancis' // This is your bintray username
developerName = 'Darwin Francis' // Developer's name
Expand Down

0 comments on commit 3162ae3

Please sign in to comment.