Skip to content

Commit

Permalink
added code for Hand Pose Detection
Browse files Browse the repository at this point in the history
  • Loading branch information
vikasgupta-github committed Sep 27, 2018
1 parent 2cf476c commit dcf3f0c
Show file tree
Hide file tree
Showing 9 changed files with 2,174 additions and 0 deletions.
6 changes: 6 additions & 0 deletions HandPose/.ipynb_checkpoints/Untitled-checkpoint.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"cells": [],
"metadata": {},
"nbformat": 4,
"nbformat_minor": 2
}
16 changes: 16 additions & 0 deletions HandPose/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
cmake_minimum_required(VERSION 2.8.12)

PROJECT(handPose)

find_package( OpenCV REQUIRED )

include_directories( ${OpenCV_INCLUDE_DIRS})

MACRO(add_example name)
ADD_EXECUTABLE(${name} ${name}.cpp)
TARGET_LINK_LIBRARIES(${name} ${OpenCV_LIBS})
ENDMACRO()


add_example(handPoseImage)
add_example(handPoseVideo)
9 changes: 9 additions & 0 deletions HandPose/getModels.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# ------------------------- BODY, FACE AND HAND MODELS -------------------------
# Downloading body pose (COCO and MPI), face and hand models
OPENPOSE_URL="http://posefs1.perception.cs.cmu.edu/OpenPose/models/"
HAND_FOLDER="hand/"

# "------------------------- HAND MODELS -------------------------"
# Hand
HAND_MODEL=$HAND_FOLDER"pose_iter_102000.caffemodel"
wget -c ${OPENPOSE_URL}${HAND_MODEL} -P ${HAND_FOLDER}
Binary file added HandPose/hand.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit dcf3f0c

Please sign in to comment.