Showing posts with label Line Crossing Event. Show all posts
Showing posts with label Line Crossing Event. Show all posts

Wednesday, December 1, 2021

AI Based Camera Output Triggers Strobe Light

AI Based Camera Output Triggers Strobe Light 

Artificial Intelligence (AI) security cameras are specialized network IP cameras that perform advanced analytical functions such as vehicle detection, person detection, face detection, traffic counting, people counting, and license plate recognition (LPR). These artificial intelligence functions are achieved using highly advanced video analytics software that is built-in to the camera and recorder they are connected to. AI cameras can be used as a stand-alone device by recording to an SD card, or they can be connected to a network video recorder (NVR) to create a multi-camera AI system that records to a central hard drive. Please note that only certain models are capable of license plate recognition / automated number plate recognition (ANPR).

 

DVR / NVR Alarm Relay Output

Please note that the the alarm strobe light is self-powered. The alarm outputs on the DVR / NVR are simple relays (they are either open or closed). They DO NOT provide any power output. Also, please note that you can ONLY connect low voltage devices alarm devices to these alarm relay ports. Connecting high powered devices can fry your motherboard and ruin your DVR / NVR.

Important WARNING! The maximum current rating of these alarm relays is 1A, the voltage is 30VDC/ 250VAC, so the maximum power rating is 30W for DC alarm device, 250W for AC alarm device.

You can see above how I wired the strobe light to the output port. Notice how the strobe light’s 12V DC power supply is connected in-line. I used 18 gauge 2 conductor PVC Insulation Jacket Unsheilded / Stranded Copper wire to connect the strobe light to the recorder.

Here is a close-up of the alarm output ports on the back of the DVR / NVR. I am using the COM1 and NO1 ports. NO stands for normally open, which means that power does not flow thorough the relay until the alarm is triggered.

AI Software Setup

Please follow these steps to configure the AI software on the NVR.

From the DVR/ NVR main menu, select AI / Event.

On the AI / Event screen, do the following.

1.   Select More from the AI Event menu.

2.   Select the camera that you are applying the AI rule to from the camera dropdown.

3.   Select Line Crossing as the event type.

Next, do the following.

1.   Check the Enable Detection by IPC (IP Camera) checkbox.

2.   Check the Draw Line checkbox and draw your tripwire on the screen.

3.   Choose the direction of the traffic flow used to trigger the alarm. You can choose a single direction or both directions.

Next.

1.   Click on the Detection Target tab.

2.   Check Human for the detection target type. Uncheck Motor Vehicle and Non-motor Vehicle as they are not applicable in this case.

1.   Click on the Trigger Mode tab.

2.   Click on the Alarm Out Configure button. Please note that you may setup additional alarm triggers on this screen such as image snapshot, mobile app push notification, alarm buzzer, pop-up video, and email alerts.

On the DVR alarm output screen, select the alarm output that your light (or other device) is connected to from the window on the left and click on the arrows (>>) to put the alarm output on the right window. Then, check the checkbox next to it.

Click OK. Then, click Apply in the lower right.

You may then close all of the DVR / NVR configurations screens and return to the live view of your security cameras.

AI Software / Object Detection Visualization

On the live security camera view of your recorder, double click on the camera that you are using for this alarm project to show that camera’s live view full screen. You can enable the AI / Object Visualizations by clicking on the above icon.

 

When you enable the AI software visualizations on the live camera view, a few things happen.

1.   The alarm event window opens on the right. When your security camera detects the event that you configured, a snapshot image will appear in that screen to document the event.

2.   All objects that the system is able to detect will be outlined. Please note above that I am outlined with that yellow box because the AI software is detecting me as a human. The cars in the background are outlined in purple. Even though we are only using people detection for our alarm, the NVR software still outlines the other object types that it recognizes.

3.   The line crossing / virtual trip wire is shows in red. And the A->B traffic flow that I setup it also shown

4.   NVR / DVR Alarm Output Turns Light On

Last, here is a screenshot of the strobe light turned on as a result of the human detection / line crossing event.

Trigger Alarm Output from iPhone App

This is how you can manually trigger (turn on) the alarm relay output on the DVR from the iPhone app. Please note that the Android mobile app is identical to the iPhone all in looks and functionality. They are exactly the same app.

1.   Tap the menu icon in the lower right (the icon with the 3 dots…).

2.   Tap Manual Alarm.

3.   Tap the Alarm Output that you want to trigger / enable.

If you are not understand, you can touch with us for further support. We deal Infinova, Hanwha, Milestone, Mirasys & Luxriot brand.