Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Ear recognition
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Boston University
Ear recognition
Commits
4c68d9ed
Commit
4c68d9ed
authored
Oct 09, 2015
by
Daniel Kornhauser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding License, code organizing and commenting.
parent
c41eeb91
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
38 additions
and
15 deletions
+38
-15
LICENSE.txt
LICENSE.txt
+18
-0
EarIdentifier.java
...c/main/java/com/aluxoft/earrecognition/EarIdentifier.java
+1
-4
IntentTransferingFeatures.java
...com/aluxoft/earrecognition/IntentTransferingFeatures.java
+1
-1
EarCaptureActivity.java
...aluxoft/earrecognition/activities/EarCaptureActivity.java
+4
-0
SIFTActivity.java
...a/com/aluxoft/earrecognition/activities/SIFTActivity.java
+2
-1
SelectUserActivity.java
...aluxoft/earrecognition/activities/SelectUserActivity.java
+2
-1
EarDatabase.java
...n/java/com/aluxoft/earrecognition/common/EarDatabase.java
+2
-0
EarFeature.java
...in/java/com/aluxoft/earrecognition/common/EarFeature.java
+2
-2
EarIdList.java
...ain/java/com/aluxoft/earrecognition/common/EarIdList.java
+2
-2
EarDatabaseLoader.java
.../com/aluxoft/earrecognition/loader/EarDatabaseLoader.java
+2
-2
MainActivity.java
.../java/com/aluxoft/earrecognition/unused/MainActivity.java
+1
-1
Person.java
...c/main/java/com/aluxoft/earrecognition/unused/Person.java
+1
-1
No files found.
LICENSE.txt
0 → 100644
View file @
4c68d9ed
The MIT License (MIT)
Copyright (c) 2015 Josejulio Martinez & Daniel Kornhauser (In no particular order)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial
portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file
app/src/main/java/com/aluxoft/earrecognition/EarIdentifier.java
View file @
4c68d9ed
...
...
@@ -4,7 +4,6 @@ import com.aluxoft.earrecognition.common.EarDatabase;
import
com.aluxoft.earrecognition.common.EarFeature
;
import
com.aluxoft.earrecognition.common.EarIdList
;
import
com.aluxoft.earrecognition.utils.OpenCvUtils
;
import
com.google.gson.Gson
;
import
org.opencv.core.Mat
;
import
org.opencv.core.MatOfKeyPoint
;
...
...
@@ -12,10 +11,8 @@ import org.opencv.features2d.DescriptorExtractor;
import
org.opencv.features2d.FeatureDetector
;
import
org.opencv.highgui.Highgui
;
import
java.util.ArrayList
;
/**
* C
reated by josejuliomartinez on 06/10/15.
* C
omputes and Identifies ear features
*/
public
class
EarIdentifier
{
...
...
app/src/main/java/com/aluxoft/earrecognition/IntentTransferingFeatures.java
View file @
4c68d9ed
...
...
@@ -13,7 +13,7 @@ import bolts.Continuation;
import
bolts.Task
;
/**
* C
reated by josejuliomartinez on 02/10/15.
* C
allout to transfer features to CommCare
*/
public
class
IntentTransferingFeatures
extends
Activity
{
...
...
app/src/main/java/com/aluxoft/earrecognition/activities/EarCaptureActivity.java
View file @
4c68d9ed
...
...
@@ -17,6 +17,10 @@ import com.aluxoft.earrecognition.utils.ImageUtils;
import
java.io.File
;
import
java.io.IOException
;
/**
* Activity where we capture ear for recognition.
* TODO: Add onscreen guide lines for ear acquisition
*/
public
class
EarCaptureActivity
extends
Activity
{
Button
getImage
;
...
...
app/src/main/java/com/aluxoft/earrecognition/activities/SIFTActivity.java
View file @
4c68d9ed
...
...
@@ -18,7 +18,8 @@ import bolts.Continuation;
import
bolts.Task
;
/**
* Created by josejuliomartinez on 07/10/15.
* Computes SIFT & finds top 10 matches
* TODO: Get other users features, compare SIFT features, etc...
*/
public
class
SIFTActivity
extends
Activity
{
...
...
app/src/main/java/com/aluxoft/earrecognition/activities/SelectUserActivity.java
View file @
4c68d9ed
...
...
@@ -11,7 +11,8 @@ import com.aluxoft.earrecognition.common.EarIdList;
import
com.google.gson.Gson
;
/**
* Created by josejuliomartinez on 07/10/15.
* Shows top 10 matches, allows to register if not match is satisfactory.
* TODO: Populate list
*/
public
class
SelectUserActivity
extends
Activity
{
...
...
app/src/main/java/com/aluxoft/earrecognition/common/EarDatabase.java
View file @
4c68d9ed
package
com
.
aluxoft
.
earrecognition
.
common
;
import
com.aluxoft.earrecognition.unused.Person
;
import
java.util.HashMap
;
/**
...
...
app/src/main/java/com/aluxoft/earrecognition/common/EarFeature.java
View file @
4c68d9ed
...
...
@@ -7,8 +7,8 @@ import org.opencv.core.Mat;
import
java.util.ArrayList
;
/**
*
Created by josejuliomartinez on 06/10/15.
*
Store the features of the ear.
*
Represents Ear Features
*
*/
public
class
EarFeature
{
...
...
app/src/main/java/com/aluxoft/earrecognition/common/EarIdList.java
View file @
4c68d9ed
package
com
.
aluxoft
.
earrecognition
.
common
;
/**
*
Created by josejuliomartinez on 06/10/15
.
*
Stores the result of an identification (top10)
*
Represents top 10 Ear ID matches
.
*
*/
public
class
EarIdList
{
...
...
app/src/main/java/com/aluxoft/earrecognition/loader/EarDatabaseLoader.java
View file @
4c68d9ed
...
...
@@ -3,8 +3,8 @@ package com.aluxoft.earrecognition.loader;
import
com.aluxoft.earrecognition.common.EarDatabase
;
/**
*
Created by josejuliomartinez on 07/10/15.
*
Loads the database.
*
Loads Case Id data from CommCare
*
*/
abstract
public
class
EarDatabaseLoader
{
...
...
app/src/main/java/com/aluxoft/earrecognition/
activities
/MainActivity.java
→
app/src/main/java/com/aluxoft/earrecognition/
unused
/MainActivity.java
View file @
4c68d9ed
package
com
.
aluxoft
.
earrecognition
.
activities
;
package
com
.
aluxoft
.
earrecognition
.
unused
;
import
android.annotation.SuppressLint
;
import
android.app.AlertDialog
;
...
...
app/src/main/java/com/aluxoft/earrecognition/
common
/Person.java
→
app/src/main/java/com/aluxoft/earrecognition/
unused
/Person.java
View file @
4c68d9ed
package
com
.
aluxoft
.
earrecognition
.
common
;
package
com
.
aluxoft
.
earrecognition
.
unused
;
import
com.aluxoft.earrecognition.common.EarFeature
;
...
...
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