An intelligent object-finding method and system based on traceable target recognition
Through real-time target recognition technology and YOLO algorithm based on sparse models, an adaptive target dictionary is constructed, which solves the problem of accuracy decline and real-time analysis in complex scenes, achieves rapid positioning and efficient recognition, and is suitable for target recognition in diverse scenes.
Patent Information
- Application Number
- CN202210685950.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-16
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-06-16
AI Technical Summary
Existing object-finding methods based on target recognition have reduced accuracy in complex scenarios and lack of versatility. Deep neural networks require a large amount of training data and computing power, making it difficult to achieve real-time analysis and application.
Real-time target recognition technology based on sparse models is adopted. Through sparse model modeling and YOLO target recognition algorithm, an adaptive target dictionary is constructed, and real-time calculation is realized through key frame extraction and preprocessing to adapt to target recognition in different scenarios.
It improves the efficiency and accuracy of target recognition, achieves applicability to different scenarios, can quickly locate and find objects, and meets real-time processing needs.
Smart Images

Figure CN114973099B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of image processing, and in particular relates to an intelligent object-finding method and system based on traceable target recognition. Background Art
[0002] Artificial intelligence is increasingly integrated into people's daily lives. Intelligent manufacturing, such as smart cameras, enables efficient and accurate target recognition and object search functions, which are very important for individuals and industries. At present, target recognition is an important field in the field of computer vision. And finding objects based on real-time video is an important task in this field.
[0003] The object-hunting task based on target recognition mainly takes images or videos as input. Target recognition finds the target in the image and determines the target position. Multiple targets in the same image can be identified and located to achieve the function of finding objects. The traditional method to achieve the object-hunting task based on target recognition is deep learning technology, such as convolutional neural network, which automatically learns the inherent characteristics of the target in order to identify the target. There are two existing methods of deep learning to achieve target recognition. One is to train the model from scratch, and the other is to use transfer learning method. With the support of a large amount of data, deep learning has a high degree of accuracy.
[0004] However, the current methods of finding objects based on target recognition face some problems: on the one hand, due to the complexity of application scenarios, the size and shape of the objects recognized in different scenarios are different, and the background parameters are also different, which leads to a decrease in accuracy in diverse application scenarios, thus lacking versatility. On the other hand, solutions based on deep neural networks require a large amount of training data and computing power, making it difficult to achieve real-time analysis and calculation and apply them to engineering problems that require real-time processing. Summary of the invention
[0005] In order to solve the above technical problems, the present invention proposes an intelligent object-finding method and system based on traceable target recognition. Through real-time target recognition technology based on sparse models, the signal processing performance is improved while achieving real-time calculation; through adaptive target feature dictionary construction technology, it has good performance on complex problems of multi-scene targets.
[0006] On the one hand, to achieve the above-mentioned purpose, the present invention provides an intelligent object-finding method based on traceable target recognition, comprising:
[0007] Perform sparse modeling processing on the scene video to obtain a video signal of the sparse model;
[0008] Using the YOLO target recognition algorithm on the video signal, and constructing an adaptive target dictionary based on the sparse model to identify the target in the video signal;
[0009] A video key frame of the video signal is extracted, and the video key frame is preprocessed to obtain the position where the target last appears.
[0010] Optionally, preprocessing the video key frames includes: arranging the video key frames in reverse chronological order.
[0011] Optionally, performing sparse modeling processing on the scene video includes: introducing determinant constraints to form a sparse model;
[0012] The determinant constraint is:
[0013] f(H)=max(det(HH T ))
[0014] Among them, H is a sparse matrix, H T is the transpose of the sparse matrix H, and det() is the determinant.
[0015] Optionally, constructing the adaptive target dictionary includes:
[0016] imposing orthogonality constraints on the adaptive target dictionary;
[0017] The adaptive target dictionary after applying the orthogonal constraint is subjected to Cayley transformation processing, and a Barzilai-Borwein step size is added.
[0018] Optionally, the method of extracting the video key frame of the video signal is: using a key frame extraction model;
[0019] The key frame extraction model is:
[0020]
[0021] Among them, J GMC (X) is the sparse constraint, Y is the video signal matrix, F is the Frobenius norm, To find the parameter value under the minimum F norm.
[0022] On the other hand, to achieve the above-mentioned purpose, the present invention also provides an intelligent object-finding system based on traceable target recognition, comprising: a collection module, an identification module, a construction module and an object-finding module;
[0023] The acquisition module is used to perform sparse modeling processing on the scene video to obtain a video signal of the sparse model;
[0024] The recognition module is used to use the YOLO target recognition algorithm on the video signal to identify the target in the video signal;
[0025] The construction module is used to construct an adaptive target dictionary, and the video signal is learned by using the adaptive target dictionary;
[0026] The object-finding module is used to extract the video key frame of the video signal, process the video key frame, and obtain the position where the target last appeared.
[0027] Optionally, the processing of the video key frames in the object-finding module includes: arranging the video key frames in reverse chronological order.
[0028] Optionally, the sparse modeling process of the scene video in the acquisition module includes: introducing determinant constraints to form a sparse model;
[0029] The determinant constraint is:
[0030] f(H)=max(det(HH T ))
[0031] Among them, H is a sparse matrix, H T is the transpose of the sparse matrix H, and det() is the determinant.
[0032] Optionally, constructing the adaptive target dictionary in the construction module includes:
[0033] imposing orthogonality constraints on the adaptive target dictionary;
[0034] The adaptive target dictionary after applying the orthogonal constraint is subjected to Cayley transformation processing, and a Barzilai-Borwein step size is added.
[0035] Compared with the prior art, the present invention has the following advantages and technical effects:
[0036] The present invention proposes an intelligent object-finding method and system based on traceable target recognition, which can realize rapid location and object-finding;
[0037] The present invention optimizes the efficiency of target recognition by designing target recognition based on sparse models to achieve real-time processing;
[0038] The present invention constructs a sparse target dictionary to achieve learning of adaptive dictionaries for targets in different scenarios, thereby optimizing the applicability to different environments and scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0040] Figure 1This is a flow chart of an intelligent object-finding method based on traceable target recognition according to Embodiment 1 of the present invention;
[0041] Figure 2 This is a schematic diagram of a process for target recognition based on a sparse model according to Embodiment 1 of the present invention;
[0042] Figure 3 This is a schematic diagram of a process of constructing an adaptive target dictionary based on a sparse model according to Embodiment 1 of the present invention;
[0043] Figure 4 Schematic diagram of the flow of the object-hunting algorithm based on the backtrackable key frame according to Embodiment 1 of the present invention;
[0044] Figure 5 This is a schematic diagram of the structure of an intelligent object-hunting system based on traceable target recognition according to Example 2 of the present invention. DETAILED DESCRIPTION
[0045] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0046] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0047] Example 1
[0048] like Figure 1 As shown, this embodiment provides an intelligent object-finding method based on traceable target recognition, including:
[0049] Perform sparse modeling processing on the scene video to obtain a video signal of the sparse model;
[0050] Using the YOLO target recognition algorithm on the video signal, and constructing an adaptive target dictionary based on the sparse model to identify the target in the video signal;
[0051] A video key frame of the video signal is extracted, and the video key frame is processed to obtain the position where the target last appears.
[0052] Further, identifying the target in the video signal also includes:
[0053] An adaptive target dictionary is constructed, and the video signal is learned using the adaptive target dictionary.
[0054] Furthermore, processing the video key frames includes: arranging the video key frames in reverse order in time.
[0055] Furthermore, performing sparse modeling processing on the scene video includes: introducing determinant constraints to construct a sparse model.
[0056] Further, constructing the adaptive target dictionary includes:
[0057] imposing orthogonality constraints on the adaptive target dictionary;
[0058] The adaptive target dictionary after applying the orthogonal constraint is subjected to Cayley transformation processing, and a Barzilai-Borwein step size is added.
[0059] Furthermore, the method of extracting the video key frame of the video signal is: using a key frame extraction model.
[0060] The overall process of this embodiment is as follows: obtain a real-time video signal of the scene where the object to be found is located; perform sparse modeling on the video signal; process the video signal through a search algorithm that can trace back key frames, and output the location of the object to be found with the support of target recognition based on sparse models and an algorithm for constructing a sparse model adaptive target dictionary.
[0061] In this embodiment, the sparse modeling of the video signal uses a determinant constraint as a non-negative sparse metric to constrain the non-negative sparse model.
[0062] The flowchart of target recognition based on sparse model is as follows Figure 2 As shown. The solution for target recognition based on sparse models and effective application to non-negative data is as follows: The traditional sparse representation model is defined as formula (1):
[0063]
[0064] Among them, each column of Y is an observed signal. First, the model needs to optimize the sparse matrix H from the observed signal Y, and then learn the dictionary D. This method has a large amount of calculation, and the poor expression of the source signal directly affects the optimization result when there is a lot of noise interference.
[0065] In view of the above problems, combined with the characteristics of sparse models, a sparse model is constructed by introducing determinant constraints. First, for the approximate error term, the present invention uses the Frobenius norm to measure the approximate error. Secondly, for the sparse constraint, a differentiable convex function determinant constraint is used. The determinant constraint is defined as formula (2):
[0066] f(H)=max(det(HH T )) (2)
[0067] Among them, H is a sparse matrix, H T is the transpose of the sparse matrix H, and det( ) is the determinant. Each element of H is greater than zero and the rows are normalized. The determinant constraint function is unbiased and continuous, and the estimated value obtained has a small deviation and better reconstruction performance. Different from the L1 norm and L0 norm, which are both sparse constraints on vectors, the determinant constraint can be used to maintain the sparsity of non-negative matrices, so it has spatial expressiveness for image matrices.
[0068] In this embodiment, the input for constructing and learning the adaptive target dictionary is data preprocessed by image segmentation. The input for constructing and learning the adaptive target dictionary is data with label information after manual error correction.
[0069] The schematic diagram of constructing an adaptive target dictionary based on a sparse model is as follows: Figure 3 As shown. The solution for constructing the target dictionary of the sparse model is as follows: the dictionary learning process is used to learn an adaptive dictionary for the target of different scenarios. In order to avoid the appearance of trivial solutions, orthogonal constraints are imposed on the dictionary, and the orthogonal constraints just constitute the manifold space. Using the manifold optimization idea, the optimization method is explored directly from the manifold space composed of orthogonal constraints, so that the function can maintain a smooth descent as much as possible along the manifold surface and satisfy the orthogonal constraints. By using the Cayley transform method, the curved descent direction is found, so that the function descends along the manifold surface until the optimal solution is found. In addition, in order to achieve fast surface search descent and ensure that the algorithm converges and the descent speed is fast enough, the Barzilai-Borwein (BB) step size is also applied to the surface search descent method, thereby further accelerating the descent speed and ensuring the convergence of the algorithm.
[0070] The schematic diagram of the object-finding method based on the traceable key frame is as follows Figure 4 As shown. The method for finding objects based on traceable key frames is as follows: First, the purpose of key frame extraction is to use fewer key frames to represent the entire video to achieve video compression. The key frame extraction model can be expressed as formula (3):
[0071]
[0072] Among them, J GMC (X) is the sparse constraint, Y is the video signal matrix, F is the Frobenius norm, To find the value of the parameter under the minimum F norm. GMC (X) specifically represents the Generalized Minimax-ConcaveRegularization (GMC) sparse constraint, dictionary The selection method uses a deep dictionary learning method to extract a low-dimensional feature dictionary from the video frame, and finally determines the key frame number through sparse coding.
[0073] Then, according to the extracted key frames, the target can be tracked back. The extracted key frames are traced back to the time when the target disappeared, and then the result of the search is located. That is, according to the location where the target last appeared, the final result of the search is located.
[0074] Example 2
[0075] like Figure 5 As shown, this embodiment provides an intelligent object-finding system based on traceable target recognition, including: a collection module, an identification module, a construction module and an object-finding module;
[0076] The acquisition module is used to perform sparse modeling processing on the scene video to obtain a video signal of the sparse model;
[0077] The recognition module is used to use the YOLO target recognition algorithm on the video signal to identify the target in the video signal;
[0078] The construction module is used to construct an adaptive target dictionary, and adopt the adaptive target dictionary to learn the video signal; and is used to achieve learning of adaptive dictionaries for targets of different scenes by dictionary learning, so as to solve the problem of insufficient versatility;
[0079] The object-finding module is used to extract the video key frames of the video signal, process the video key frames, and obtain the position where the target last appeared. With the support of the recognition module and the construction module, the video key frames are extracted, and after the key frames are arranged in reverse order in time, the position where the target last appeared is marked and output.
[0080] Furthermore, the processing of the video key frames in the object-finding module includes: arranging the video key frames in reverse chronological order.
[0081] Furthermore, the sparse modeling process of the scene video in the acquisition module includes: introducing determinant constraints to form a sparse model;
[0082] Further, constructing the adaptive target dictionary in the construction module includes:
[0083] imposing orthogonality constraints on the adaptive target dictionary;
[0084] The adaptive target dictionary after applying the orthogonal constraint is subjected to Cayley transformation processing, and a Barzilai-Borwein step size is added.
[0085] The above are only preferred specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. An intelligent object-finding method based on traceable target recognition, characterized in that: include: Perform sparse modeling processing on the scene video to obtain a video signal of the sparse model; The sparse modeling process for the scene video includes: introducing determinant constraints to form a sparse model; The determinant constraint is: f(H)=max(det(HH T )) Among them, H is a sparse matrix, H T is the transpose of the sparse matrix H, and det() is the determinant; Using the YOLO target recognition algorithm on the video signal, and constructing an adaptive target dictionary based on the sparse model to identify the target in the video signal; Constructing the adaptive target dictionary includes: imposing orthogonality constraints on the adaptive target dictionary; The adaptive target dictionary after applying the orthogonal constraint is subjected to Cayley transformation and a Barzilai-Borwein step size is added; A video key frame of the video signal is extracted, and the video key frame is preprocessed to obtain the position where the target last appears.
2. The intelligent object-finding method based on traceable target recognition according to claim 1 is characterized in that: Preprocessing the video key frames includes: arranging the video key frames in reverse order of time.
3. The intelligent object-finding method based on traceable target recognition according to claim 1 is characterized in that: The method of extracting the video key frame of the video signal is: using a key frame extraction model; The key frame extraction model is: Among them, J GMC (X) is the sparse constraint, Y is the video signal matrix, F is the Frobenius norm, To find the parameter value under the minimum F norm.
4. An intelligent object-finding system based on traceable target recognition, characterized in that: include: Acquisition module, recognition module, construction module and object-finding module; The acquisition module is used to perform sparse modeling processing on the scene video to obtain a video signal of the sparse model; The sparse modeling process of the scene video in the acquisition module includes: introducing determinant constraints to form a sparse model; The determinant constraint is: f(H)=max(det(HH T )) Among them, H is a sparse matrix, H T is the transpose of the sparse matrix H, and det() is the determinant; The recognition module is used to use the YOLO target recognition algorithm on the video signal to identify the target in the video signal; The construction module is used to construct an adaptive target dictionary, and the video signal is learned by using the adaptive target dictionary; Constructing the adaptive target dictionary in the construction module includes: imposing orthogonality constraints on the adaptive target dictionary; The adaptive target dictionary after applying the orthogonal constraint is subjected to Cayley transformation and a Barzilai-Borwein step size is added; The object-finding module is used to extract the video key frame of the video signal, process the video key frame, and obtain the position where the target last appeared.
5. The intelligent object-finding system based on traceable target recognition according to claim 4 is characterized in that: The processing of the video key frames in the object-finding module includes: arranging the video key frames in reverse chronological order.
Citation Information
Patent Citations
Video target tracking method based on compound sparse model
CN104484890A
Typical target recognition method based on affine scaling invariant feature and sparse representation
CN106326903A
