Skip to content

Broken with Openpose commit 29ea7e2 #43

@christian-lanius

Description

@christian-lanius

Building pyopenpose (latest master) is broken since openpose commit CMU-Perceptual-Computing-Lab/openpose@29ea7e2 (I checked the previous commits, and they worked fine).

/software/pyopenpose/PyOpenPoseLib/OpenPoseWrapper.cpp: In member function 'void OpenPoseWrapper::detectFace(const cv::Mat&)':
/software/pyopenpose/PyOpenPoseLib/OpenPoseWrapper.cpp:148:86: error: no matching function for call to 'op::FaceDetector::detectFaces(const op::Array&, float)'
const auto faceRectsOP = membersPtr->faceDetector.detectFaces(poseKeypoints, 1.0f);
^
In file included from /software/openpose/include/openpose/face/headers.hpp:5:0,
from /software/pyopenpose/PyOpenPoseLib/OpenPoseWrapper.cpp:14:
/software/openpose/include/openpose/face/faceDetector.hpp:14:39: note: candidate: std::vector<op::Rectangle > op::FaceDetector::detectFaces(const op::Array&) const
std::vector<Rectangle> detectFaces(const Array& poseKeypoints) const;
^
/software/openpose/include/openpose/face/faceDetector.hpp:14:39: note: candidate expects 1 argument, 2 provided
/software/pyopenpose/PyOpenPoseLib/OpenPoseWrapper.cpp: In member function 'void OpenPoseWrapper::detectHands(const cv::Mat&)':
/software/pyopenpose/PyOpenPoseLib/OpenPoseWrapper.cpp:184:86: error: no matching function for call to 'op::HandDetector::detectHands(const op::Array&, float)'
const auto handRectsOP = membersPtr->handDetector.detectHands(poseKeypoints, 1.0f);
^
In file included from /software/openpose/include/openpose/hand/headers.hpp:5:0,
from /software/pyopenpose/PyOpenPoseLib/OpenPoseWrapper.cpp:15:
/software/openpose/include/openpose/hand/handDetector.hpp:17:54: note: candidate: std::vector<std::array<op::Rectangle, 2ul> > op::HandDetector::detectHands(const op::Array&) const
std::vector<std::array<Rectangle, 2>> detectHands(const Array& poseKeypoints) const;
^
/software/openpose/include/openpose/hand/handDetector.hpp:17:54: note: candidate expects 1 argument, 2 provided
PyOpenPoseLib/CMakeFiles/PyOpenPose.dir/build.make:62: recipe for target 'PyOpenPoseLib/CMakeFiles/PyOpenPose.dir/OpenPoseWrapper.cpp.o' failed
make[2]: *** [PyOpenPoseLib/CMakeFiles/PyOpenPose.dir/OpenPoseWrapper.cpp.o] Error 1
make[1]: *** [PyOpenPoseLib/CMakeFiles/PyOpenPose.dir/all] Error 2
CMakeFiles/Makefile2:117: recipe for target 'PyOpenPoseLib/CMakeFiles/PyOpenPose.dir/all' failed
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions