├── EyeDetector.apk ├── README.md ├── ScreenShots ├── Eyes_Geometry.png ├── Left_Eye.png ├── Left_Eye_Haar.png ├── Right_Eye.png ├── Right_Eye_Haar.png ├── closed.png ├── face.png ├── face_cropped.png ├── open.png └── org.png └── VisionProject ├── .classpath ├── .project ├── .settings └── org.eclipse.jdt.core.prefs ├── AndroidManifest.xml ├── EyeDetector.apk ├── bin ├── AndroidManifest.xml ├── EyeTutorial_updated.apk ├── R.txt ├── classes.dex ├── classes │ └── org │ │ └── opencv │ │ ├── R$attr.class │ │ ├── R$id.class │ │ ├── R$styleable.class │ │ ├── R.class │ │ └── samples │ │ └── facedetect │ │ ├── BuildConfig.class │ │ ├── CustomOnItemSelectedListener.class │ │ ├── FdActivity$1.class │ │ ├── FdActivity$2.class │ │ ├── FdActivity.class │ │ ├── R$array.class │ │ ├── R$attr.class │ │ ├── R$drawable.class │ │ ├── R$id.class │ │ ├── R$layout.class │ │ ├── R$raw.class │ │ ├── R$string.class │ │ ├── R$styleable.class │ │ └── R.class ├── dexedLibs │ ├── annotations-f804975054a14f3f054efa2599f1687a.jar │ └── opencv library - 2.4.10-830d1429b7589875b66976ac8b7b3d75.jar ├── jarlist.cache ├── res │ └── crunch │ │ └── drawable │ │ └── icon.png └── resources.ap_ ├── gen └── org │ └── opencv │ ├── R.java │ └── samples │ └── facedetect │ ├── BuildConfig.java │ └── R.java ├── lint.xml ├── project.properties ├── res ├── drawable │ └── icon.png ├── layout │ └── face_detect_surface_view.xml ├── raw │ ├── beep.mp3 │ ├── button1.wav │ ├── haarcascade_eye_tree_eyeglasses.xml │ ├── haarcascade_lefteye_2splits.xml │ ├── haarcascade_righteye_2splits.xml │ └── lbpcascade_frontalface.xml └── values │ └── strings.xml └── src └── org └── opencv └── samples └── facedetect ├── CustomOnItemSelectedListener.java └── FdActivity.java /EyeDetector.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/EyeDetector.apk -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## OpenCV-Projects 2 | # it has code and APK for binary classification of Open/Closed eyes. 3 | 4 | This work is developed in *3* stages in order to classify Open/Closed Eyes. 5 | 6 | For each frame, let's say: 7 | 8 | ![](ScreeShots/org.png) 9 | 10 | 1. Face detection - *LBP* it is performed: 11 | 12 | ![](ScreenShots/face.png) 13 | 14 | - Then changing ROI 15 | 16 | ![](ScreenShots/face_cropped.png) 17 | 18 | - Then both eyes are located according to geometry of the face 19 | 20 | ![](ScreenShots/Eyes_Geometry.png) 21 | 22 | 23 | - Now changing ROI for each eye 24 | 25 | Left Eye 26 | ![](ScreenShots/Left_Eye.png) 27 | 28 | Right Eye 29 | ![](ScreenShots/Right_Eye.png) 30 | 31 | 2. Eye detection - *Haar* it is performed (Different detector for each one), and we got: 32 | 33 | Left Eye 34 | ![](ScreenShots/Left_Eye_Haar.png) 35 | 36 | Right Eye 37 | ![](ScreenShots/Right_Eye_Haar.png) 38 | 39 | 3. Binary classification according to both eyes: 40 | 41 | ![](ScreenShots/open.png) 42 | 43 | ![](ScreenShots/closed.png) 44 | -------------------------------------------------------------------------------- /ScreenShots/Eyes_Geometry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/ScreenShots/Eyes_Geometry.png -------------------------------------------------------------------------------- /ScreenShots/Left_Eye.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/ScreenShots/Left_Eye.png -------------------------------------------------------------------------------- /ScreenShots/Left_Eye_Haar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/ScreenShots/Left_Eye_Haar.png -------------------------------------------------------------------------------- /ScreenShots/Right_Eye.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/ScreenShots/Right_Eye.png -------------------------------------------------------------------------------- /ScreenShots/Right_Eye_Haar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/ScreenShots/Right_Eye_Haar.png -------------------------------------------------------------------------------- /ScreenShots/closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/ScreenShots/closed.png -------------------------------------------------------------------------------- /ScreenShots/face.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/ScreenShots/face.png -------------------------------------------------------------------------------- /ScreenShots/face_cropped.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/ScreenShots/face_cropped.png -------------------------------------------------------------------------------- /ScreenShots/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/ScreenShots/open.png -------------------------------------------------------------------------------- /ScreenShots/org.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/ScreenShots/org.png -------------------------------------------------------------------------------- /VisionProject/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /VisionProject/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | EyeTutorial_updated 4 | 5 | 6 | 7 | 8 | 9 | com.android.ide.eclipse.adt.ResourceManagerBuilder 10 | 11 | 12 | 13 | 14 | com.android.ide.eclipse.adt.PreCompilerBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javabuilder 20 | 21 | 22 | 23 | 24 | com.android.ide.eclipse.adt.ApkBuilder 25 | 26 | 27 | 28 | 29 | 30 | com.android.ide.eclipse.adt.AndroidNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /VisionProject/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 3 | org.eclipse.jdt.core.compiler.compliance=1.6 4 | org.eclipse.jdt.core.compiler.source=1.6 5 | -------------------------------------------------------------------------------- /VisionProject/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 11 | 12 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /VisionProject/EyeDetector.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/VisionProject/EyeDetector.apk -------------------------------------------------------------------------------- /VisionProject/bin/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 11 | 12 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /VisionProject/bin/EyeTutorial_updated.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/VisionProject/bin/EyeTutorial_updated.apk -------------------------------------------------------------------------------- /VisionProject/bin/R.txt: -------------------------------------------------------------------------------- 1 | int array Preocessing_arrays 0x7f060000 2 | int attr camera_id 0x7f010001 3 | int attr show_fps 0x7f010000 4 | int drawable icon 0x7f020000 5 | int id any 0x7f070000 6 | int id back 0x7f070001 7 | int id button 0x7f070006 8 | int id fd_activity_surface_view 0x7f070004 9 | int id front 0x7f070002 10 | int id masterWindow 0x7f070003 11 | int id togglebutton 0x7f070005 12 | int layout face_detect_surface_view 0x7f030000 13 | int raw beep 0x7f040000 14 | int raw button1 0x7f040001 15 | int raw haarcascade_eye_tree_eyeglasses 0x7f040002 16 | int raw haarcascade_lefteye_2splits 0x7f040003 17 | int raw haarcascade_righteye_2splits 0x7f040004 18 | int raw lbpcascade_frontalface 0x7f040005 19 | int string Processing_prompt 0x7f050001 20 | int string app_name 0x7f050000 21 | int[] styleable CameraBridgeViewBase { 0x7f010000, 0x7f010001 } 22 | int styleable CameraBridgeViewBase_camera_id 1 23 | int styleable CameraBridgeViewBase_show_fps 0 24 | -------------------------------------------------------------------------------- /VisionProject/bin/classes.dex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/VisionProject/bin/classes.dex -------------------------------------------------------------------------------- /VisionProject/bin/classes/org/opencv/R$attr.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/VisionProject/bin/classes/org/opencv/R$attr.class -------------------------------------------------------------------------------- /VisionProject/bin/classes/org/opencv/R$id.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/VisionProject/bin/classes/org/opencv/R$id.class -------------------------------------------------------------------------------- /VisionProject/bin/classes/org/opencv/R$styleable.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/VisionProject/bin/classes/org/opencv/R$styleable.class -------------------------------------------------------------------------------- /VisionProject/bin/classes/org/opencv/R.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/VisionProject/bin/classes/org/opencv/R.class -------------------------------------------------------------------------------- /VisionProject/bin/classes/org/opencv/samples/facedetect/BuildConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/VisionProject/bin/classes/org/opencv/samples/facedetect/BuildConfig.class -------------------------------------------------------------------------------- /VisionProject/bin/classes/org/opencv/samples/facedetect/CustomOnItemSelectedListener.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/VisionProject/bin/classes/org/opencv/samples/facedetect/CustomOnItemSelectedListener.class -------------------------------------------------------------------------------- /VisionProject/bin/classes/org/opencv/samples/facedetect/FdActivity$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/VisionProject/bin/classes/org/opencv/samples/facedetect/FdActivity$1.class -------------------------------------------------------------------------------- /VisionProject/bin/classes/org/opencv/samples/facedetect/FdActivity$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/VisionProject/bin/classes/org/opencv/samples/facedetect/FdActivity$2.class -------------------------------------------------------------------------------- /VisionProject/bin/classes/org/opencv/samples/facedetect/FdActivity.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/VisionProject/bin/classes/org/opencv/samples/facedetect/FdActivity.class -------------------------------------------------------------------------------- /VisionProject/bin/classes/org/opencv/samples/facedetect/R$array.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/VisionProject/bin/classes/org/opencv/samples/facedetect/R$array.class -------------------------------------------------------------------------------- /VisionProject/bin/classes/org/opencv/samples/facedetect/R$attr.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/VisionProject/bin/classes/org/opencv/samples/facedetect/R$attr.class -------------------------------------------------------------------------------- /VisionProject/bin/classes/org/opencv/samples/facedetect/R$drawable.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/VisionProject/bin/classes/org/opencv/samples/facedetect/R$drawable.class -------------------------------------------------------------------------------- /VisionProject/bin/classes/org/opencv/samples/facedetect/R$id.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/VisionProject/bin/classes/org/opencv/samples/facedetect/R$id.class -------------------------------------------------------------------------------- /VisionProject/bin/classes/org/opencv/samples/facedetect/R$layout.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/VisionProject/bin/classes/org/opencv/samples/facedetect/R$layout.class -------------------------------------------------------------------------------- /VisionProject/bin/classes/org/opencv/samples/facedetect/R$raw.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/VisionProject/bin/classes/org/opencv/samples/facedetect/R$raw.class -------------------------------------------------------------------------------- /VisionProject/bin/classes/org/opencv/samples/facedetect/R$string.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/VisionProject/bin/classes/org/opencv/samples/facedetect/R$string.class -------------------------------------------------------------------------------- /VisionProject/bin/classes/org/opencv/samples/facedetect/R$styleable.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/VisionProject/bin/classes/org/opencv/samples/facedetect/R$styleable.class -------------------------------------------------------------------------------- /VisionProject/bin/classes/org/opencv/samples/facedetect/R.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/VisionProject/bin/classes/org/opencv/samples/facedetect/R.class -------------------------------------------------------------------------------- /VisionProject/bin/dexedLibs/annotations-f804975054a14f3f054efa2599f1687a.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/VisionProject/bin/dexedLibs/annotations-f804975054a14f3f054efa2599f1687a.jar -------------------------------------------------------------------------------- /VisionProject/bin/dexedLibs/opencv library - 2.4.10-830d1429b7589875b66976ac8b7b3d75.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/VisionProject/bin/dexedLibs/opencv library - 2.4.10-830d1429b7589875b66976ac8b7b3d75.jar -------------------------------------------------------------------------------- /VisionProject/bin/jarlist.cache: -------------------------------------------------------------------------------- 1 | # cache for current jar dependency. DO NOT EDIT. 2 | # format is 3 | # Encoding is UTF-8 4 | -------------------------------------------------------------------------------- /VisionProject/bin/res/crunch/drawable/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/VisionProject/bin/res/crunch/drawable/icon.png -------------------------------------------------------------------------------- /VisionProject/bin/resources.ap_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/VisionProject/bin/resources.ap_ -------------------------------------------------------------------------------- /VisionProject/gen/org/opencv/R.java: -------------------------------------------------------------------------------- 1 | /* AUTO-GENERATED FILE. DO NOT MODIFY. 2 | * 3 | * This class was automatically generated by the 4 | * aapt tool from the resource data it found. It 5 | * should not be modified by hand. 6 | */ 7 | package org.opencv; 8 | 9 | public final class R { 10 | public static final class attr { 11 | public static final int camera_id = 0x7f010001; 12 | public static final int show_fps = 0x7f010000; 13 | } 14 | public static final class id { 15 | public static final int any = 0x7f070000; 16 | public static final int back = 0x7f070001; 17 | public static final int front = 0x7f070002; 18 | } 19 | public static final class styleable { 20 | public static final int[] CameraBridgeViewBase = { 0x7f010000, 0x7f010001 }; 21 | public static final int CameraBridgeViewBase_camera_id = 1; 22 | public static final int CameraBridgeViewBase_show_fps = 0; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /VisionProject/gen/org/opencv/samples/facedetect/BuildConfig.java: -------------------------------------------------------------------------------- 1 | /** Automatically generated file. DO NOT MODIFY */ 2 | package org.opencv.samples.facedetect; 3 | 4 | public final class BuildConfig { 5 | public final static boolean DEBUG = true; 6 | } -------------------------------------------------------------------------------- /VisionProject/gen/org/opencv/samples/facedetect/R.java: -------------------------------------------------------------------------------- 1 | /* AUTO-GENERATED FILE. DO NOT MODIFY. 2 | * 3 | * This class was automatically generated by the 4 | * aapt tool from the resource data it found. It 5 | * should not be modified by hand. 6 | */ 7 | 8 | package org.opencv.samples.facedetect; 9 | 10 | public final class R { 11 | public static final class array { 12 | public static final int Preocessing_arrays=0x7f060000; 13 | } 14 | public static final class attr { 15 | /**

May be an integer value, such as "100". 16 |

This may also be a reference to a resource (in the form 17 | "@[package:]type:name") or 18 | theme attribute (in the form 19 | "?[package:][type:]name") 20 | containing a value of this type. 21 |

May be one of the following constant values.

22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 |
ConstantValueDescription
any-1
back99
front98
31 | */ 32 | public static final int camera_id=0x7f010001; 33 | /**

Must be a boolean value, either "true" or "false". 34 |

This may also be a reference to a resource (in the form 35 | "@[package:]type:name") or 36 | theme attribute (in the form 37 | "?[package:][type:]name") 38 | containing a value of this type. 39 | */ 40 | public static final int show_fps=0x7f010000; 41 | } 42 | public static final class drawable { 43 | public static final int icon=0x7f020000; 44 | } 45 | public static final class id { 46 | public static final int any=0x7f070000; 47 | public static final int back=0x7f070001; 48 | public static final int button=0x7f070006; 49 | public static final int fd_activity_surface_view=0x7f070004; 50 | public static final int front=0x7f070002; 51 | public static final int masterWindow=0x7f070003; 52 | public static final int togglebutton=0x7f070005; 53 | } 54 | public static final class layout { 55 | public static final int face_detect_surface_view=0x7f030000; 56 | } 57 | public static final class raw { 58 | public static final int beep=0x7f040000; 59 | public static final int button1=0x7f040001; 60 | public static final int haarcascade_eye_tree_eyeglasses=0x7f040002; 61 | public static final int haarcascade_lefteye_2splits=0x7f040003; 62 | public static final int haarcascade_righteye_2splits=0x7f040004; 63 | public static final int lbpcascade_frontalface=0x7f040005; 64 | } 65 | public static final class string { 66 | public static final int Processing_prompt=0x7f050001; 67 | public static final int app_name=0x7f050000; 68 | } 69 | public static final class styleable { 70 | /** Attributes that can be used with a CameraBridgeViewBase. 71 |

Includes the following attributes:

72 | 73 | 74 | 75 | 76 | 77 | 78 |
AttributeDescription
{@link #CameraBridgeViewBase_camera_id org.opencv.samples.facedetect:camera_id}
{@link #CameraBridgeViewBase_show_fps org.opencv.samples.facedetect:show_fps}
79 | @see #CameraBridgeViewBase_camera_id 80 | @see #CameraBridgeViewBase_show_fps 81 | */ 82 | public static final int[] CameraBridgeViewBase = { 83 | 0x7f010000, 0x7f010001 84 | }; 85 | /** 86 |

This symbol is the offset where the {@link org.opencv.samples.facedetect.R.attr#camera_id} 87 | attribute's value can be found in the {@link #CameraBridgeViewBase} array. 88 | 89 | 90 |

May be an integer value, such as "100". 91 |

This may also be a reference to a resource (in the form 92 | "@[package:]type:name") or 93 | theme attribute (in the form 94 | "?[package:][type:]name") 95 | containing a value of this type. 96 |

May be one of the following constant values.

97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 |
ConstantValueDescription
any-1
back99
front98
106 | @attr name org.opencv.samples.facedetect:camera_id 107 | */ 108 | public static final int CameraBridgeViewBase_camera_id = 1; 109 | /** 110 |

This symbol is the offset where the {@link org.opencv.samples.facedetect.R.attr#show_fps} 111 | attribute's value can be found in the {@link #CameraBridgeViewBase} array. 112 | 113 | 114 |

Must be a boolean value, either "true" or "false". 115 |

This may also be a reference to a resource (in the form 116 | "@[package:]type:name") or 117 | theme attribute (in the form 118 | "?[package:][type:]name") 119 | containing a value of this type. 120 | @attr name org.opencv.samples.facedetect:show_fps 121 | */ 122 | public static final int CameraBridgeViewBase_show_fps = 0; 123 | }; 124 | } 125 | -------------------------------------------------------------------------------- /VisionProject/lint.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /VisionProject/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | android.library.reference.1=../../sdk/java 14 | # Project target. 15 | target=android-21 16 | android.library.reference.2=../../Eclipse/OpenCV/OpenCV-2.4.10-android-sdk/sdk/java 17 | -------------------------------------------------------------------------------- /VisionProject/res/drawable/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/affromero/Android_BlinkDetection/0b384ff7b071b93be5ba1b215025a8b5f6622f5e/VisionProject/res/drawable/icon.png -------------------------------------------------------------------------------- /VisionProject/res/layout/face_detect_surface_view.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 11 | 12 | 21 | 22 |