Git Product home page Git Product logo

mad-lab-fau / bash-model Goto Github PK

View Code? Open in Web Editor NEW
82.0 8.0 9.0 53.26 MB

We developed a method animating a statistical 3D human model for biomechanical analysis to increase accessibility for non-experts, like patients, athletes, or designers.

License: Apache License 2.0

C++ 97.92% GLSL 1.92% Batchfile 0.16%
statistical-model 3d-models scape opensim human-pose-estimation visualization biomechanics animated

bash-model's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bash-model's Issues

Need help for the installation........

Hello,
For the dependencies, SuitSparse package: suitsparse + amd + umfpack (>= 5.1.2).
The official SuitSparse doesn't support Windows well.
Are you using the unoffical SuitSparse for windows version?
There is a "libmwlapack.lib" I failed to get it... Does it come from the matlab version of lapack?
I am using the SDK from OpenSim 4.3 binary version.
There is an error in the code in osim.cpp....
Severity Code Description Project File Line Suppression State Error C2440 'initializing': cannot convert from 'OpenSim::DataAdapter::OutputTables' to 'OpenSim::TimeSeriesTable_<SimTK::Real>' SCAPE E:\innovision2021\BASH-Model-main\BASH-Model-main\src\osim.cpp 94

Can't load sto from 2020_Nitschke_RunMaD.zip.... and some questions on the result..

Hi,
Finally, I let BASH-Model run in my pc.
Since it has an error , as mentioned in my previous issue, I modify that line into OpenSim::TimeSeriesTable stoTable = OpenSim::TimeSeriesTable(filepath);
I downloaded 2020_Nitschke_RunMaD.zip to test the program.
I can't load any sto to run it... I only can run the osim with mot file....

Besides, without the sto, I got the result below.
image
There are some cyan color lines near the arms. Do they represent the arms from the OpenSim skeleton (runMaD.osim)?
Does it mean the skeleton can't be under the SCAPE surface model?
image

gsl.lib windows

Hello,

I'd like to test your tool but I'm struggling to get things built on windows. I was just wondering if that's something you tried out and, if so, you found an easy way to get gsl.lib? Your tool looks really great so I am really willing to give it a try.

Thanks

How to get SCAPE.obj?

Hello,
I've successfully run your project. I am trying to use your package with some of my data.
This baseline model is generic, and I don't know if it's necessary to modify it, but I'd like to know how SCAPE.obj got it. I know that the underlying articulated skeleton and the attached marker points are modeled in Blender, but I want to know how the surface mesh inside this is obtained.
Thanks in advance for your help!

Prebuilt SCAPE x64 binaries?

Hi,

I came across your project which looks really interesting. Unfortunately, getting SCAPE to compile correctly is quite a challenge. Do you have any prebuilt binaries for x64 you are able to share?

Regards

How to obtain the osim file?

Thank you very much for your perfect work. I'm new to this field, so I want to ask some basic questions. How to obtain the visualization like the gif? When I run the start.bat on windows, it said that I need to drag the .osim file. I know the .osim file is used for OpenSim, but is there any ready-made .osim file for visualization? In details, How to obtain the osim file by ourselves?

Thank you very much.

markers.obj

Hello,

I am trying to use your package with some of my data.
I managed to build everything on windows (I think), and I am now loading my data.
I get the following error: Error: No corresponding marker was found: AnkL @ line 180 in file: c:\users\u0101727\documents\myrepositories\bash-model\src\model.cpp, which is expected since there is no such marker in my model. My question is therefore the following: can I use a different marker set with your package? I see that the markers of the baseline model are defined in markers.obj, so I could potentially adjust this file. But I don't know where the values come from. I can also try to adjust my marker set to reflect what is in markers.obj. Any thoughts on that?

I have also tried loading the data provided with Nitschke et al. (2020), and I think it worked fine. At least I get a lot of .ply files in cache\mesh\.... Is it what it is supposed to output? How are you then converting those files into animation as in your example? Sorry for the basic questions, but it is not super clear to me how to use the tool and what to expect as output.

Thanks in advance for your help, I hope I can make it work - it looks great!

Issues on the versions of reading sto and the sto files in 2020_Nitschke_RunMaD.zip

I finally let the program work with Muscle Activation.
It has an error if you are not using OpenSim 4.0 API.
Change the code to OpenSim::TimeSeriesTable stoTable = OpenSim::TimeSeriesTable(filepath); may fix the error in OpenSim 4.1+ API.
The *.sto files from 2020_Nitschke_RunMaD.zip don't work in the program. The reason behind it may be the problem of format.....???
I open the *.sto using excel. The *.sto file from 2020_Nitschke_RunMaD.zip look like the following figure.
image
I modified the *.sto file and the program works well with Muscle Activation...
image
image

How to define the markers set in SCAPE?

Hello,
I am learning about OpenSim and SMPL model. I read another issue markers.obj.

We placed the markers on the surface of the baseline model's mesh by hand and exported their coordinates

Explore the model in Blender, find the positions on the skin to place the markers that share the same name in your osim model?
How to evaluate the markers in Blender?
Thank you.

FOV in deg instead of rad.

Hi,

It is not an issue per se, but I think the FOV set here is in degrees, whereas glm::perspective expects a FOV in radian here. Interestingly, it does not have a huge effect on the rendering. Yet the values of the projection matrix P are wrong should anyone would like to use them. Thought that could be useful.

Best,
Antoine

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.