Giter Club home page Giter Club logo

Comments (6)

ravijo avatar ravijo commented on July 19, 2024

Hi @Gryogor

I quickly looked at the error and found the following-

error: no match for ‘operator=’ (operand types are ‘op::Matrix’ and ‘const cv::Mat’)
datumPtr->cvInputData = colorImage;

I highly doubt that you are using a really old version of OpenPose. Can you please install OpenPose version 1.5.1? The latest version of OpenPose should also work fine.

from ros_openpose.

Gryogor avatar Gryogor commented on July 19, 2024

Thank you for the answer. I will try it. But how does your wrapper checks, which openpose to choose? Because I have 2 versions installed in different folders.
UPD. One of the versions is the most recent. Installed it today.

from ros_openpose.

ravijo avatar ravijo commented on July 19, 2024

how does your wrapper checks, which openpose to choose?

It uses find_package as shown below:

find_package(OpenPose REQUIRED)

I have 2 versions installed in different folders.

As I said earlier, find_package must be able to located the latest OpenPose. To do that you must copy the compiled files into the system directories. You need to go inside the build directory of OpenPose and then execute the following command-

cd build/
sudo make install

You can look at the detailed instructions here.

from ros_openpose.

Gryogor avatar Gryogor commented on July 19, 2024

Tried the most recent commit and version 1.5.1. Still gives the same error.

from ros_openpose.

Gryogor avatar Gryogor commented on July 19, 2024

@ravijo
Okey. I tried to install everything on completely clean ubuntu 16.04. This time everything worked without a problem. I am not sure what is the problem, but maybe older versions of installed openpose might be creating a problem.

from ros_openpose.

ravijo avatar ravijo commented on July 19, 2024

Hi @Gryogor

I tried to install everything on completely clean ubuntu 16.04. This time everything worked without a problem.

I am glad that it worked.

maybe older versions of installed openpose might be creating a problem.

Yes, you are right. You can't have two versions of the same software installed system directories (globally). The command sudo make install basically overwrites your exiting OpenPose. Furthermore, I don't see any benefit of having multiple versions of OpenPose in one computer.

Cheers

from ros_openpose.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.