Hi,
We have protocol integration program using python, our program streams the live images from ImageServer using TCP protocol using Live method. Then we send the image to our API for detection of the image and it returns bounding boxes and also the image itself with drawn bounding box.
PS: We are using Trial Version, that is why we don’t have Alarm Manager page, instead, we are using Alarm List and Alarm Preview from System Overview.
This is a sample alarm, which has been triggered by sending AnalyticsEvents.For debugging purposes, we added a snapshot on the Event to compare how the bounding box was drawn on the image.
If you noticed, the image we retrieved from ImageServer (on the right) is smaller, when it comes to height and width, than the image on the left (coming from the Recording server?).
The reason why the bounding box was not properly drawn on the image on the left.
We expected that the bounding box should be drawn the same as the one on the right.
The dimensions of the image from ImageServer that we sent for detection and the still images exported are:
width: 2592, height: 1944
While the image from the Alarm Preview , looks like it filled to the size of the window, which could be the reason why the bounding box was not drawn properly.
If we try to go to Playback from that alarm and save the image, the dimensions are:
width: 2008, height: 2316
We already set the camera settings in Smart Client to “Maintain image aspect ratio” but no changes.
Correct me if my observations were incorrect.
Please advise
PS: This is only happening in FishEye camera, in pinhole the bounding box works perfectly.
UPDATE:
The “Maintain image aspect ratio” works after we disabled “Enable fisheye lens support” from Management client


