Skip to content

Commit

Permalink
restructuring folders and making bug fixes to paths
Browse files Browse the repository at this point in the history
  • Loading branch information
batchku committed Oct 16, 2016
1 parent 8d15c0f commit ccddd94
Show file tree
Hide file tree
Showing 65 changed files with 6,672 additions and 107 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Large diffs are not rendered by default.

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0730"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "434F718B1DA1CE0B002A4CC4"
BuildableName = "HandTracker"
BlueprintName = "HandTracker"
ReferencedContainer = "container:HandTracker.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "434F718B1DA1CE0B002A4CC4"
BuildableName = "HandTracker"
BlueprintName = "HandTracker"
ReferencedContainer = "container:HandTracker.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "434F718B1DA1CE0B002A4CC4"
BuildableName = "HandTracker"
BlueprintName = "HandTracker"
ReferencedContainer = "container:HandTracker.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "434F718B1DA1CE0B002A4CC4"
BuildableName = "HandTracker"
BlueprintName = "HandTracker"
ReferencedContainer = "container:HandTracker.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>HandTracker.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>434F718B1DA1CE0B002A4CC4</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>
File renamed without changes.
File renamed without changes.
15 changes: 15 additions & 0 deletions globfeat/hsv_histogram_0.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0"?>
<opencv_storage>
<globfeat type_id="opencv-matrix">
<rows>1</rows>
<cols>64</cols>
<dt>f</dt>
<data>
0. 5.99307327e+01 6.85027771e+01 8.35125732e+00 0. 3.97033358e+00
2.84314613e+01 4.79538822e+00 0. 1.26043558e+01 0. 0. 0. 0. 0. 0. 0.
0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 4.27246618e+00
4.66756296e+00 1.00052404e+01 0. 7.79347420e+00 0. 0. 0.
5.70565987e+00 0. 0. 0. 0. 0. 0. 0. 0. 3.96645999e+00 1.49207067e+01
3.88899016e+00 4.18724918e+00 0. 0. 0. 5.69791269e+00 0. 0. 0.
3.30796576e+00 0. 0. 0.</data></globfeat>
</opencv_storage>
15 changes: 15 additions & 0 deletions globfeat/hsv_histogram_1.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0"?>
<opencv_storage>
<globfeat type_id="opencv-matrix">
<rows>1</rows>
<cols>64</cols>
<dt>f</dt>
<data>
0. 5.99307327e+01 6.85027771e+01 8.35125732e+00 0. 3.97033358e+00
2.84314613e+01 4.79538822e+00 0. 1.26043558e+01 0. 0. 0. 0. 0. 0. 0.
0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 4.27246618e+00
4.66756296e+00 1.00052404e+01 0. 7.79347420e+00 0. 0. 0.
5.70565987e+00 0. 0. 0. 0. 0. 0. 0. 0. 3.96645999e+00 1.49207067e+01
3.88899016e+00 4.18724918e+00 0. 0. 0. 5.69791269e+00 0. 0. 0.
3.30796576e+00 0. 0. 0.</data></globfeat>
</opencv_storage>
13 changes: 13 additions & 0 deletions globfeat/hsv_histogram_2.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0"?>
<opencv_storage>
<globfeat type_id="opencv-matrix">
<rows>1</rows>
<cols>64</cols>
<dt>f</dt>
<data>
0. 0. 1.36540482e+02 1.31904869e+01 2.71730924e+00 1.89109554e+01 0.
0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 1.15270386e+01 0. 0. 0. 0. 0. 0.
0. 0. 0. 0. 0. 0. 0. 0. 1.00805626e+01 4.47959938e+01 0. 0. 0. 0. 0.
0. 0. 0. 0. 0. 0. 0. 0. 0. 1.35107775e+01 0. 0. 3.72639847e+00 0. 0.
0. 0. 0. 0. 0. 0. 0. 0.</data></globfeat>
</opencv_storage>
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
6 changes: 3 additions & 3 deletions HandTracker/HandTracker/main.cpp → main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ using namespace cv;

int main (int argc, char * const argv[])
{
bool TRAIN_MODEL = 0;
bool TEST_MODEL = 1;
bool TRAIN_MODEL = 1;
bool TEST_MODEL = 0;

int target_width = 320; // for resizing the input (small is faster)

Expand All @@ -33,7 +33,7 @@ int main (int argc, char * const argv[])
int step_size = 3;

// Assumes a certain file structure e.g., /root/img/basename/00000000.jpg
string root = ""; //TODO INSERT ABSOLUTE PATH
string root = "/Users/ali/Documents/Development/handtrack/"; //replace with path to your Xcode project
string basename = "";
string img_prefix = root + "img" + basename + "/"; // color images
string msk_prefix = root + "mask" + basename + "/"; // binary masks
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Loading

0 comments on commit ccddd94

Please sign in to comment.