Skip to main content

Camera Object Examples

  1. Navigate to HSYCO Manager

  2. Open the "Settings"

  1. Select "Cameras"

  1. Click "+" to add a new camera

  1. Give it an "ID" and click "OK"

  1. Give the camera a complete URL. This is used to acquire single frames in JPEG format, or MJPEG streams, in the desired resolution. it is mandatory for each camera.

  1. Give it a "URL Small" (it's optional). In order to optimize camera processing performance, the URL fetches frames at a lower resolution. When serving frames to the Web interface, HSYCO will automatically choose the most appropriate frame resolution to use, based on the size of the frame in the Web interface.

  1. Select the "vptz" from the "PTZ" dropdown menu. This is the Virtual PTZ. This defines the PTZ features of a camera and family of PTZ driver. The PTZ control of a camera is automatically added to the Web interface. You can click on the edges of the camera image to control the camera: up, down, right, left, zoom and focus.

  1. Set, if you want, the "Max Age". It is a positive integer number followed by "d" character, for days, "h" for hours or "m" for minutes. (30d for example). This is the period of time, from when each frame acquired by the camera corresponding is recorded, during which the frames remain on HSYCO’s hard disk. When this time expires the frames are automatically deleted from the HSYCO motion directory.

  1. Set, if you want, the "Motion Buffer". Recording normally starts exactly when a recording trigger or command is issued. Using this parameter you can have HSYCO start recording some time ahead of the recording command. This is particularly important to capture video a few seconds before an event happens. When this parameter is set, HSYCO constantly acquires images from the camera, not only when necessary to display or record video. Moreover, the temporary recording of this buffer requires memory resources, and it is therefore convenient not to use high values (values included between 10 and 20, with an acquisition rate of about 400 milliseconds, can be considered normal)

  1. The "CamerasRefreshMillis" is the camera frames acquisition interval, in milliseconds. For example, for a frequency of 4 frames a second, set the value to 250. A low value corresponds to a higher number of frames acquired and recorded in the time unit, with a heavier load in terms of CPU resources and disk space. This parameter does not apply to static cameras, which have manual refresh control.

  1. Click "Save"

  1. Click "Save" again and wait for HSYCO to restart

  1. Go into the "Project Editor"

  1. Click "New Project"

  1. Give it a name ("myproject2" for example) and click "Create"

  1. Click "add"

  1. Add a "Camera"

  1. Go back to "edit" mode

  1. Change the "Address" to "camera1"

  1. Tick the "Controls" checkbox

  1. Click "Save" to save the project

  1. Click "Run" and then "Default" to launch the application

  1. As you can see, the camera is displayed with the virtual controls