craig
3
example of displaying the preview.
with opencv, which seems to be what you want to process.

The X will work over Ethernet. The Z1 will not.
Both will work over USB.
Most people use USB with OpenCV.
The motionjpeg will work, but you may eventually get buffering over wifi.
See this document