Comments (2)
Hello @youssef266 .
I haven't seen this before. I am sorry that from this error message, I cannot tell where the problem is.
I think there are 2 possible places that may lead to this problem. The first is that the runtime environment is not compatible, the second one is that the way that components are connected is not the optimal form (The stable version in the master
branch does not detect connection errors).
Maybe you can first create a configuration containing only MediaCapture
and ColorVideoVisualizer
to test whether the webcam is working well.
The full pipeline should contain MediaCapture
, OpenPose
and OpenPoseVisualizer
. Where OpenPoseVisualizer
accepts outputs from both MediaCapture
and OpenPose
.
For the question about pushing the output to other places, OpenSense only supports /psi built-in remoting protocol. You can receive data from another host only if you can run .net core in your ROS,
Actually, I cannot recall the detailed implementation of the version in the master
branch. Our latest version (now in the dev
branch) has changed a lot and it provides the ability to easily add new customized components, maybe you want to use that to implement a private protocol to send data.
By the way, here are the detail steps to run OpenPose in OpenSense using the version in the dev
branch.
- Switch to the
dev
branch. - Open the visual studio solution file
OpenSense.sln
- Double click project
WpfApplication
to open and edit its project file. - add
<ProjectReference Include="..\Psi.Media.Windows.Wpf\Psi.Media.Windows.Wpf.csproj" />
,<ProjectReference Include="..\OpenPose.Wpf\OpenPose.Wpf.csproj" />
and<ProjectReference Include="..\OpenPose.Visualizer.Wpf\OpenPose.Visualizer.Wpf.csproj" />
between line 53 to 62. By adding these dependencies of required components, you do not need to copy compiled DLLs manually. - Modify the target build architecture from
Any CPU
tox64
on the top of visual studio, because OpenPose only supports .net framework not .net standard like other components. - Build the
WpfApplication
project. - Copy
OpenSense\OpenPosePInvoke\OpenPoseLib\models
directory to the output directory ofWpfApplication
. These are the model files of OpenPose which can not be copied automatically. - Copy all the files under
OpenSense\OpenPosePInvoke\OpenPoseLib\bin\x64\Common
andOpenSense\OpenPosePInvoke\OpenPoseLib\bin\x64\Debug
(if you are using theDebug
configuration). These are native OpenPose libraries which also can not be copied automatically. - Run the
WpfApplication
and open the configuration file here: openpose sample config dev branch.pipe.zip - Change the default webcam of this configuration, and you may want to reduce to resolution to increase the frame rate.
- Run this pipeline to see the result.
Please feel free to ask if you meet any further problems.
from opensense.
Some clarifications:
- Since by now our OpenSense only supports /psi built-in protocol. If you want to run OpenSense in your ROS to receive data, the ROS should be able to install a
.net core
runtime. - If you choose to implement a private protocol to send data, you do not need OpenSense in your ROS. I will provide information if you want to write a customized component. Or you can just add your code after line 97 of
OpenPose.cs
. - The latest version output directory layout will should look like this
Debug/
models/
......
cublas64_100.dll
......
openposed.dll
......
OpenSense.Wpf.exe
......
from opensense.
Related Issues (19)
- [WIP] Generalized CSV exporter HOT 1
- [WIP] Implement simple VAD component
- [WIP] More detailed delivery policy editing control
- Head Gesture and Eye Point of interest Component HOT 1
- Head Gesture and Eye Point of interest Component HOT 1
- OpenFace Integration with PSI HOT 2
- OpenSmile integration with Psi HOT 1
- OpenSmile issue HOT 1
- MediaPipe Issue HOT 6
- LibreFace Configuration HOT 1
- Is there an OpenSense/Libreface Command Line Tool? HOT 6
- error when building OpenSense project HOT 4
- problem when adding an instance in pipeline editor HOT 2
- .conf file not found when trying to run opensmile in a pipeline HOT 1
- [WIP] Visualization controls may overlap in Pipeline Executer
- [WIP] Change pipeline APIs to asynchronous methods
- [WIP] Rename PipelineEnvironment to PipelineHost
- [WIP] Replace Json.Net to System.Text.Json HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opensense.