Patent ID: 11881027
Assignee: nan
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 10:
11. A system for identifying a security threat from a security camera image comprising:
A) a security alert program receives a live image from at least one security camera,
B) said security alert program obtains an edge image from said live image by using grayscale and an edge detection algorithm,
C) a plurality of human templates and a plurality of weapon templates are compared to said edge image to identify a human form and a weapon,
D) a box placement algorithm creates a human bounding box for any detected said human form and a weapon bonding box for any detected said weapon,
E) one to three lower resolutions of said edge image are created by a pixel averaging function that is sequentially applied to said live image resulting in two to four edge image resolutions,
F) said security alert program additionally:
a) begins with a lowest resolution of said live image and continuing through successively higher resolutions,
b) creates a plurality of first nodes on the perimeter of a detected said human form, and a plurality of second nodes on the perimeter of a detected said weapon,
c) connects said first nodes and an adjacent side of said human bounding box to create a plurality of polygons resulting in an polygon human image,
d) connects said second nodes and an adjacent side of said weapon bounding box to create a plurality of polygons resulting in a polygon weapon image,
d) compares polygon areas of said polygon human image to a human polygon image library and calculates a human confidence level,
e) compares polygon areas of said polygon weapon image to a weapon polygon image library and calculates a weapon confidence level,
f) activates an alarm if a combination of said weapon confidence level and said weapon confidence level is at a predetermined level.