Open tulbureandreit opened 2 years ago
More details, it seems to get stuck at the sender.send_jpg(jetson_name, frame_buffer) line
Hi @tulbureandreit,
Were you able to run the /tests/test3-***.py
programs without changes (other than using your own TCP address)? I would suggest doing that to see if imageZMQ is working OK on your Jetson Nano and your PC hardware with your TCP address and port number. What happens when you run them?
Also, could you format your code using code fencing and syntax highlighting so it is more readable, please. You can edit your existing message rather than re-writing it. GitHub docs on using fenced code blocks with syntax highlighting are here. Thanks, Jeff
@jeffbass I edited the comment. Sorry.
I will run the tests and update you, but I do not have a PiCamera (I have an USB camera), thus I will still need to modify a little bit the code.
Thanks a lot!
Hello. I did not manage to run them successfully. As I see, the problem is at the receiver`s end. At:
image_name, image_buffer = image_hub.recv_jpg()
Because when I debugged the code with prints, this is the only line that did not work. Also, what`s weird is that the While from the sender only looped once, then it blocked ( i think it is waiting for responde from the sender? )
Thank you in advance. Ps: is it easier with a PiCamera?
It should not make a difference whether a PiCamera or a USB camera is used. In fact, to facilitate debugging, you may want to borrow code from the imagezmq/tests/test_1_send_images.py
program to simply send images that are created to send digit images without a camera. My initial guess is that your receiver has the inbound port blocked somehow. Is your receiving computer running Windows? If so, there are some suggestions for opening the port, etc., in issues #19 & #20. I don't have a Windows computer, so I cannot be much help with Windows.
Hello @jeffbass,
So TLDR: I try to send frames from my Jetson nano (running ubuntu18.04) to my PC. They are connected on the same ethernet connection. I use the same syntax as from your /tests/test3-***.py programs. And it does not work, it just freezes without any errors.
Any suggestions?
receiver:
sender: