Commit 4c68d9ed authored by Daniel Kornhauser's avatar Daniel Kornhauser

Adding License, code organizing and commenting.

parent c41eeb91
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
......@@ -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;
/**
* Created by josejuliomartinez on 06/10/15.
* Computes and Identifies ear features
*/
public class EarIdentifier {
......
......@@ -13,7 +13,7 @@ import bolts.Continuation;
import bolts.Task;
/**
* Created by josejuliomartinez on 02/10/15.
* Callout to transfer features to CommCare
*/
public class IntentTransferingFeatures extends Activity {
......
......@@ -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;
......
......@@ -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 {
......
......@@ -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 {
......
package com.aluxoft.earrecognition.common;
import com.aluxoft.earrecognition.unused.Person;
import java.util.HashMap;
/**
......
......@@ -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 {
......
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 {
......
......@@ -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 {
......
package com.aluxoft.earrecognition.activities;
package com.aluxoft.earrecognition.unused;
import android.annotation.SuppressLint;
import android.app.AlertDialog;
......
package com.aluxoft.earrecognition.common;
package com.aluxoft.earrecognition.unused;
import com.aluxoft.earrecognition.common.EarFeature;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment