<< return to Pixycam.com

How to stream x,y coordinates of detected obj into personal exe program or into matlab lively!urgent!

Here’s the thing. I want to track the live coordinate of some detected object and transfer the position inf into my own program written in C++.
Is there any way to use pixyMon to achieve thaT?
Any information about how to extract the coordinates lively will be fine.
Sincerely appreciate it!

Hello Mengbo.
You should be able to do this by modifying PixyMon. You can find the place in the code where it renders the blobs. You might take a look at cccmodule.cpp at CccModule::renderBlobsA()

Hope this helps!

Edward

Hi Edward

Thank you very much for your reply first.

But I’m sorry that I know quiite little about modifying software. I noticed that there is a hello_pixy program with libpixy. I got a minnowboard with linux mint17 installed so I wonder can I just modify that file by adding some code to transmit signal to aruduino?
Besides, I followed the instructions and installed the pixymon on my minnowboard with linux installed, hwoever when I connect pixy with minnowboard the pixyMon shows “No Pixy devices have been detected.” I wonder if there’s some files missed with the linux?

Again, thanks for your help.

Sincerely

Mengbo

Hello Mengbo,
Have you tried running PixyMon at root? For example,

sudo pixymon

Edward