Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want to connect Unity and Bonsai and send mouse head coordinates #22

Open
Inagaki-0228site opened this issue Oct 25, 2023 · 1 comment

Comments

@Inagaki-0228site
Copy link

Using DeepLabCut, output the X,Y coordinates of the mouse head from above from Bosai.
From there, I am thinking of sending x,y coordinate (Point2f) data to Unity and manipulating the object.
However, I would like to exchange data between Unity and Bonsai, but I don't know how.
How can I send head coordinate data to Unity?
スクリーンショット 2023-10-25 181259
スクリーンショット 2023-10-25 181500

@bruno-f-cruz
Copy link

The easiest would be to open a ZMQ or OSC connection between the two applications. Check out the [ZMQ package] documentation(https://bonsai-rx.org/zeromq/articles/recipes.html).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants