I have a system with about a hundred Hikvision DS-2CD3646G2HT-LIZS cameras. These cameras are configured for perimeter intrusion alarms detections, so the metadata is generated when an intrusion is detected that meets the camera’s defined criteria. These events then triggers alarms in Milestone.
In both live view and recordings I have a misalignment between the yellow boxes that define the intrusion event and the actual intruder in the video stream:
As you can see, the yellow squares are always misaligned, they are always shifted to the left and up. The system is aMilestoneExpert 2023 R3, and the cameras are configured with the driver “Hikvision Generic”. The time of the cameras and Milestone are the same….
have someone got the same issue, and resolved somehow?
I have not heard about this before, I am not aware of any known issue that fits.
One thing I am curious about and think it might be a good start: Does enabling or disabling the “Maintain image aspect ratio” make a difference?
In order to answer you can test like this. In the Smart Client pick a view where there is a camera where you observe the issue, go in Setup mode, in the left hand pane find Properties, one of the properties is “Maintain image aspect ratio” try to change it and observe. If you see the property making a difference let us know. If one mode is good and the other is bad please let us know.
I looked up the camera in the Milestone supported devices site page.
I find that the camera should use the ONVIF Driver. Try to replace the driver for one camera and see if it makes a difference. In the Management Client- Servers- Recording Servers, pick the device, right–click -Replace Hardware. Leave values as they are except the Hardware Driver.
I’ve tried to change the aspect ratio settings, but without any luck, the problem persist…
I’ve tried also to switch driver on a camera affected by the problem, but it doesnt allow me to proceed with the ONVIF driver, it says that it cannot connect to the camera:
if i try with the auto detect procedure, it wants and autoselect the “HikVisionGeneric” driver…
EDIT:
Sorry,
the user password was wrong, my bad
i’ve changed the driver in the onvif one, the camera works, but now i dont see the yellow squares at all… the camera is configured to detect human and vehicle intrusion, trough the “SMART event” function on the camera… its not a “simple” detection event, so i presume milestone wants the hikvision driver to “read” properly the metadata generated?
Yes, it could be the issue that the HikVision plugin requires the HikVision driver to be used in the camera. I cannot answer this but hope the HikVision documentation or similar can be used to answer this question.
My first suspicion would be that the time is not synchronized (wrong time or time zone) but you did already mention the time. Also, from the picture you posted it does not seem that a very small change in time synchronization would make it fit again.
I wonder if changing the resolution or orientation (if possible) of the camera makes a difference.
I might be incapable of really coming up with the right idea. Might it be possible to reach out to HikVision?
yeah, i’ve already suspected a disalignament between the time of the camera and the time of the system, but they are perfectly sincronyzed by the same NTP…
i’ve already tried to change the resolution of the camera, i was suspecting that the metadatas where generated based on a lower resolution and not upscaled correctly.. i’ve tried to change the stream1 resolution, but nothing changed, the issue is still present…
i can try to reach out Hikvision… today i’ve updated the firmware of all the cameras to the last avaliable, but even so the issue remains…
i’ll keep trying to fix this issue, i’ll report here if i find a solution….
Hi Msartori, Do you still have this issue? If the bounding boxes are always shifted to the left and up, I wonder if it could be a bounding box coordinate issue, potentially involving Transformation or CenterOfGravity. Can you share a bit of the recorded problematic metadata, potentially utilizing the mipsdk-samples-component/MetadataPlaybackViewer at main · milestonesys/mipsdk-samples-component sample?