CN107644224A - A kind of object detecting system based on darknet frameworks - Google Patents

A kind of object detecting system based on darknet frameworks Download PDF

Info

Publication number
CN107644224A
CN107644224A CN201710916180.1A CN201710916180A CN107644224A CN 107644224 A CN107644224 A CN 107644224A CN 201710916180 A CN201710916180 A CN 201710916180A CN 107644224 A CN107644224 A CN 107644224A
Authority
CN
China
Prior art keywords
box
darknet
confidence
target
information
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.)
Pending
Application number
CN201710916180.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.)
Shenzhen Sanbao innovation and intelligence Co., Ltd.
Original Assignee
QIHAN 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 QIHAN TECHNOLOGY Co Ltd filed Critical QIHAN TECHNOLOGY Co Ltd
Priority to CN201710916180.1A priority Critical patent/CN107644224A/en
Publication of CN107644224A publication Critical patent/CN107644224A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Abstract

The invention discloses a kind of object detecting system based on darknet frameworks, including pretreatment unit, model training unit and fixation and recognition unit, the system model training is simple, and whole system is end-to-end (input picture, export detection block), and real-time detection can be realized.The system is predicted using full figure information.Different from sliding window method and region proposal based methods, network model can utilize full figure information during training and prediction, and the positioning to target frame is more accurate.System may learn the summary information of target, and have certain universality.Using nature picture training network model, then predicted using art pattern, it is and more much higher than accuracy rate for other object detection methods.The system is adapted to different application scenarios and detection target, it is only necessary to system is trained with corresponding data set.

Description

A kind of object detecting system based on darknet frameworks
Technical field
The present invention relates to a kind of detecting system, specifically a kind of object detecting system based on darknet frameworks.
Background technology
Object identification is a research direction in computer vision, and currently more popular research field.In people Demand ever-increasing today, object identification playing very important effect in safety, science and technology, economic aspect, pacifying Anti- field and traffic monitoring department also propose urgent requirement to object identification, so future of the research object identification to society There is very important meaning.
Conventional target detecting system uses deformable parts models (DPM) method, is carried by slider bar method Go out target area, identification is then realized using grader.Recent R-CNN classes method uses region proposal Methods, potential Bounding Box is firstly generated, the classification of object is then included using grader identification Bounding Box.Finally lead to Later processing mode removes repetition Bounding Box to optimize.This kind of method flow is complicated, speed be present slowly and training is difficult The problem of.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of object detecting system based on darknet frameworks, to solve The problem of being mentioned in background technology.
To achieve the above object, the present invention provides following technical scheme:
A kind of object detecting system based on darknet frameworks, including
Model training unit, for designing darknet network models, darknet network models are convolutional layer and pond layer Alternating connection, training parameter (including learning rate) is adjusted, trains to obtain the weight parameter of model using data set;
Pretreatment unit, for collecting suitable pictures, object mark is carried out to each pictures in pictures, so Markup information is converted into the annotation formatting needed for darknet training afterwards, and trains, test accordingly according to certain ratio generation Card, test pictures collection;Described in fixation and recognition unit;
Fixation and recognition unit;Processing is identified to the picture that pretreatment unit is collected into;Model training unit connects respectively Connect pretreatment unit and fixation and recognition unit.
Preferred scheme as the present invention:The identifying processing step of the fixation and recognition unit is specifically:First by image S*S grid is divided into, each grid predicts the value of the confidence C of B Bounding Box and Bounding Box, and the value of the confidence represents box and includes one The confidence level of target, if without target, the value of the confidence zero.Each Bounding Box includes 5 values:X, y, w, h and confidence.(x, y) represents the center of the box related to grid.(w, h) be the wide of the box related to full figure information and It is high.Confidence represents IOU the and ground truth of prediction box, final output S*S* (B*5+C) dimensional vector.
Preferred scheme as the present invention:The vector is included to the Bounding Box coordinate information of picture prediction, the value of the confidence with And the class probability of each grid, the confidence score of each Bounding Box pass through the class probability of corresponding grid and the confidence level of box Multiplication obtains, and the fraction has weighed the category and appeared in probability and the box and the degree of agreement of target in box.For The output box information and class probability of network, non-maximum restraining processing is carried out to it and threshold process gives up repeat block, is obtained most Whole testing result.
Compared with prior art, the beneficial effects of the invention are as follows:The system model training is simple, and whole system is end-to-end (input picture, export detection block), and real-time detection can be realized.The system is predicted using full figure information.With Sliding window method is different with region proposal-based methods, and network model can profit during training and prediction With full figure information, the positioning to target frame is more accurate.System may learn the summary information of target, and with certain pervasive Property.Using nature picture training network model, then predicted using art pattern, it is and more accurate than for other object detection methods True rate is much higher.The system is adapted to different application scenarios and detection target, it is only necessary to corresponding data set to being System is trained.
Brief description of the drawings
Fig. 1 is a kind of object detecting system based on darknet frameworks and interaction platform structured flowchart.
Fig. 2 is the schematic diagram of convolutional neural networks structure.
Fig. 3 is a kind of object detecting system based on darknet frameworks and interaction platform flow chart.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
Fig. 1-3 are referred to, a kind of object detecting system based on darknet frameworks, it includes pretreatment unit, model instruction Practice unit and fixation and recognition unit.
Pretreatment unit:This step mainly includes collecting suitable pictures, and each pictures in pictures are carried out Object marks, and markup information then is converted into the annotation formatting needed for darknet training, and generate phase according to certain ratio The training answered, checking, test pictures collection.
Model training unit:Darknet network models are designed, darknet network models are the friendship of convolutional layer and pond layer For connection (specific visible 2.2.2 parts), training parameter (including learning rate) is adjusted, trains to obtain using data set The weight parameter of model.
Fixation and recognition unit:For a pictures of arbitrary resolution, system divides the image into S*S grid first, Each grid predicts the value of the confidence C of B Bounding Box and Bounding Box, and the value of the confidence represents the confidence level that box includes a target, if There is no target, the value of the confidence zero.Each Bounding Box includes 5 values:X, y, w, h and confidence.(x, y) is represented and grid The center of related box.(w, h) is the wide and high of the box related to full figure information.Confidence represents prediction box IOU and ground truth, final output S*S* (B*5+C) dimensional vector.The vector includes the Bounding Box coordinate to picture prediction The class probability of information, the value of the confidence and each grid, the confidence score of each Bounding Box pass through the class probability for corresponding to grid It is multiplied to obtain with the confidence level of box, the fraction has weighed the category and appeared in probability in box and the box and target Degree of agreement.For the output box information and class probability of network, non-maximum restraining processing is carried out to it and threshold process is given up Repeat block, obtain final testing result.
The present invention operation principle be:As shown in Fig. 2 network model uses preceding several layers of alternatings for convolutional layer and pond layer Connection, the mode of three convolutional layers of heel, does not use full articulamentum.The main amount of calculation of model is neural network forecast, and different Computation layer perform be calculated as follows:
Convolutional layer calculates:The calculating process of discrete convolution is to utilize convolution mask (convolution kernel, wave filter) on original image Slide, being added up after the element multiplication on correspondence position, obtain final result, that is, realize the behaviour of slip-multiplication-superposition Make.
Pond layer calculates:Pond layer is mainly to carry out aggregate statistics to the feature of image diverse location, for example, people can be with Calculate the average value (or maximum) of some special characteristic on one region of image.According to the method for different computing pools, It is divided into average pondization and maximum pond again.And pond layer is normally at after convolutional layer.
A series of boxes are obtained according to network output information integral data, and threshold value is set, filter the low box of score, most Non-maximum restraining processing is carried out to the box of reservation afterwards, repeat block is removed, obtains final testing result.
Based on the object detecting system of darknet frameworks, high-accuracy quick detection and real-time target inspection can be carried out Survey.Whole system is inputted picture, inferred by system-computed, you can obtain the target of picture using design philosophy end to end Frame and its generic;In calculating process, the global information of picture is made full use of to carry out computational reasoning, the positioning to detection block is accurate Really, and different pieces of information collection is directed to, using the prior information of data set, multiple target frames are can be predicted in each grid, and finally selection is put For reliability highest target frame as output, the thought can acceleration model convergence in training.

Claims (3)

  1. A kind of 1. object detecting system based on darknet frameworks, it is characterised in that including
    Model training unit, for designing darknet network models, darknet network models are the friendship of convolutional layer and pond layer For connection, training parameter (including learning rate) is adjusted, trains to obtain the weight parameter of model using data set;
    Pretreatment unit, for collecting suitable pictures, object mark is carried out to each pictures in pictures, then will Markup information is converted into darknet and trains required annotation formatting, and train, verify accordingly according to certain ratio generation, Test pictures collection;
    Fixation and recognition unit;Processing is identified to the picture that pretreatment unit is collected into;
    Model training unit connects pretreatment unit and fixation and recognition unit respectively.
  2. 2. a kind of object detecting system based on darknet frameworks according to claim 1, it is characterised in that described fixed Position recognition unit identifying processing step be specifically:S*S grid is divided the image into first, and each grid predicts B border The value of the confidence C of box and Bounding Box, the value of the confidence represents the confidence level that box includes a target, if without target, the value of the confidence is Zero.Each Bounding Box includes 5 values:X, y, w, h and confidence.(x, y) represents the center of the box related to grid. (w, h) is the wide and high of the box related to full figure information.Confidence represents the IOU and ground of prediction box Truth, final output S*S* (B*5+C) dimensional vector.
  3. A kind of 3. object detecting system based on darknet frameworks according to claim 2, it is characterised in that it is described to Amount includes the class probability of the Bounding Box coordinate information to picture prediction, the value of the confidence and each grid, and each Bounding Box is put Letter fraction is multiplied to obtain by the class probability of corresponding grid with the confidence level of box, and the fraction has weighed the category and appeared in box Probability and the box and the degree of agreement of target in son.For the output box information and class probability of network, it is carried out Non-maximum restraining processing and threshold process give up repeat block, obtain final testing result.
CN201710916180.1A 2017-09-30 2017-09-30 A kind of object detecting system based on darknet frameworks Pending CN107644224A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710916180.1A CN107644224A (en) 2017-09-30 2017-09-30 A kind of object detecting system based on darknet frameworks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710916180.1A CN107644224A (en) 2017-09-30 2017-09-30 A kind of object detecting system based on darknet frameworks

Publications (1)

Publication Number Publication Date
CN107644224A true CN107644224A (en) 2018-01-30

Family

ID=61123099

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710916180.1A Pending CN107644224A (en) 2017-09-30 2017-09-30 A kind of object detecting system based on darknet frameworks

Country Status (1)

Country Link
CN (1) CN107644224A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106886795A (en) * 2017-02-17 2017-06-23 北京维弦科技有限责任公司 Object identification method based on the obvious object in image
CN107134144A (en) * 2017-04-27 2017-09-05 武汉理工大学 A kind of vehicle checking method for traffic monitoring
CN107169421A (en) * 2017-04-20 2017-09-15 华南理工大学 A kind of car steering scene objects detection method based on depth convolutional neural networks

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106886795A (en) * 2017-02-17 2017-06-23 北京维弦科技有限责任公司 Object identification method based on the obvious object in image
CN107169421A (en) * 2017-04-20 2017-09-15 华南理工大学 A kind of car steering scene objects detection method based on depth convolutional neural networks
CN107134144A (en) * 2017-04-27 2017-09-05 武汉理工大学 A kind of vehicle checking method for traffic monitoring

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JOSEPH REDMON ETC.: ""You Only Look Once:Unified, Real-Time Object Detection"", 《ARXIV.ORG》 *

Similar Documents

Publication Publication Date Title
CN108256431B (en) Hand position identification method and device
CN110188720A (en) A kind of object detection method and system based on convolutional neural networks
CN109308543A (en) The short-term passenger flow forecasting of subway based on LS-SVM and real-time big data
CN110443969A (en) A kind of fire point detecting method, device, electronic equipment and storage medium
CN106780612A (en) Object detecting method and device in a kind of image
CN104573706A (en) Object identification method and system thereof
CN114970321A (en) Scene flow digital twinning method and system based on dynamic trajectory flow
CN107369166A (en) A kind of method for tracking target and system based on multiresolution neutral net
CN107689052A (en) Visual target tracking method based on multi-model fusion and structuring depth characteristic
CN104050319B (en) A kind of method of the complicated traffic control algorithm of real-time online checking
CN109948471A (en) Based on the traffic haze visibility detecting method for improving InceptionV4 network
CN110348437A (en) It is a kind of based on Weakly supervised study with block the object detection method of perception
CN111428558A (en) Vehicle detection method based on improved YO L Ov3 method
CN106874913A (en) A kind of vegetable detection method
CN109190488A (en) Front truck car door opening detection method and device based on deep learning YOLOv3 algorithm
CN112685812A (en) Dynamic supervision method, device, equipment and storage medium
CN110032952A (en) A kind of road boundary point detecting method based on deep learning
CN106815563A (en) A kind of crowd's quantitative forecasting technique based on human body apparent structure
CN109376736A (en) A kind of small video target detection method based on depth convolutional neural networks
CN110111370A (en) A kind of vision object tracking methods based on TLD and the multiple dimensioned space-time characteristic of depth
CN116824335A (en) YOLOv5 improved algorithm-based fire disaster early warning method and system
CN114742280B (en) Road condition prediction method and corresponding model training method, device, equipment and medium
CN103605960B (en) A kind of method for identifying traffic status merged based on different focal video image
CN113158835A (en) Traffic accident intelligent detection method based on deep learning
CN104331708B (en) A kind of zebra crossing automatic detection analysis method and system

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
TA01 Transfer of patent application right

Effective date of registration: 20181108

Address after: 518000 Guangdong 28, Shenzhen, Futian District, Huafu street, No. 5001 Huanggang Road, Shenzhen Industrial upper city (two phase of the Southern District)

Applicant after: Shenzhen Sanbao innovation and intelligence Co., Ltd.

Address before: 518000 the 32-33 floor of block B, CNOOC building, Nanshan District Houhai road and Chuang Road Interchange, Shenzhen, Guangdong.

Applicant before: Qihan Technology Co., Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20180130

RJ01 Rejection of invention patent application after publication