pypylon
pypylon copied to clipboard
Accessiing GigE cameras remotley through vpn
Hi everyone, Does anyone know how to use pypylon from outside of the network that the cameras are connected to?
in the perspective of there is no different if the camera connected to pc directly (peer to peer) , in the same network Oder via internet.
you need to make sure that the UDP trafic of the PC can reach the camera.
In case the camera is reach reachable in unicast traffic, then you can use F11 in pylonviewer to announce the IP of the camera.
@SMA2016a thanks you for your response. I was trying to use a VPN tunnel to connect to the camera and grab the frames with pypylon.
I finally managed to establish the connection however, I only achieve a maximum of 2 fps and that’s after playing around with packet size and inter-packet delay. Anything faster gives the following error l:
Error: 3774873620 The buffer was incompletely grabbed. This can be caused by performance problems of the network hardware used, i.e. network adapter, switch, or ethernet cable. To fix this, try increasing the camera's Inter-Packet Delay in the Transport Layer category to reduce the required bandwidth, and adjust the camera's Packet Size setting to the highest supported frame size.
I’m using wire guard to set up the vpn. Do you have any suggestions how to improve the speed? Reducing the frame resolution to 720p increased the frame rate to about 20 fps but it seems like pylon only crops the frame and there’s no actual resizing/down sampling.
If you want the camera to do resizing look into binning.
@PolymaTh-EE98 thank you for your response. Unfortunately according to the website my camera doesn’t support binning. I’m using a a2a1920-51gcpro gige camera.
For anyone interested, there’s another feature called Pixel Beyond that reduces the frame resolution on ace 2 cameras.
try compression beyond