You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 5
Next »
Start the camera server
Start the viewer
- Log onto the FACET control server with a proper ssh port tunnel and X-window forwarding:
(1: SLAC network) ssh smeuren@rhel6-64.slac.stanford.edu -Y
(2: mcclogin) ssh smeuren@mcclogin -Y
(3: control server) ssh fphysics@facet-srv01 -Y -R 42000:e320pi:42000
Streaming of color video from standard webcam (Apr 2022)
- Currently used webcam supports a maximum of 5 FPS at 1920x1080 pixel
- Data a read in YUV format from the camera, converted to BGR via OpenCV (c++ code)
- One core of the Raspberry pi devotes 20% CPU time to the image conversion
- Data can be read directly into a numpy array for display on the client side (3x8-bit BGR)
![](/download/attachments/343715013/image2022-4-25_17-12-45.png?version=1&modificationDate=1650931965000&api=v2)
![](/download/attachments/343715013/image2022-4-25_17-12-9.png?version=1&modificationDate=1650931929000&api=v2)
![](/download/attachments/343715013/image2022-4-25_17-18-55.png?version=1&modificationDate=1650932336000&api=v2)