CN110428017A - A kind of object identification method of similarity threshold dynamic setting - Google Patents

A kind of object identification method of similarity threshold dynamic setting Download PDF

Info

Publication number
CN110428017A
CN110428017A CN201910732173.5A CN201910732173A CN110428017A CN 110428017 A CN110428017 A CN 110428017A CN 201910732173 A CN201910732173 A CN 201910732173A CN 110428017 A CN110428017 A CN 110428017A
Authority
CN
China
Prior art keywords
similarity threshold
similarity
object identification
time
video frame
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.)
Granted
Application number
CN201910732173.5A
Other languages
Chinese (zh)
Other versions
CN110428017B (en
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.)
Jiangsu Tiancheng Intelligent Group Co ltd
Original Assignee
Shanghai Tiancheng Biji Technology 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 Shanghai Tiancheng Biji Technology Co Ltd filed Critical Shanghai Tiancheng Biji Technology Co Ltd
Priority to CN201910732173.5A priority Critical patent/CN110428017B/en
Publication of CN110428017A publication Critical patent/CN110428017A/en
Application granted granted Critical
Publication of CN110428017B publication Critical patent/CN110428017B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Multimedia (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Image Analysis (AREA)

Abstract

The invention discloses a kind of object identification methods of similarity threshold dynamic setting, comprising the following steps: S1, formulates similarity threshold according to the period in one day;S2, the video frame frame for obtaining video;S3, the corresponding time t of video frame frame is obtained, similarity threshold y at this time is calculated by the relationship in step S1 between time T and similarity threshold Y according to the value of time t;S4, image recognition is carried out to video frame frame, obtain object category x and calculates identification similarity w, identification similarity w is compared with similarity threshold y and obtains object identification conclusion.The present invention is according to the Variation Features of light and scene in one day, it is proposed a kind of object identification Optimization Mechanism of similarity threshold dynamic setting, set object identification similarity threshold in different time periods, to reduce object identification in the rate of false alarm of intelligence community alarm event monitoring application scenarios, the rate of false alarm of Weigh sensor application system is reduced, there is preferable effect.

Description

A kind of object identification method of similarity threshold dynamic setting
Technical field
The present invention relates to a kind of image-recognizing method more particularly to a kind of recognition accuracy height, the low similarities of rate of false alarm The object identification method of threshold value dynamic setting.
Background technique
Development and Urbanization Construction with society, urban population presentation radix is big, mobility is high, dwelling places disperse, The high feature of difficulty is managed, it is more and more intelligent the problem of in order to more efficiently cope with these urbanization management aspects Technology and scheme in the specification and construction of intelligence community.Especially in video intelligent analysis field, intelligent software product Application it is more and more mature, such as recognition of face, Car license recognition and object identification etc. are in intelligent entrance guard, intelligent measurement and intelligence report The application of the application fields such as alert.However, all there is the occurrence of certain wrong report in the application of any "smart" products, and Inevitably.Such as during object identification, by train come object identification model, the object that can be identified has more Class, during identifying object, the object identified is all to be identified as a certain type objects using maximum probability as standard.That is, knowing Not the result is that with object type, score and object framework coordinate.In practical application scene, object identification, recognition of face and vehicle All there is certain identification probability in board identification, be not that a hundred percent is correct, this is with the position of identified target, angle, light etc. Ambient environmental factors are related.And wherein influence bigger to be light, especially at night, light variation is more complicated, intelligent The wrong report situation of application, frequently appears in the period that exposure is not high, environmental change is more complicated.
Therefore, it is necessary to a kind of improvement be proposed, to overcome prior art defect.
Summary of the invention
Present invention aim to address the problems of the prior art, provide a kind of recognition accuracy height, the low phase of rate of false alarm Like the object identification method of degree threshold value dynamic setting.
The technical scheme is that providing a kind of object identification method of similarity threshold dynamic setting, including following Step: similarity threshold S1, is formulated according to the period in one day;Relationship between time T and similarity threshold Y are as follows: if 0 < T ≤ 5, then Y=0.5+0.04T;If 5 < T≤7, Y=0.5;If 7 < T≤17, Y=0.5+ | T-12 | * 0.1;If 17 < T ≤ 19, the Y=0.5 if;If 19 < T≤24, Y=0.5+0.04* (24-T);S2, the video frame frame for obtaining video;S3, The corresponding time t of video frame frame is obtained, is passed through in step S1 between time T and similarity threshold Y according to the value of time t Similarity threshold y at this time is calculated in relationship;S4, image recognition is carried out to video frame frame, obtains object category x and calculating It identifies similarity w, identification similarity w is compared with similarity threshold y and obtains object identification conclusion.
As a kind of perferred technical scheme, the time t in step S3 is integral point timing, that is, takes video frame frame corresponding Time t hourage.
As a kind of perferred technical scheme, in step S4, image recognition is carried out to video frame frame, calculates identification phase Method like degree w can be SSIM method.
As a kind of further preferred technical solution, the method for calculating identification similarity w the following steps are included:
A, the base map that a frame contains comparison object is obtained;B, video frame frame and base map are calculated according to SSIM formula and is regarded The structural similarity of frequency frame frame and base map, structural similarity are to identify similarity w.
As a kind of further preferred technical solution, in step a, the base map of acquisition is different according to the difference of time t.
As a kind of technical solution still more preferably, base map is divided into 5 kinds, 5 kinds of base maps and 5 of time T in step S1 A period is corresponding, according to the corresponding time t of video frame frame, chooses corresponding base map.
As a kind of perferred technical scheme, in step S4, if w is greater than y, judge there is detectable substance in video frame frame Body saves object category x and similarity threshold y;If w≤y, with no treatment.
As a kind of further preferred technical solution, in step S4, if w is greater than y, judge there is inspection in video frame frame After surveying object, carries out alarm and upload object category x and similarity threshold y information.
A kind of object identification method of similarity threshold dynamic setting of the invention is according to the change of light and scene in one day Change feature sets object identification similarity threshold in different time periods, to reduce object identification in intelligence community alarm event Monitor the rate of false alarm of application scenarios.The object identification method of a kind of similarity threshold dynamic setting of the invention, from actual product The problem of encountering in is set out, and a kind of object identification Optimization Mechanism of similarity threshold dynamic setting is proposed, to reduce intelligence Energyization identifies the rate of false alarm of application system, has preferable effect.
Detailed description of the invention
Fig. 1 is a kind of object identification method specific embodiment flow diagram of similarity threshold dynamic setting of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
The term used in embodiments of the present invention is only to be not intended to be limiting merely for for the purpose of describing particular embodiments The present invention.In the embodiment of the present invention and the "an" of singular used in the attached claims, " described " and "the" It is also intended to including most forms, unless the context clearly indicates other meaning, " a variety of " generally comprise at least two, but not It excludes to include at least one situation.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation for describing affiliated partner, indicate There may be three kinds of relationships, for example, A and/or B, can indicate: individualism A, exist simultaneously A and B, individualism B these three Situation.In addition, character "/" herein, typicallys represent the relationship that forward-backward correlation object is a kind of "or".
Depending on context, word as used in this " if ", " if " can be construed to " ... when " or " when ... " or " in response to determination " or " in response to detection ".Similarly, context is depended on, phrase " if it is determined that " or " such as Fruit detection (condition or event of statement) " can be construed to " when determining " or " in response to determination " or " when detection (statement Condition or event) when " or " in response to detection (condition or event of statement) ".
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability Include, so that commodity or system including a series of elements not only include those elements, but also including not clear The other element listed, or further include for this commodity or the intrinsic element of system.In the feelings not limited more Under condition, the element that is limited by sentence "including a ...", it is not excluded that in the commodity or system for including the element also There are other identical elements.
As shown in Figure 1, a kind of object identification method of similarity threshold dynamic setting of the invention, comprising the following steps:
S1, similarity threshold is formulated according to the period in one day.According to identification wrong report time of origin section statistics, system in one day Surely it identifies similarity threshold, is described in detail below described in table:
Namely the relationship between time T and similarity threshold Y are as follows: if 0 < T≤5, Y=0.5+0.04T;If 5 < T≤ 7, then Y=0.5;If 7 < T≤17, Y=0.5+ | T-12 | * 0.1;If 17 T≤19 <, if Y=0.5;If 19 T≤24 <, Then Y=0.5+0.04* (24-T).
S2, the video frame frame for obtaining video.
S3, the corresponding time t of video frame frame is obtained, time T and similarity in step S1 is passed through according to the value of time t Similarity threshold y at this time is calculated in relationship between threshold value Y.By time T in the time t of video frame frame and step S1 Period is judged that the calculation formula of available similarity threshold Y corresponding with t is obtained at this time by calculation formula Similarity threshold y.
S4, image recognition is carried out to video frame frame, obtain object category x and calculates identification similarity w, will identify phase It is compared like degree w with similarity threshold y and obtains object identification conclusion.
A kind of object identification method of similarity threshold dynamic setting of the invention is according to the change of light and scene in one day Change feature sets object identification similarity threshold in different time periods, to reduce object identification in intelligence community alarm event Monitor the rate of false alarm of application scenarios.
As a kind of perferred technical scheme, in order to simplify calculation amount, in the present embodiment, the time t in step S3 is whole Point timing, that is, take the hourage of the corresponding time t of video frame frame, such as 17:35 then t=17.
In the present embodiment, in step S4, image recognition is carried out to video frame frame, the method for calculating identification similarity w can Think SSIM method.At this point, calculate identification similarity w method the following steps are included:
A, the base map that a frame contains comparison object is obtained;
B, video frame frame and base map are calculated to the structural similarity of video frame frame and base map, knot according to SSIM formula Structure similarity is to identify similarity w.
Specifically, improved SSIM formula can be used: w=s (X, Y)=(δ xy+c3)/(δ x δ y+c3) calculates image The structural similarity of X and image Y;Wherein s (X, Y) is the covariance of X and Y, and δ x, δ y are x respectively, and the standard deviation of y, c3 is normal Number.In the present embodiment, image X is base map, and image Y is video frame frame.Conventional SSIM formula is w=[l (X, Y)]α[c (X,Y)]β[s(X,Y)]θ, wherein α, β, θ > 0.Here l (x, y) is that brightness is compared, and c (x, y) is that contrast compares, s (x, y) It is that structure compares.In order to adapt to the specific requirements of object identification, structure is only done here and is compared, is i.e. α=β=0, θ=1 is then transformed SSIM formula afterwards is w=s (X, Y)=(δ xy+c3)/(δ x δ y+c3).Constant c3 is set to avoid denominator as 0 bring system Mistake.W is the number between 0 to 1, and the structure gap of the bigger two field pictures for indicating comparison is smaller.
In order to avoid being influenced by the variation of different time sections light on base map, object identification accuracy rate, the present embodiment are improved In step a, the base map of acquisition is different according to the difference of time t.Preferably, base map is divided into 5 kinds, 5 kinds of base maps and step 5 periods of time T are corresponding in rapid S1, according to the corresponding time t of video frame frame, choose corresponding base map.
In the present embodiment, in step S4 " identification similarity w is compared with similarity threshold y and obtains object identification knot By " concrete scheme be, if w is greater than y, to judge there is detection object in video frame frame, it is synchronous to save object category x and phase Like degree threshold value y;If w≤y, it is considered as unidentified arrive and corresponds to object, with no treatment.
If also, w is greater than y, judges after having detection object in video frame frame, carries out alarm and by object category x and phase It is uploaded like degree threshold value y information.In practical applications, the detection and operation of subsequentization intelligent alarm event can be carried out.
A kind of object identification method of similarity threshold dynamic setting of the invention, can be applied to the object in one section of video Body identification, also can be applied to the object identification of real time monitoring video, the object identification that can also be applied in single image.In In practical application, circular treatment can be carried out to step S2 to S4, until the object identification of whole section of video finishes, or prison in real time Object identification is controlled to terminate.
A kind of object identification method of similarity threshold dynamic setting of the invention is according to the change of light and scene in one day Change feature sets object identification similarity threshold in different time periods, to reduce object identification in intelligence community alarm event Monitor the rate of false alarm of application scenarios.The object identification method of a kind of similarity threshold dynamic setting of the invention, from actual product The problem of encountering in is set out, and a kind of object identification Optimization Mechanism of similarity threshold dynamic setting is proposed, to reduce intelligence Energyization identifies the rate of false alarm of application system, has preferable effect.
It is in summary only preferred embodiments of the present invention, practical range not for the purpose of limiting the invention.That is Fan Yiben Equivalence changes made by the content of patent application the scope of the patents and modification all should belong to technology scope of the invention.

Claims (8)

1. a kind of object identification method of similarity threshold dynamic setting, it is characterised in that: the following steps are included:
S1, similarity threshold is formulated according to the period in one day;Relationship between time T and similarity threshold Y are as follows: if 0 < T≤ 5, then Y=0.5+0.04T;If 5 < T≤7, Y=0.5;If 7 < T≤17, Y=0.5+ | T-12 | * 0.1;If 17 < T≤ 19, the Y=0.5 if;If 19 < T≤24, Y=0.5+0.04* (24-T);
S2, the video frame frame for obtaining video;
S3, the corresponding time t of video frame frame is obtained, time T in step S1 and similarity threshold Y is passed through according to the value of time t Between relationship similarity threshold y at this time is calculated;
S4, image recognition is carried out to video frame frame, obtain object category x and calculates identification similarity w, will identify similarity w It is compared with similarity threshold y and obtains object identification conclusion.
2. a kind of object identification method of similarity threshold dynamic setting according to claim 1, it is characterised in that: step Time t in S3 is integral point timing, that is, takes the hourage of the corresponding time t of video frame frame.
3. a kind of object identification method of similarity threshold dynamic setting according to claim 1, it is characterised in that: step In S4, image recognition is carried out to video frame frame, the method for calculating identification similarity w can be SSIM method.
4. a kind of object identification method of similarity threshold dynamic setting according to claim 3, it is characterised in that: described Calculate identification similarity w method the following steps are included:
A, the base map that a frame contains comparison object is obtained;
B, video frame frame and base map are calculated to the structural similarity of video frame frame and base map, structure phase according to SSIM formula It is identification similarity w like degree.
5. a kind of object identification method of similarity threshold dynamic setting according to claim 4, it is characterised in that: step In a, the base map of acquisition is different according to the difference of time t.
6. a kind of object identification method of similarity threshold dynamic setting according to claim 5, it is characterised in that: base map It is divided into 5 kinds, 5 kinds of base maps are corresponding with 5 periods of time T in step S1, according to the corresponding time t of video frame frame, choose Corresponding base map.
7. according to claim 1 to a kind of similarity threshold described in 6 any claims dynamic setting object identification method, It is characterized by:, if w is greater than y, judging there is detection object in video frame frame in step S4, object category x and phase are saved Like degree threshold value y;If w≤y, with no treatment.
8. a kind of object identification method of similarity threshold dynamic setting according to claim 7, it is characterised in that: step In S4, if w is greater than y, judge after having detection object in video frame frame, carries out alarm and by object category x and similarity threshold Y information uploads.
CN201910732173.5A 2019-08-09 2019-08-09 Object recognition method for dynamically setting similarity threshold Active CN110428017B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910732173.5A CN110428017B (en) 2019-08-09 2019-08-09 Object recognition method for dynamically setting similarity threshold

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910732173.5A CN110428017B (en) 2019-08-09 2019-08-09 Object recognition method for dynamically setting similarity threshold

Publications (2)

Publication Number Publication Date
CN110428017A true CN110428017A (en) 2019-11-08
CN110428017B CN110428017B (en) 2023-05-12

Family

ID=68415208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910732173.5A Active CN110428017B (en) 2019-08-09 2019-08-09 Object recognition method for dynamically setting similarity threshold

Country Status (1)

Country Link
CN (1) CN110428017B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111414744A (en) * 2020-03-25 2020-07-14 上海擎创信息技术有限公司 Operation and maintenance alarm scene generation method based on community detection

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136533A (en) * 2011-11-28 2013-06-05 汉王科技股份有限公司 Face recognition method and device based on dynamic threshold value
CN107222780A (en) * 2017-06-23 2017-09-29 中国地质大学(武汉) A kind of live platform comprehensive state is perceived and content real-time monitoring method and system
CN107618533A (en) * 2017-09-29 2018-01-23 兰州交通大学 A kind of machine vision detection device and method of the discrete defect of Rail Surface
CN107844779A (en) * 2017-11-21 2018-03-27 重庆邮电大学 A kind of video key frame extracting method
CN108734125A (en) * 2018-05-21 2018-11-02 杭州杰视科技有限公司 A kind of cigarette smoking recognition methods of open space
CN109977824A (en) * 2019-03-15 2019-07-05 百度在线网络技术(北京)有限公司 Article picks and places recognition methods, device and equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136533A (en) * 2011-11-28 2013-06-05 汉王科技股份有限公司 Face recognition method and device based on dynamic threshold value
CN107222780A (en) * 2017-06-23 2017-09-29 中国地质大学(武汉) A kind of live platform comprehensive state is perceived and content real-time monitoring method and system
CN107618533A (en) * 2017-09-29 2018-01-23 兰州交通大学 A kind of machine vision detection device and method of the discrete defect of Rail Surface
CN107844779A (en) * 2017-11-21 2018-03-27 重庆邮电大学 A kind of video key frame extracting method
CN108734125A (en) * 2018-05-21 2018-11-02 杭州杰视科技有限公司 A kind of cigarette smoking recognition methods of open space
CN109977824A (en) * 2019-03-15 2019-07-05 百度在线网络技术(北京)有限公司 Article picks and places recognition methods, device and equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111414744A (en) * 2020-03-25 2020-07-14 上海擎创信息技术有限公司 Operation and maintenance alarm scene generation method based on community detection

Also Published As

Publication number Publication date
CN110428017B (en) 2023-05-12

Similar Documents

Publication Publication Date Title
CN100545867C (en) Aerial shooting traffic video frequency vehicle rapid checking method
CN105787472B (en) A kind of anomaly detection method based on the study of space-time laplacian eigenmaps
CN110040595B (en) Elevator door state detection method and system based on image histogram
CN110443196A (en) Fire-fighting road occupying detection method based on SSIM algorithm
CN111507235B (en) Railway perimeter foreign matter intrusion detection method based on video
CN109896386B (en) Method and system for detecting repeated opening and closing of elevator door based on computer vision technology
CN115620212B (en) Behavior identification method and system based on monitoring video
CN113112480B (en) Video scene change detection method, storage medium and electronic device
CN111797771A (en) Method and system for detecting weak supervision video behaviors based on iterative learning
CN113076899B (en) High-voltage transmission line foreign matter detection method based on target tracking algorithm
CN116148801B (en) Millimeter wave radar-based target detection method and system
CN110674887A (en) End-to-end road congestion detection algorithm based on video classification
CN114841920A (en) Flame identification method and device based on image processing and electronic equipment
CN109697426B (en) Flight based on multi-detector fusion shuts down berth detection method
CN110428017A (en) A kind of object identification method of similarity threshold dynamic setting
CN112001453B (en) Method and device for calculating accuracy of video event detection algorithm
CN115100249B (en) Intelligent factory monitoring system based on target tracking algorithm
CN114627079B (en) Security monitoring equipment abnormity detection method and system based on artificial intelligence
CN110324588A (en) Video analysis Warning Event information storage means based on dictionary structure
CN113761981B (en) Automatic driving visual perception method, device and storage medium
CN113887431A (en) AI-based detection method for identifying person without gloves in kitchen scene
CN109934305A (en) Image-recognizing method and device based on image recognition model
Wu et al. Self-evaluation for video tracking systems
CN110309838A (en) Video detection area contour of object based on exponential transform detects preprocess method
CN114758216B (en) Illegal advertisement detection method and system based on machine vision

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20231205

Address after: No.2252, Shaling Road, Shatou, Jiangsu Province

Patentee after: JIANGSU TC SMART SYSTEMS GROUP Co.,Ltd.

Address before: Room 904, building 2, No. 618, Guangxing Road, Songjiang District, Shanghai 201613

Patentee before: SHANGHAI TIANCHENG BIJI TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
CP03 Change of name, title or address

Address after: No.2252, Shaling Road, Shatou, Jiangsu Province

Patentee after: Jiangsu Tiancheng Intelligent Group Co.,Ltd.

Country or region after: China

Address before: No.2252, Shaling Road, Shatou, Jiangsu Province

Patentee before: JIANGSU TC SMART SYSTEMS GROUP Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address