diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..ec87d6f Binary files /dev/null and b/.DS_Store differ diff --git a/app/app/src/main/AndroidManifest.xml b/app/app/src/main/AndroidManifest.xml index fe378ff..5e6bfcc 100644 --- a/app/app/src/main/AndroidManifest.xml +++ b/app/app/src/main/AndroidManifest.xml @@ -1,6 +1,6 @@ + package="com.example.pwsafe"> - + android:theme="@style/AppTheme"> + diff --git a/app/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/app/app/src/main/res/drawable-v24/ic_launcher_foreground.xml index c7bd21d..1f6bb29 100644 --- a/app/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +++ b/app/app/src/main/res/drawable-v24/ic_launcher_foreground.xml @@ -2,13 +2,13 @@ xmlns:aapt="http://schemas.android.com/aapt" android:width="108dp" android:height="108dp" - android:viewportHeight="108" - android:viewportWidth="108"> + android:viewportWidth="108" + android:viewportHeight="108"> + android:strokeWidth="1" + android:strokeColor="#00000000"> + android:strokeWidth="1" + android:strokeColor="#00000000" /> diff --git a/app/app/src/main/res/drawable/ic_launcher_background.xml b/app/app/src/main/res/drawable/ic_launcher_background.xml index 2408e30..0d025f9 100644 --- a/app/app/src/main/res/drawable/ic_launcher_background.xml +++ b/app/app/src/main/res/drawable/ic_launcher_background.xml @@ -1,74 +1,170 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + android:viewportHeight="108"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/app/src/main/res/layout/activity_main.xml b/app/app/src/main/res/layout/activity_main.xml index 59a0b5a..84f1951 100644 --- a/app/app/src/main/res/layout/activity_main.xml +++ b/app/app/src/main/res/layout/activity_main.xml @@ -1,8 +1,7 @@ - diff --git a/app/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/app/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml index bbd3e02..eca70cf 100644 --- a/app/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ b/app/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -1,5 +1,5 @@ - - + + \ No newline at end of file diff --git a/app/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/app/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml index bbd3e02..eca70cf 100644 --- a/app/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ b/app/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -1,5 +1,5 @@ - - + + \ No newline at end of file diff --git a/app/gradle.properties b/app/gradle.properties index 1d4b005..82618ce 100644 --- a/app/gradle.properties +++ b/app/gradle.properties @@ -1,16 +1,12 @@ # Project-wide Gradle settings. - # IDE (e.g. Android Studio) users: # Gradle settings configured through the IDE *will override* # any settings specified in this file. - # For more details on how to configure your build environment visit # http://www.gradle.org/docs/current/userguide/build_environment.html - # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. org.gradle.jvmargs=-Xmx1536m - # When configured, Gradle will run in incubating parallel mode. # This option should only be used with decoupled projects. More details, visit # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects diff --git a/face_recognition/Dockerfile b/face_recognition/Dockerfile index e69de29..41b63b8 100644 --- a/face_recognition/Dockerfile +++ b/face_recognition/Dockerfile @@ -0,0 +1,10 @@ +FROM python:3.6 +COPY ./requirements.txt /app/requirements.txt +WORKDIR /app +RUN pip install -r requirements.txt +RUN rm requirements.txt +RUN useradd -ms /bin/bash admin +USER admin +COPY /app /app +ENTRYPOINT [ "python" ] +CMD [ "app.py" ] diff --git a/face_recognition/app/app.py b/face_recognition/app/app.py new file mode 100644 index 0000000..e69de29 diff --git a/face_recognition/requirements.txt b/face_recognition/requirements.txt new file mode 100644 index 0000000..c872b87 --- /dev/null +++ b/face_recognition/requirements.txt @@ -0,0 +1,2 @@ +Flask +face_recognition