Remote browsing method and device for real-time picture of industrial camera based on WebSocket

The invention provides a WebSocket-based remote browsing method and device for a real-time picture of an industrial camera, and belongs to the technical field of real-time pictures of industrial cameras. The method comprises the following steps: S1, acquiring an image by an industrial camera; s2, re...

Full description

Saved in:
Bibliographic Details
Main Authors CHEN JIE, HAN HUI, LI LIANGKUN, GUO LIJUN, WANG JUNPENG, PENG SHUO
Format Patent
LanguageChinese
English
Published 07.03.2023
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention provides a WebSocket-based remote browsing method and device for a real-time picture of an industrial camera, and belongs to the technical field of real-time pictures of industrial cameras. The method comprises the following steps: S1, acquiring an image by an industrial camera; s2, receiving the collected image, and performing visual detection on the image to obtain a detection image; s3, a WebSocket server side is set up; s4, acquiring a URL (Uniform Resource Locator) corresponding to the WebSocket server side, and controlling the front end to establish WebSocket connection with the WebSocket server side according to the URL; s5, encoding the detection image to form encoded data, and controlling the WebSocket server side to send the encoded data to the front end based on the WebSocket connection; and S6, the control front end displays the coded data. According to the invention, the real-time image remote browsing of the industrial camera can be realized without constructing a complicated video
Bibliography:Application Number: CN202211661534