Welcome to %s forums

BrainModular Users Forum

Login Register

Brekel Body Pro and Usine

General Discussion about whatever fits..
Post Reply
dmitriyc
Member
Posts: 84
Contact:

Unread post by dmitriyc » 17 Apr 2018, 18:10

Hey All,

I've been experimenting with Kinect V2 and am seeing if I can get OSC commands to come from Brekel Body Pro 2 into Usine, however I think the format might be off... In the documentation, it says the address pattern is in this format: /waist_joint_local. I haven't been able to catch the stream using OSC lister and have tried the addresses individually. Is it because of the underlines separating the "joint" and "local" I checked and re checked the ports and Brekel appears to be sending, but Usine is not catching. Is there something I'm missing?

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 23 Apr 2018, 21:55

No, underlines are supported in Usine without problems, must be another reason.
Do you use another software between kinect and Usine?

dmitriyc
Member
Posts: 84
Contact:

Unread post by dmitriyc » 25 Apr 2018, 21:09

Hey Nay. I am using NI-Mate with the "basic" skeleton send option without a problem. Part of why, I think is the fact that its straight forward in its address format (ie: /L hand) any other format, even in NI-Mate, where its not so straight forward doesn't catch on Usine. Which leads me to the thinking that Usine is so sensitive that it may not be equipped to catch Brekel Body Pro, as Brekel may only have the ability to send to different ports, not different formats. Funny enough, I spoke to Jasper Brekels, the developer of the software and he says he is just recalling the native OSC that comes from the camera and that the issue may be on Usine's side

dmitriyc
Member
Posts: 84
Contact:

Unread post by dmitriyc » 03 Mar 2021, 01:06

Hey there! Looking at this tutorial, there may be a way for Kinect v2 to send data over OSC to Usine. I can't seem to get it working. Any thoughts?

tutorial:
https://guide.lightform.com/hc/en-us/ar ... oft-Kinect

dmitriyc
Member
Posts: 84
Contact:

Unread post by dmitriyc » 03 Mar 2021, 07:44

So with extra digging, I found the solution! It was NOT very apparent and may have broken my brain a little...

1. As per my last link, the github code referenced there isn't very robust. Probably because I have no intricate knowledge (or much desire, really) of visual studio coding, but I wasn't able to get it to work, and even if I did, It seems custom. I just want a raw dump of the data coming from Kinect V2. This seemed to be more for an installation with a projector.

2. Rug.osc is referenced as a basis for this code, so I tinkered around with the original and found a bunch of examples of sending OSC data using visual basic. Fascinating! Changing the port or ip address of where the process wants to send OSC and linking Kinect v2 was next.

3. A program to get the Kinect data and send it is at this link:

https://github.com/microcosm/ofxKinectV2-OSC

If you don't have github/visual basic experience, you're SOL, but I didn't have any last year, so there is hope for you. Basically get the latest visual studio and open everything in the folder at least a few hundred times until you start seeing patterns and things that you're looking for specifically. Like right now I'm trying to figure out how to limit how many joints i send because the lister is simply not built for so much data.

VERY IMPORTANT!

The reason why I dropped this in the first place is because when sending the signal to 127.0.0.1 (local machine the vb program, kinect v2 and usine hollyhock are located) produces no results. That is because either the program or Hollyhock can take up the same port, but not both. The workaround is making one machine specifically for getting and sending Kinect v2 data. That machine CANNOT use lister or receive modules to see the signal. Only another machine on the network can by pointing to it in the VB program. So one computer has to be a designated data miner and so far I've only been able to send it to one IP address, despite there being the ability to multicast. More experimentation is needed. Given that there are hundreds of OSC addresses, perhaps one to one computer connection is better. Furthermore to note, compared to other softwares like NI-Mate, Blender, and Brekel, this solution only taxes 20% of CPU power. Which is amazing, as Brekel almost breaks my computer every time.

Hopefully someone can save themselves from the rabbit hole I fell into resolving this...

User avatar
rlgsbt
Member
Posts: 187
Location: Marseille
Contact:

Unread post by rlgsbt » 03 Mar 2021, 08:23

Hi dmitriyc,
To turn pages, you can also use "MotionKit" with a simple webcam. The workspace Slideshow does the same : https://youtu.be/btF5hUWRv1g
Movement detection still work in HH4 and should be included in HH5.
+++

dmitriyc
Member
Posts: 84
Contact:

Unread post by dmitriyc » 03 Mar 2021, 22:38

Hey rlgsbt! This is awesome thank you for putting me onto this! There are many pros and cons to this kind of setup and you're right, for swiping motions, its just the ticket. Having it be connected online for it to work comes to me as a concern. On the other hand, it is able to cast locally and saves whatever processing would be done... If I had to say anything negative, it is the time it takes to start it up. Is there any way to call up posenet with pre-determined port and other settings? That would sell me quite hard.

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 04 Mar 2021, 07:23

I confirm that PosNet will be included in the futures release of HH, with the possibility to customize "ports and other settings".

dmitriyc
Member
Posts: 84
Contact:

Unread post by dmitriyc » 08 Mar 2021, 23:25

Thank you senso! Great work!

Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests