Movatterモバイル変換


[0]ホーム

URL:


CN114359840A - Community corridor anti-theft method and device - Google Patents

Community corridor anti-theft method and device
Download PDF

Info

Publication number
CN114359840A
CN114359840ACN202210111734.1ACN202210111734ACN114359840ACN 114359840 ACN114359840 ACN 114359840ACN 202210111734 ACN202210111734 ACN 202210111734ACN 114359840 ACN114359840 ACN 114359840A
Authority
CN
China
Prior art keywords
information
article
pixel
corridor
person
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202210111734.1A
Other languages
Chinese (zh)
Inventor
谢勇
孙世阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Feiyi Intelligent System Co ltd
Original Assignee
Suzhou Feiyi Intelligent System Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Feiyi Intelligent System Co ltdfiledCriticalSuzhou Feiyi Intelligent System Co ltd
Publication of CN114359840ApublicationCriticalpatent/CN114359840A/en
Withdrawnlegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

The invention discloses a community corridor anti-theft method and device, and belongs to a safety management system. The method takes the objects stored in the corridor as main bodies, reduces the man-made interference, reduces the judgment of uncontrollable factors on the method, and reduces the misjudgment rate; the first information and the second information are compared, the first article information can be automatically acquired, data loss of the first article information caused by human factors is avoided, and the performability of the anti-theft method is improved. Through improving from the perspective of vision, the pixel points on the boundary are analyzed, the personnel information and the article information are accurately segmented, and shadow interference caused by shadows or other light reasons can be effectively eliminated.

Description

Community corridor anti-theft method and device
Technical Field
The invention belongs to a security management system, and particularly relates to a community corridor anti-theft method, a device, a server and a readable storage medium.
Background
In the existing residential district, most of electric vehicles are placed in a corridor, but vehicles placed in the corridor are often stolen. Even if monitoring equipment is arranged in the residential corridor, when the stealing behavior is finished, the stolen personnel are difficult to lock and track; therefore, a method capable of timely discovering theft and carrying out early warning is continued.
Some anti-theft methods also exist in the prior art, but the existing anti-theft methods usually take a person as a main object, determine a suspicious person, further identify the suspicious person, judge whether the theft behavior occurs or not, and realize the anti-theft of the corridor. However, due to the uncontrollable factors of people, many existing anti-theft methods using people as main bodies are easy to misjudge, and unnecessary troubles and contradictions are generated.
Disclosure of Invention
The invention provides a community corridor anti-theft method, a community corridor anti-theft device, a community corridor anti-theft server and a readable storage medium, and aims to solve the problems involved in the background art.
Based on the technical problem, the invention provides a community corridor anti-theft method, a community corridor anti-theft device, a community corridor anti-theft server and a readable storage medium, which comprise four aspects.
In a first aspect, the present invention provides a method for preventing burglary of a corridor in a community, the method comprising: acquiring first article information and first person information; the first person information has a first association with the first item information; calculating to obtain a first feature vector of the first article information; acquiring third information, and performing first processing on the first information to obtain second item information and second personnel information; performing first analysis on the second article information and the first article information to obtain a first analysis result; judging whether to execute a second analysis according to the first analysis result to obtain a second analysis result; the second analysis is to judge whether the second person information belongs to first person information; judging whether to execute a first instruction according to the second analysis result; the first instruction includes an alert prompt.
Further, the method further comprises: acquiring first information of a first area; the first area is an entrance of a corridor; the first information is video and/or image information of a first area shot by the monitoring device; acquiring second information of a second area; the second area is an exit of a corridor, and the first information is video and/or image information of the first area shot by the monitoring device; respectively preprocessing the first information and the second information; the preprocessing is to perform mask processing on invalid areas of the first information and the second information; respectively segmenting the first information and the second information to obtain article information and personnel information of the first information and the second information; matching the personnel information of the first information and the second information within preset time, and judging whether the personnel information is the same target object; if yes, calculating the article information which is lacked in the article information in the second information to obtain first article information.
Further, the method further comprises: the pretreatment comprises the following steps: acquiring a pixel point in the image information of the first information and/or the second information, and acquiring a pixel value of the pixel point; calculating the pixel difference value of the pixel points at the same position in the adjacent two frames of image information; judging whether the pixel difference value is smaller than a preset value, if so, taking the pixel point as a background point; and accumulating the background points to obtain an invalid area.
Further, the first feature vector includes pattern features, contour features, and other features of the first item information.
Further, the method for acquiring the pattern features comprises the following steps: converting the first article information into a preset angle through a shooting angle perspective principle; constructing a Hessian matrix, and extracting N characteristic patterns according to Haar characteristics; counting 4 values of the sum of the horizontal direction values, the sum of the vertical direction values, the sum of the horizontal direction absolute values and the sum of the vertical direction absolute values in each characteristic pattern; taking the 4 values as a feature vector of the feature pattern; combining the characteristic vectors of each characteristic pattern to obtain a pattern characteristic vector; the feature points of the feature vector of the pattern feature are 4N.
Further, the first processing includes: preprocessing the third information to obtain an invalid area; masking the invalid region; dividing an image in the third information at the later stage of mask processing into a plurality of super-pixel color areas on the basis of a super-pixel segmentation SLIC method to form a pixel matrix; calculating the color and brightness mean value of each element in the pixel matrix; comparing the color value and the brightness between two adjacent elements to obtain a similarity measurement; if the similarity measurement is smaller than the elements in the preset range, forming a second pixel matrix, and finally combining the second pixel matrix into a region; clustering images of the color images by using LAB information through a python algorithm after super-pixel equalization processing, and reducing the gray value of a class contacting with the image boundary in a clustering result to 0; and obtaining the second personnel information and the second article information.
Further, the first analysis comprises: calculating a second feature vector of the second article information; calculating the similarity value of the first feature vector and the second feature vector; judging whether the similarity meets the threshold requirement; if yes, whether the first article information appears in the first information or not is indicated.
In a second aspect, the present invention also provides a corridor anti-theft device, comprising:
a first acquisition unit configured to acquire first item information and first person information; the first person information has a first association with the first item information;
the first processing unit is used for calculating a first feature vector of the first article information;
the second acquisition unit is used for acquiring third information and performing first processing on the first information to obtain second item information and second personnel information;
the second processing unit is used for carrying out first analysis on the second article information and the first article information to obtain a first analysis result;
the first judgment unit is used for judging whether to execute second analysis according to the first analysis result to obtain a second analysis result; the second analysis is to judge whether the second person information belongs to first person information;
the first execution unit is used for judging whether to execute the first instruction according to the second analysis result; the first instruction includes an alert prompt.
In a third aspect, the present invention further provides a server for preventing corridor theft, including a memory, a processor, and a computer program stored in the memory and operable on the processor, wherein the processor implements the steps of the anti-theft method when executing the program.
In a fourth aspect, a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the anti-theft method.
Has the advantages that: the invention relates to a method, a device, a server and a readable storage medium for preventing burglary of a community corridor, which reduce man-made interference, reduce the judgment of uncontrollable factors on the method and reduce the misjudgment rate by taking an object stored in the corridor as a main body; the first information and the second information are compared, the first article information can be automatically acquired, data loss of the first article information caused by human factors is avoided, and the performability of the anti-theft method is improved. Through improving from the perspective of vision, the pixel points on the boundary are analyzed, the personnel information and the article information are accurately segmented, and shadow interference caused by shadows or other light reasons can be effectively eliminated.
Drawings
Fig. 1 is a schematic flow chart of a residential building corridor anti-theft method according to embodiment 1 of the present invention.
Fig. 2 is a corridor anti-theft device according to embodiment 2 of the present invention.
Fig. 3 is a schematic structural diagram of an exemplary electronic device in embodiment 3 of the present invention.
Description of reference numerals: a first acquiringunit 11, afirst processing unit 12, a second acquiringunit 13, asecond processing unit 14, a first determiningunit 15, a first executingunit 16, abus 300, areceiver 301, aprocessor 302, atransmitter 303, amemory 304, and abus interface 305.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a more thorough understanding of the present invention. It will be apparent, however, to one skilled in the art, that the present invention may be practiced without one or more of these specific details. In other instances, well-known features have not been described in order to avoid obscuring the invention.
Example 1
As shown in fig. 1, a method for preventing burglary of a community corridor comprises the following steps:
s100, acquiring first article information and first person information, wherein the first person information and the first article information have a first association;
specifically, the first item information includes characteristic information of a first item placed on the corridor, where the first item may be an electric vehicle, a bicycle, or other items, and in this embodiment, the first item is mainly an electric vehicle parked on the corridor and accessories thereof. The first person information comprises person information and face information of a first person; the first person comprises a user of the electric vehicle or other residents in the same address of the user; the people information includes, but is not limited to, the first person's name, address (to the nearest house number), and contact details. The first association is a mapping relation between the first item information and the first person information, and an affiliation relation of the first item is determined.
The first article information and the first person information are obtained mainly in two modes; the first method is to register the personnel information and the vehicle information when a user stays, and acquire the personnel information, the face information and the characteristic information of the vehicle of the user. In the actual use process, due to the existence of the access control system, the acquisition of the first person information is relatively perfect, and in the embodiment, the person information and the face information of the user in the access control system can be directly taken as the first person information; however, the first method has a relatively poor effect of obtaining the first item information, on one hand, the degree of matching of the user is low, and on the other hand, a blind area is managed for the presence of a foreign vehicle or a newly purchased vehicle (which is not registered), wherein the newly purchased vehicle is generally a preferred target of a thief. Accordingly, the present invention provides a new information acquisition method, comprising the steps of:
s101, acquiring first information of a first area; the first area is an entrance of a corridor; the first information is video and/or image information of a first area shot by the monitoring device; the system is mainly used for collecting video and/or image information of people and objects entering a corridor from an entrance;
s102, acquiring second information of a second area; the second area is an exit of a corridor, and the first information is video and/or image information of the first area shot by the monitoring device; the system is mainly used for collecting video and/or image information of people and objects leaving a corridor from an exit;
s103, preprocessing the first information and the second information respectively; the preprocessing is to perform mask processing on invalid areas of the first information and the second information;
specifically, the invalid region is a background image which is kept still in the first information and/or the second information all the time, and if no image change occurs on continuous multi-frame image information in the video information, the image information can be regarded as the invalid region; from the aspect of image information, if the pixel value of the pixel point on the continuous multi-frame image information is judged to be kept unchanged or the pixel value is judged to be changed within a small range, the current image information is considered to be an invalid area. The method for acquiring the invalid region comprises the following steps: acquiring a pixel point in the image information of the first information and/or the second information, and acquiring a pixel value of the pixel point; calculating the pixel difference value of the pixel points at the same position in the adjacent two frames of image information; judging whether the pixel difference value is smaller than a preset value, if so, taking the pixel point as a background point; and accumulating the background points to obtain an invalid area.
By mask processing of the invalid region, on one hand, noise is reduced, further processing of the image information of the first information and/or the second information is facilitated, and accuracy of segmentation and identification is improved; on the other hand, the amount of computation of the first information and/or the second information is reduced, and the system load is reduced.
And S104, respectively segmenting the first information and the second information to obtain article information and personnel information of the first information and the second information.
Specifically, the person information is obtained by dividing the human body part in the first information and the second information; the remaining images are the article information. Generally speaking, because pixel properties at two sides of a human-object junction are different, an obvious boundary exists, the pixel properties specifically include characteristics of resolution, color temperature, hue and the like of pixels, theoretically, pixel points located on the boundary are analyzed, image units in the boundary pixels can be segmented, a first segmentation area is obtained, image information in the first segmentation area is related personnel information, other areas are second segmentation areas, and image information in the second segmentation area is article information.
The method for acquiring the first segmentation area can be realized by the following steps: dividing an image in the first information and/or the second information in the later mask processing stage into a plurality of super-pixel color areas based on a super-pixel segmentation SLIC method to form a pixel matrix, and calculating the color and brightness mean value of each element in the pixel matrix; then comparing the color value and the brightness between two adjacent elements; wherein the similarity measure between the two elements is:
Figure BDA0003491252140000051
wherein, S (B)i,Bj) A similarity measure between the two elements; b isi,BjRespectively representing the colour areas represented by the two elements, Sc(Bi,Bj) Representing a color feature metric between two elements; sr(Bi,Bj) Representing a measure of the luminance characteristic between two elements, Sl(Bi,Bj) Representing the degree of position between two elementsAn amount; and a and b are respectively the weight of the color characteristic and the brightness characteristic, the sum of the weight of the color characteristic and the brightness characteristic is 1, and c is a correction parameter with the value range of 0-10.
If the similarity measurement is smaller than the elements in the preset range, forming a second pixel matrix, and finally combining the second pixel matrix into a region, namely the first segmentation region; then clustering images of the color images by using LAB information through a python algorithm after super-pixel equalization processing, and reducing the gray value of a class in contact with the image boundary in a clustering result to 0; and finally obtaining the first segmentation area.
Because a plurality of contour extraction algorithms exist in the prior art, image information generally needs to be acquired by matching with an illumination light source when light is dim, shadows of people and objects are relatively obvious at the moment, and shadow interference caused by shadow interference or other light reasons can be caused when the gray level images in the first information and the second information are subjected to image extraction; the acquisition method is improved from the viewpoint of vision, the pixel points on the boundary are analyzed, and shadow interference caused by shadows or other light reasons can be effectively eliminated.
S105, matching the personnel information of the first information and the second information within preset time, and judging whether the personnel information is the same target object; if yes, calculating the article information missing in the article information in the second information to obtain first article information, namely the articles stored in the corridor.
The preset time is the time required by the user from entering the corridor to leaving the corridor, generally the preset time is not more than 5min, and in the embodiment, the preset time is set to be 3-5 minutes. The first information and the second information within 3-5 minutes are matched. If the first information and the second information have the same personnel information within the preset time interval; then further analyzing the article information between the first information and the second information, and if the article information between the first information and the second information is the same, indicating that the user does not place any article in the corridor; otherwise, the user is indicated to place the article in the corridor, and then the difference between the article information of the first information and the article information of the second information is further compared and analyzed, and the article information missing in the article information in the second information is calculated, namely the first article information. Taking an electric vehicle as an example, the electric vehicle is a rigid object in the moving process, and the deformation amount is relatively small, so that the first information and the second information can be processed directly by the shooting perspective principle, the first information and the second information are converted to the same visual angle, then the first information and the second information are compared, and a specific comparison method can be referred to in the following of the embodiment.
The matching method of the personnel information comprises the following steps: firstly, acquiring a face image in first information and second information; extracting 72 human face features according to the Haar features; and weighting by using an AHP algorithm according to the importance of each face feature, and finally classifying and identifying by using an SVM vector machine to realize the matching between the first information and the second information. Of course, there are many other different choices for the matching method of the person information for those skilled in the art, and there are no particular limitations here.
It should be noted that, first, the first item information can be automatically obtained by comparing the first information with the second information, so that data loss of the first item information due to human factors is avoided, and the performability of the anti-theft method is improved. Secondly, the above scheme only describes the general situation, namely the situation that a user places an article from a corridor and then enters a residential building through the corridor, and other special situations, such as the situation that the user enters the corridor from the residential building, places the article and then leaves from an entrance of the corridor; a user enters from the entrance of the corridor, places an article and then leaves from the entrance of the corridor; the user enters the corridor from the residential building, places articles and returns to the residential building again. The information acquisition methods for these special cases are the same as the information acquisition methods described above, and therefore are not described herein again.
S200, calculating to obtain a first feature vector of the first article information.
Specifically, the first feature vector includes pattern features, contour features, and other features of the first item information. The pattern features include, but are not limited to, pattern information in the article, and may also include other security features, such as colors, letters, shapes, materials, and the like. The contour features include changes in the outer contour curve of the first item information and the size of the area of the image. The contour feature acquisition method adopts Hu invariant moment of a description method of image walking of an area and utilizes 7 invariant moments constructed by second-order and third-order normalized central moments. Other features include other more prominent features such as license plate features, RFID features. However, in the actual processing process, the license plate features are difficult to completely capture due to the problem of shooting angles; the prevalence of RFID chips is relatively low. Other features are more or less problematic and will therefore not be described further here.
The pattern feature acquisition method comprises the following steps:
s211, converting the first article information into a preset angle through a shooting angle perspective principle;
the planar projective transformation is:
Figure BDA0003491252140000071
wherein, Fwa(s, t, u, c) is light field information of the picture after plane projection transformation; fin((s, T, u, v) is light field information present in the first information; TdA spatial transformation matrix for the d picture; d is the number of the plane projection transformation pictures;
s212, constructing a Hessian matrix, and extracting N characteristic patterns according to Haar characteristics;
s213, counting 4 values of the sum of horizontal direction values sigma dx, the sum of vertical direction values sigma dy, the sum of horizontal direction absolute values sigma dx and the sum of vertical direction absolute values sigma dy in each characteristic pattern;
s213, taking the 4 values as a characteristic vector of the characteristic pattern;
s214, combining the characteristic vectors of each characteristic pattern to obtain a pattern characteristic vector; the feature points of the feature vector of the pattern feature are 4N;
s300, third information is obtained, first processing is carried out on the third information, and second item information and second personnel information are obtained.
Specifically, the third information is video and/or image information of a first area shot by the monitoring device; the system is mainly used for collecting video and/or image information of people and objects leaving a corridor from an entrance; the first area is an entrance of a corridor; the shooting angles of the monitoring device of the third information and the monitoring device of the first information are in mirror symmetry. The second article information is the characteristic information of the second article; the second article information is an article leaving the corridor from the entrance; the second person information is face information of the second person; the second person is a person appearing in the third information at the same time as the second article, and the boundary between the second person information and the second article information is overlapped.
The first processing method comprises the following steps:
and S301, preprocessing the third information to obtain an invalid area. Specifically, the method for acquiring the invalid region includes: acquiring pixel points in the image information of the third information; calculating the pixel difference value of the pixel points at the same position in the adjacent two frames of image information; judging whether the pixel difference value is smaller than a preset value, if so, taking the pixel point as a background point; and accumulating the background points to obtain an invalid area.
Step S302, performing mask processing on the invalid area;
step S303, dividing the image in the third information at the later stage of mask processing into a plurality of super-pixel color areas based on a super-pixel division SLIC method to form a pixel matrix, and calculating the color and brightness mean value of each element in the pixel matrix; comparing the color value and the brightness between two adjacent elements to obtain a similarity measurement; wherein the similarity measure between the two elements is:
Figure BDA0003491252140000081
wherein, S (B)i,Bj) A similarity measure between the two elements; b isi,BjAre respectively provided withRepresenting a coloured area represented by two elements, Sc(Bi,Bj) Representing a color feature metric between two elements; sr(Bi,Bj) Representing a measure of the luminance characteristic between two elements, Sl(Bi,Bj) Representing a position measure between two elements; and a and b are respectively the weight of the color characteristic and the brightness characteristic, the sum of the weight of the color characteristic and the brightness characteristic is 1, and c is a correction parameter with the value range of 0-10.
If the similarity measurement is smaller than the elements in the preset range, forming a second pixel matrix, and finally combining the second pixel matrix into a region; then clustering images of the color images by using LAB information through a python algorithm after super-pixel equalization processing, and reducing the gray value of a class in contact with the image boundary in a clustering result to 0; and finally obtaining the second personnel information and the second article information.
S400, performing first analysis on the second item information and the first item information to obtain a first analysis result.
Specifically, the first analysis determines whether the third information includes the first item information, if so, step S500 is executed, and if not, the third information is obtained again.
The first analysis process specifically comprises the following steps:
s410, calculating a second feature vector of the second item information; the second feature vector comprises color features, contour features and special features of the article information in the first information. The specific method can be seen in step S200
And S420, calculating the similarity value of the first feature vector and the second feature vector.
Specifically, the contour features and the pattern features are fused to form a 4N-dimensional vector matrix, and then the first feature vector and the second feature are calculated according to Euclidean distance, wherein the calculation method of the similarity value of the first feature vector and the second feature comprises the following steps:
Figure BDA0003491252140000091
wherein P is the similarity value of the first feature vector and the second feature, LijThe characteristic elements of the ith row and the jth column of the 4N-dimensional vector matrix formed by the first characteristic vector are expressed; said Lij' denotes the feature elements of the ith row and the jth column of the 4N-dimensional vector matrix formed by the second feature vector.
S430, judging that the similarity meets the threshold requirement; if yes, whether the first article information appears in the first information or not is indicated.
By the method of combining multiple characteristics, the calculation complexity is reduced while the higher accuracy is ensured, and the corresponding speed of the method is improved.
S500, judging whether to execute a second analysis according to the first analysis result to obtain a second analysis result; the second analysis is to judge whether the second person information belongs to first person information.
Specifically, it is determined whether the second person is the owner of the first item or has a relationship of relativity, friendship, and roommates with the owner by determining whether the second person information belongs to the first person information. The specific judgment method can match the first person information with the second person information. The matching method of the personnel information comprises the following steps: firstly, acquiring a face image in first information and second information; extracting 72 human face features according to the Haar features; and weighting by using an AHP algorithm according to the importance of each face feature, and finally classifying and identifying by using an SVM vector machine to realize the matching between the first information and the second information. Of course, there are many other different choices for the matching method of the person information for those skilled in the art, and there are no particular limitations here.
S600, judging whether to execute a first instruction according to the second analysis result; the first instruction includes an alert prompt.
Specifically, if the second person information does not belong to the first person information, it can be determined that the second person is a dangerous person; executing a first instruction, wherein the first instruction comprises but is not limited to an alarm prompt, and the alarm prompt is specifically used for transmitting alarm information to a guard system and prompting a guard to make relevant confirmation; and a certain channel can be closed, and the second person is required to carry out relevant information confirmation.
Example 2
Based on the same inventive concept as the community corridor anti-theft method in the foregoing embodiment 1, the present invention also provides a corridor anti-theft device, as shown in fig. 2, the device includes:
afirst acquisition unit 11 configured to acquire first item information and first person information; the first person information has a first association with the first item information;
thefirst processing unit 12 is configured to calculate a first feature vector of the first item information;
the second obtainingunit 13 is configured to obtain third information, perform first processing on the first information, and obtain second item information and second person information;
thesecond processing unit 14 is configured to perform a first analysis on the second item information and the first item information to obtain a first analysis result;
afirst judging unit 15, configured to judge whether to perform a second analysis according to the first analysis result, so as to obtain a second analysis result; the second analysis is to judge whether the second person information belongs to first person information;
afirst execution unit 16, configured to determine whether to execute a first instruction according to the second analysis result; the first instruction includes an alert prompt.
The device, still include:
a third acquisition unit configured to acquire first information of the first area; the first area is an entrance of a corridor; the first information is video and/or image information of a first area shot by the monitoring device;
a fourth acquiring unit configured to acquire second information of the second area; the second area is an exit of a corridor, and the first information is video and/or image information of the first area shot by the monitoring device;
the third processing unit is used for respectively preprocessing the first information and the second information; the preprocessing is to perform mask processing on invalid areas of the first information and the second information;
the fourth processing unit is used for respectively segmenting the first information and the second information to obtain article information and personnel information of the first information and the second information;
the second judgment unit is used for matching the personnel information of the first information and the second information within preset time and judging whether the personnel information is the same target object;
and the fifth processing unit is used for calculating the missing article information in the second information to obtain the first article information.
The device, still include:
a fifth obtaining unit, configured to obtain a pixel point in the image information of the first information and/or the second information, and obtain a pixel value of the pixel point;
the sixth processing unit is used for calculating the pixel difference value of the pixel point at the same position in the adjacent two frames of image information;
the third judging unit is used for judging whether the pixel difference value is smaller than a preset value or not, and if so, the pixel point is a background point;
and the seventh processing unit is used for accumulating the background points to obtain an invalid area.
The device, still include:
the eighth processing unit is used for converting the first article information into a preset angle according to a shooting angle perspective principle;
the ninth processing unit is used for constructing a Hessian matrix and extracting N characteristic patterns according to Haar characteristics;
a tenth processing unit, configured to count 4 values of a sum of horizontal direction values, a sum of vertical direction values, a sum of horizontal direction absolute values, and a sum of vertical direction absolute values in each feature pattern; taking the 4 values as a feature vector of the feature pattern;
the eleventh processing unit is used for merging the characteristic vectors of each characteristic pattern to obtain a pattern characteristic vector; the feature points of the feature vector of the pattern feature are 4N.
The device, still include:
a twelfth processing unit, configured to perform preprocessing on the third information to obtain an invalid region;
a thirteenth processing unit configured to perform mask processing on the invalid region;
a fourteenth processing unit, configured to divide the image in the third information at the later stage of the mask processing into a plurality of super-pixel color regions based on a super-pixel division SLIC method, so as to form a pixel matrix;
a fifteenth processing unit, configured to calculate a color and luminance mean value of each element in the pixel matrix;
the fourth judging unit is used for comparing the color value and the brightness between two adjacent elements to obtain the similarity measurement;
a sixteenth processing unit, configured to form a second pixel matrix if the similarity measure is smaller than the element in the predetermined range, and finally merge the second pixel matrix into an area;
a seventeenth processing unit, configured to cluster the color images by using LAB information according to the python algorithm after the super-pixel equalization processing, and reduce a gray value in a class in contact with an image boundary in a clustering result to 0; and obtaining the second personnel information and the second article information.
The device, still include:
the eighteenth processing unit calculates a second feature vector of the second item information;
a nineteenth processing unit that calculates a similarity value of the first feature vector and the second feature vector;
a fifth judging unit, configured to judge that the similarity satisfies a threshold requirement; if yes, whether the first article information appears in the first information or not is indicated.
Various changes and specific examples of a method for preventing a corridor from being stolen in a community in the foregoing embodiment 1 are also applicable to an electric vehicle identification device in this embodiment, and a method for implementing a corridor anti-theft device in this embodiment is clearly known to those skilled in the art from the foregoing detailed description of a method for preventing a corridor from being stolen, so for the sake of brevity of the description, detailed description is omitted here.
Example 3
Based on the same inventive concept as one of the above-mentioned embodiments of the anti-theft method for the corridor of a cell, the present invention further provides an anti-theft server for the corridor, as shown in fig. 3, fig. 3 is an exemplary electronic device in embodiment 3, and includes amemory 304, aprocessor 302, and a computer program stored on thememory 304 and executable on theprocessor 302, and when theprocessor 302 executes the program, the steps of any one of the above-mentioned methods for remote vital sign monitoring are implemented.
Where in fig. 3 a bus architecture (represented by bus 300),bus 300 may include any number of interconnected buses and bridges,bus 300 linking together various circuits including one or more processors, represented byprocessor 302, and memory, represented bymemory 304. Thebus 300 may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. Abus interface 305 provides an interface between thebus 300 and thereceiver 301 andtransmitter 303. Thereceiver 301 and thetransmitter 303 may be the same element, i.e., a transceiver, providing a means for communicating with various other apparatus over a transmission medium.
Theprocessor 302 is responsible for managing thebus 300 and general processing, and thememory 304 may be used for storing data used by theprocessor 302 in performing operations.
Example 4
Based on the same inventive concept as the anti-theft method for the residential corridor in the foregoing embodiments, the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of: acquiring first article information and first person information; the first person information has a first association with the first item information; calculating to obtain a first feature vector of the first article information; acquiring third information, and performing first processing on the first information to obtain second item information and second personnel information; performing first analysis on the second article information and the first article information to obtain a first analysis result; judging whether to execute a second analysis according to the first analysis result to obtain a second analysis result; the second analysis is to judge whether the second person information belongs to first person information; judging whether to execute a first instruction according to the second analysis result; the first instruction includes an alert prompt.
One or more technical solutions in the embodiments of the present invention at least have one or more of the following technical effects: objects stored in the corridor are taken as main bodies, so that the man-made interference is reduced, the judgment of uncontrollable factors on the method is reduced, and the misjudgment rate is reduced; the first information and the second information are compared, the first article information can be automatically acquired, data loss of the first article information caused by human factors is avoided, and the performability of the anti-theft method is improved. Through improving from the perspective of vision, the pixel points on the boundary are analyzed, the personnel information and the article information are accurately segmented, and shadow interference caused by shadows or other light reasons can be effectively eliminated.
It should be noted that the various features described in the above embodiments may be combined in any suitable manner without departing from the scope of the invention. The invention is not described in detail in order to avoid unnecessary repetition.

Claims (10)

1. A method for theft prevention for a residential corridor, the method comprising:
acquiring first article information and first person information; the first person information has a first association with the first item information;
calculating to obtain a first feature vector of the first article information;
acquiring third information, and performing first processing on the first information to obtain second item information and second personnel information;
performing first analysis on the second article information and the first article information to obtain a first analysis result;
judging whether to execute a second analysis according to the first analysis result to obtain a second analysis result; the second analysis is to judge whether the second person information belongs to first person information;
judging whether to execute a first instruction according to the second analysis result; the first instruction includes an alert prompt.
2. The method of claim 1, further comprising:
acquiring first information of a first area; the first area is an entrance of a corridor; the first information is video and/or image information of a first area shot by the monitoring device;
acquiring second information of a second area; the second area is an exit of a corridor, and the first information is video and/or image information of the first area shot by the monitoring device;
respectively preprocessing the first information and the second information; the preprocessing is to perform mask processing on invalid areas of the first information and the second information;
respectively segmenting the first information and the second information to obtain article information and personnel information of the first information and the second information;
matching the personnel information of the first information and the second information within preset time, and judging whether the personnel information is the same target object;
if yes, calculating the article information which is lacked in the article information in the second information to obtain first article information.
3. The method of claim 2, further comprising:
acquiring a pixel point in the image information of the first information and/or the second information, and acquiring a pixel value of the pixel point;
calculating the pixel difference value of the pixel points at the same position in the adjacent two frames of image information;
judging whether the pixel difference value is smaller than a preset value, if so, taking the pixel point as a background point;
and accumulating the background points to obtain an invalid area.
4. The cell corridor anti-theft method according to claim 1, wherein the first feature vector includes pattern features, contour features, and other features of the first item information.
5. The method of claim 4, further comprising:
converting the first article information into a preset angle through a shooting angle perspective principle;
constructing a Hessian matrix, and extracting N characteristic patterns according to Haar characteristics;
counting 4 values of the sum of the horizontal direction values, the sum of the vertical direction values, the sum of the horizontal direction absolute values and the sum of the vertical direction absolute values in each characteristic pattern;
taking the 4 values as a feature vector of the feature pattern;
combining the characteristic vectors of each characteristic pattern to obtain a pattern characteristic vector; the feature points of the feature vector of the pattern feature are 4N.
6. The method of claim 1, further comprising:
preprocessing the third information to obtain an invalid area;
masking the invalid region;
dividing an image in the third information at the later stage of mask processing into a plurality of super-pixel color areas on the basis of a super-pixel segmentation SLIC method to form a pixel matrix;
calculating the color and brightness mean value of each element in the pixel matrix;
comparing the color value and the brightness between two adjacent elements to obtain a similarity measurement;
if the similarity measurement is smaller than the elements in the preset range, forming a second pixel matrix, and finally combining the second pixel matrix into a region;
clustering images of the color images by using LAB information through a python algorithm after super-pixel equalization processing, and reducing the gray value of a class contacting with the image boundary in a clustering result to 0;
and obtaining the second personnel information and the second article information.
7. The method of claim 1, further comprising:
calculating a second feature vector of the second article information;
calculating the similarity value of the first feature vector and the second feature vector;
judging whether the similarity meets the threshold requirement; if yes, whether the first article information appears in the first information or not is indicated.
8. An anti-theft device for corridors, characterized in that it comprises:
a first acquisition unit configured to acquire first item information and first person information; the first person information has a first association with the first item information;
the first processing unit is used for calculating a first feature vector of the first article information;
the second acquisition unit is used for acquiring third information and performing first processing on the first information to obtain second item information and second personnel information;
the second processing unit is used for carrying out first analysis on the second article information and the first article information to obtain a first analysis result;
the first judgment unit is used for judging whether to execute second analysis according to the first analysis result to obtain a second analysis result; the second analysis is to judge whether the second person information belongs to first person information;
the first execution unit is used for judging whether to execute the first instruction according to the second analysis result; the first instruction includes an alert prompt.
9. A server for passageway theft protection, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 7 when executing the program.
10. A computer-readable storage medium having computer program instructions stored thereon which, when executed by a processor, implement the steps of the method of any one of claims 1-7.
CN202210111734.1A2021-02-032022-01-27Community corridor anti-theft method and deviceWithdrawnCN114359840A (en)

Applications Claiming Priority (2)

Application NumberPriority DateFiling DateTitle
CN20211014870432021-02-03
CN2021101487042021-02-03

Publications (1)

Publication NumberPublication Date
CN114359840Atrue CN114359840A (en)2022-04-15

Family

ID=81092683

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202210111734.1AWithdrawnCN114359840A (en)2021-02-032022-01-27Community corridor anti-theft method and device

Country Status (1)

CountryLink
CN (1)CN114359840A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN117173847A (en)*2023-11-032023-12-05江苏丰实智能门窗科技有限公司Intelligent door and window anti-theft alarm system and working method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN117173847A (en)*2023-11-032023-12-05江苏丰实智能门窗科技有限公司Intelligent door and window anti-theft alarm system and working method thereof
CN117173847B (en)*2023-11-032023-12-29江苏丰实智能门窗科技有限公司Intelligent door and window anti-theft alarm system and working method thereof

Similar Documents

PublicationPublication DateTitle
US5757287A (en)Object recognition system and abnormality detection system using image processing
CN106203274B (en)Real-time pedestrian detection system and method in video monitoring
CN101441712B (en)Flame video recognition method and fire hazard monitoring method and system
US7149325B2 (en)Cooperative camera network
CN112102409B (en)Target detection method, device, equipment and storage medium
CN109727273B (en)Moving target detection method based on vehicle-mounted fisheye camera
US9129397B2 (en)Human tracking method and apparatus using color histogram
WO2021098657A1 (en)Video detection method and apparatus, terminal device, and readable storage medium
CN105894539A (en)Theft prevention method and theft prevention system based on video identification and detected moving track
KR102434154B1 (en)Method for tracking multi target in traffic image-monitoring-system
CN101715111B (en)Method for automatically searching abandoned object in video monitoring
CN102938058A (en)Method and system for video driving intelligent perception and facing safe city
CN101308607A (en) Video-based multi-feature fusion tracking method for moving targets in mixed traffic environment
WO2004042673A2 (en)Automatic, real time and complete identification of vehicles
CN112071084A (en)Method and system for judging illegal parking by utilizing deep learning
CN112434545A (en)Intelligent place management method and system
CN109446926A (en)A kind of traffic monitoring method and device, electronic equipment and storage medium
CN116189336B (en)Intelligent door lock security system
CN113963373A (en)Video image dynamic detection and tracking algorithm based system and method
CN114359840A (en)Community corridor anti-theft method and device
Chen et al.Automatic head detection for passenger flow analysis in bus surveillance videos
VasuAn effective step to real-time implementation of accident detection system using image processing
Chowdhury et al.Human detection and localization in secure access control by analysing facial features
CN114627434A (en)Automobile sales exhibition room passenger flow identification system based on big data
CN112927455A (en)Intelligent monitoring method for parking lot and application

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
WW01Invention patent application withdrawn after publication

Application publication date:20220415

WW01Invention patent application withdrawn after publication

[8]ページ先頭

©2009-2025 Movatter.jp