Hi,
I'm trying to use this Theremin simulation in puredata, with the use of the webcam.
I have installed everything it requires. But...when I run the python script, it gives me this error:
$ python ./webcam_synth.py
Traceback (most recent call last):
File "/home/me/Download/webcam-theremin-main/./webcam_synth.py", line 32, in <module>
output_socket.connect((HOST, OUTPUT_PORT))
ConnectionRefusedError: [Errno 111] Connection refused
At the beginning of the script there are these input/output:
INPUT_PORT = 6000
OUTPUT_PORT = 6001
HOST = socket.gethostname()
perhaps they need to be changed?
With lsusb, my integrated webcam should be this::
Bus 002 Device 003: ID 04f2:b483 Chicony Electronics Co., Ltd USB2.0 VGA UVC WebCam
Some advice?
[Pure Data 0.52.1 on Ubuntu 22.04]
Thank you,
a.