{"action":"created","issue":{"url":"https://api.github.com/repos/FORTH-ModelBasedTracker/PyOpenPose/issues/41","repository_url":"https://api.github.com/repos/FORTH-ModelBasedTracker/PyOpenPose","labels_url":"https://api.github.com/repos/FORTH-ModelBasedTracker/PyOpenPose/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/FORTH-ModelBasedTracker/PyOpenPose/issues/41/comments","events_url":"https://api.github.com/repos/FORTH-ModelBasedTracker/PyOpenPose/issues/41/events","html_url":"https://github.com/FORTH-ModelBasedTracker/PyOpenPose/issues/41","id":310773143,"number":41,"title":"Make Problem (error 2)","user":{"login":"worldhugo","id":23557989,"avatar_url":"https://avatars3.githubusercontent.com/u/23557989?v=4","gravatar_id":"","url":"https://api.github.com/users/worldhugo","html_url":"https://github.com/worldhugo","followers_url":"https://api.github.com/users/worldhugo/followers","following_url":"https://api.github.com/users/worldhugo/following{/other_user}","gists_url":"https://api.github.com/users/worldhugo/gists{/gist_id}","starred_url":"https://api.github.com/users/worldhugo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/worldhugo/subscriptions","organizations_url":"https://api.github.com/users/worldhugo/orgs","repos_url":"https://api.github.com/users/worldhugo/repos","events_url":"https://api.github.com/users/worldhugo/events{/privacy}","received_events_url":"https://api.github.com/users/worldhugo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-03T10:07:11Z","updated_at":"2018-04-03T13:11:19Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nafter installing Opencv3.3, Openpose (work great !), I want to try PyOpenPose (thanks for your work).\r\n\r\nI have this output when I launch \"make\" :\r\n```\r\n/pyopenpose/build$ make\r\nInstall prefix is set to: /usr/local\r\nGenerating with build type: Release\r\n-- Boost version: 1.58.0\r\n-- Found the following Boost libraries:\r\n--   system\r\n--   python-py27\r\n-- \r\n-- The following OPTIONAL packages have been found:\r\n\r\n * Doxygen\r\n\r\n-- The following REQUIRED packages have been found:\r\n\r\n * Threads\r\n * CUDA\r\n * OpenCV (required version >= 3)\r\n * Boost\r\n * PythonLibs (required version == 2.7)\r\n\r\n-- Configuring done\r\n-- Generating done\r\n-- Build files have been written to: /home/hugo/pyopenpose/build\r\n[ 25%] Building CXX object PyOpenPoseLib/CMakeFiles/PyOpenPose.dir/OpenPoseWrapper.cpp.o\r\n/home/hugo/pyopenpose/PyOpenPoseLib/OpenPoseWrapper.cpp: In member function ‘void OpenPoseWrapper::detectFace(const cv::Mat&)’:\r\n/home/hugo/pyopenpose/PyOpenPoseLib/OpenPoseWrapper.cpp:148:86: error: no matching function for call to ‘op::FaceDetector::detectFaces(const op::Array<float>&, float)’\r\n     const auto faceRectsOP = membersPtr->faceDetector.detectFaces(poseKeypoints, 1.0f);\r\n                                                                                      ^\r\nIn file included from /usr/local/include/openpose/face/headers.hpp:5:0,\r\n                 from /home/hugo/pyopenpose/PyOpenPoseLib/OpenPoseWrapper.cpp:14:\r\n/usr/local/include/openpose/face/faceDetector.hpp:14:39: note: candidate: std::vector<op::Rectangle<float> > op::FaceDetector::detectFaces(const op::Array<float>&) const\r\n         std::vector<Rectangle<float>> detectFaces(const Array<float>& poseKeypoints) const;\r\n                                       ^\r\n/usr/local/include/openpose/face/faceDetector.hpp:14:39: note:   candidate expects 1 argument, 2 provided\r\n/home/hugo/pyopenpose/PyOpenPoseLib/OpenPoseWrapper.cpp: In member function ‘void OpenPoseWrapper::detectHands(const cv::Mat&)’:\r\n/home/hugo/pyopenpose/PyOpenPoseLib/OpenPoseWrapper.cpp:184:86: error: no matching function for call to ‘op::HandDetector::detectHands(const op::Array<float>&, float)’\r\n     const auto handRectsOP = membersPtr->handDetector.detectHands(poseKeypoints, 1.0f);\r\n                                                                                      ^\r\nIn file included from /usr/local/include/openpose/hand/headers.hpp:5:0,\r\n                 from /home/hugo/pyopenpose/PyOpenPoseLib/OpenPoseWrapper.cpp:15:\r\n/usr/local/include/openpose/hand/handDetector.hpp:17:54: note: candidate: std::vector<std::array<op::Rectangle<float>, 2ul> > op::HandDetector::detectHands(const op::Array<float>&) const\r\n         std::vector<std::array<Rectangle<float>, 2>> detectHands(const Array<float>& poseKeypoints) const;\r\n                                                      ^\r\n/usr/local/include/openpose/hand/handDetector.hpp:17:54: note:   candidate expects 1 argument, 2 provided\r\nPyOpenPoseLib/CMakeFiles/PyOpenPose.dir/build.make:62 : la recette pour la cible « PyOpenPoseLib/CMakeFiles/PyOpenPose.dir/OpenPoseWrapper.cpp.o » a échouée\r\nmake[2]: *** [PyOpenPoseLib/CMakeFiles/PyOpenPose.dir/OpenPoseWrapper.cpp.o] Erreur 1\r\nCMakeFiles/Makefile2:117 : la recette pour la cible « PyOpenPoseLib/CMakeFiles/PyOpenPose.dir/all » a échouée\r\nmake[1]: *** [PyOpenPoseLib/CMakeFiles/PyOpenPose.dir/all] Erreur 2\r\nMakefile:127 : la recette pour la cible « all » a échouée\r\nmake: *** [all] Erreur 2\r\n```\r\n\r\nOpenpose build correctly and install without problem ...\r\n\r\nThanks !\r\n"},"comment":{"url":"https://api.github.com/repos/FORTH-ModelBasedTracker/PyOpenPose/issues/comments/378244552","html_url":"https://github.com/FORTH-ModelBasedTracker/PyOpenPose/issues/41#issuecomment-378244552","issue_url":"https://api.github.com/repos/FORTH-ModelBasedTracker/PyOpenPose/issues/41","id":378244552,"user":{"login":"worldhugo","id":23557989,"avatar_url":"https://avatars3.githubusercontent.com/u/23557989?v=4","gravatar_id":"","url":"https://api.github.com/users/worldhugo","html_url":"https://github.com/worldhugo","followers_url":"https://api.github.com/users/worldhugo/followers","following_url":"https://api.github.com/users/worldhugo/following{/other_user}","gists_url":"https://api.github.com/users/worldhugo/gists{/gist_id}","starred_url":"https://api.github.com/users/worldhugo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/worldhugo/subscriptions","organizations_url":"https://api.github.com/users/worldhugo/orgs","repos_url":"https://api.github.com/users/worldhugo/repos","events_url":"https://api.github.com/users/worldhugo/events{/privacy}","received_events_url":"https://api.github.com/users/worldhugo/received_events","type":"User","site_admin":false},"created_at":"2018-04-03T13:11:19Z","updated_at":"2018-04-03T13:11:19Z","author_association":"NONE","body":"It's ok, with last commit of OpenPose (03/04/2018), in OpenPoseWrapper.cpp :\r\n- change line 148 :\r\n\r\n> const auto faceRectsOP = membersPtr->faceDetector.detectFaces(poseKeypoints, 1.0f);\r\n\r\nto\r\n\r\n> const auto faceRectsOP = membersPtr->faceDetector.detectFaces(poseKeypoints);\r\n\r\n- change line 184 :\r\n\r\n> const auto handRectsOP = membersPtr->handDetector.detectHands(poseKeypoints, 1.0f);\r\n\r\nto :\r\n> const auto handRectsOP = membersPtr->handDetector.detectHands(poseKeypoints);\r\n\r\n\r\nThanks for all !\r\n"}}
{"actor":{"display_login":"worldhugo"}}