Direct connection to PC USB

Added by Simplo Simplo about 1 month ago

Hi all,
I'm evaluating to purchase PIxy but my limit is I don't use Arduino.
I read that Pixy has an USB port and that it cen be connected to PC using PixyMon.
Can I just connect it to the PC (without any Arduino) and read USB data?
Thank you
Simplo


Replies (4)

RE: Direct connection to PC USB - Added by Jesse French about 1 month ago

Hi Simplo,

yes, Pixy connects to PC and you can view what it sees using the PixyMon application.

What are you intending to use Pixy for? And what OS are you using? Pixy can send data over USB about objects it detects using a library called libpixyusb, but it only runs on Linux-based operating systems - for example, Raspberry Pi or Beaglebone Black.

Hope this helps!

Cheers,
Jesse

RE: Direct connection to PC USB - Added by Simplo Simplo about 1 month ago

Hi Jesse, I'd like to use Pixy with TouchDesigner (www.derivative.ca), that is a software to develop interactive installations.
It can both read serial/usb data and use Python and C++.
So I was thinking to read Pixy data directly from USB or to build a software interface (Python or C++) between USB and TD.
It seems I better put a Raspberry/Arduino system between Pixy and my PC?
I never done something similar, is it an hard task?
Thank you for your attention.
Simone

PS: please forgive my bad english.

RE: Direct connection to PC USB - Added by Jesse French 29 days ago

Hey Simplo,

I think for this project you might be better off using OpenCV and a webcam. I'm not super familiar with the software, but looking at the documentation, it seems that OpenDesigner comes with OpenCV installed. Check out this page for more: https://www.derivative.ca/wiki099/index.php?title=OpenCV

You should be able to use their blob tracker to run Pixy-like functionality.

If you were to use Pixy, you would need to put an Arduino or Pi between the computer and Pixy - and then figure out how to pipe that data into TouchDesigner.

Hope this helps!

Best,
Jesse

RE: Direct connection to PC USB - Added by Simplo Simplo 29 days ago

Hi Jesse,
thank you for your reply.
I just discovered someone else used Pixy with Arduino to interface with PC/TouchDesigner, so it should work.
It doesn't seems to me that OpenCV blobtrack is as good as Pixy functionality.
I'll try the Arduino way, I just need it to send data to the PC and I will do all the work in TD once I have signals on USB.
Maybe I will ask again for help once I have all on my desk and will try to connect (I think next month).
Thank you veru much!
Simone

Jesse French wrote:

Hey Simplo,

I think for this project you might be better off using OpenCV and a webcam. I'm not super familiar with the software, but looking at the documentation, it seems that OpenDesigner comes with OpenCV installed. Check out this page for more: https://www.derivative.ca/wiki099/index.php?title=OpenCV

You should be able to use their blob tracker to run Pixy-like functionality.

If you were to use Pixy, you would need to put an Arduino or Pi between the computer and Pixy - and then figure out how to pipe that data into TouchDesigner.

Hope this helps!

Best,
Jesse

(1-4/4)