Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2021-129
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2021-129
2021-129
Commits
104409df
Commit
104409df
authored
Oct 17, 2021
by
samesh97
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Gesture improved.
parent
38c3ec7d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
1 deletion
+4
-1
app/src/main/AndroidManifest.xml
app/src/main/AndroidManifest.xml
+1
-0
app/src/main/assets/model_gesture_detection.tflite
app/src/main/assets/model_gesture_detection.tflite
+0
-0
app/src/main/java/com/app/smartphotoeditor/vision/EyeBlinkDetection.java
...va/com/app/smartphotoeditor/vision/EyeBlinkDetection.java
+1
-1
app/src/main/java/com/app/smartphotoeditor/vision/GestureDetection.java
...ava/com/app/smartphotoeditor/vision/GestureDetection.java
+2
-0
No files found.
app/src/main/AndroidManifest.xml
View file @
104409df
...
...
@@ -19,6 +19,7 @@
android:allowBackup=
"true"
android:icon=
"@mipmap/ic_launcher"
android:label=
"@string/app_name"
android:requestLegacyExternalStorage=
"true"
android:roundIcon=
"@mipmap/ic_launcher_round"
android:supportsRtl=
"true"
android:theme=
"@style/Theme.Design.NoActionBar"
>
...
...
app/src/main/assets/model_gesture_detection.tflite
View file @
104409df
No preview for this file type
app/src/main/java/com/app/smartphotoeditor/vision/EyeBlinkDetection.java
View file @
104409df
...
...
@@ -23,7 +23,7 @@ public class EyeBlinkDetection
private
final
int
imageSize
;
private
static
final
int
MIN_EYE_CLOSE_COUNT
=
2
;
private
static
final
int
MAX_EYE_CLOSE_TIME
=
-
1
0
;
private
static
final
int
MAX_EYE_CLOSE_TIME
=
-
1
;
private
int
eyeCloseCount
=
MIN_EYE_CLOSE_COUNT
;
private
final
OnEyeStatusChanged
listener
;
...
...
app/src/main/java/com/app/smartphotoeditor/vision/GestureDetection.java
View file @
104409df
...
...
@@ -104,6 +104,8 @@ public class GestureDetection
float
top
=
(
float
)
Array
.
get
(
Array
.
get
(
result
,
0
),
i
+
3
);
float
bottom
=
(
float
)
Array
.
get
(
Array
.
get
(
result
,
0
),
i
+
4
);
Log
.
d
(
"Left"
,
""
+
bottom
);
float
max
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment