Image key point detection method and device based on NPU
By implementing image key point detection on the NPU and using deep learning models and NPU devices for image data processing, the problems of slow detection speed and low accuracy of traditional CPUs are solved, and high-efficiency, low-power consumption image key point detection is achieved, which is suitable for in various scenarios.
Patent Information
- Application Number
- CN202410872559.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-10-11
AI Technical Summary
In the existing technology, image key point detection has problems such as slow speed, low accuracy and inconvenience in front-end device deployment when running on the CPU. There is a lack of direct cases based on NPU.
Adopt the NPU-based image key point detection method, collect and preprocess image data, load the key point detection basic model for model training, use the image acquisition device with NPU to collect image data in real time, and extract and filter key points through the deep learning model Click for information.
It significantly improves detection efficiency, saves hardware resources, reduces system power consumption, improves detection accuracy, and expands usage scenarios.
Smart Images

Figure CN118762164A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image detection technology, and in particular to an NPU-based image key point detection method and device. Background Art
[0002] At present, image key point detection technology shines in the fields of intelligent vision, robot vision, etc., and is becoming more and more popular in military, civilian and industrial detection. However, there is currently no case of directly using NPU-based devices for image key point detection.
[0003] Traditional image key point detection technology mostly uses manual feature point extraction methods, and generally uses traditional visual frameworks such as Opencv, which runs on the CPU and has problems such as slow speed, low accuracy, and inconvenience in front-end device deployment. Summary of the invention
[0004] In view of the above defects, an embodiment of the present invention discloses an NPU-based image key point detection method and device, which can efficiently detect the criticality of an image.
[0005] The first aspect of the embodiment of the present invention discloses an image key point detection method based on NPU, including:
[0006] Collecting a number of image data, each of which contains key points, and preprocessing the collected image data;
[0007] Loading a key point detection basic model, inputting the image data into the key point detection basic model for model training, and obtaining an image key point detection model;
[0008] Real-time image data is collected, and the real-time image data is input into the image key point detection model to output key point data, wherein the collected real-time image data is collected by an image acquisition device with an NPU.
[0009] As an optional implementation manner, in the first aspect of the embodiment of the present invention, the preprocessing of the collected image data includes:
[0010] Normalize the image data;
[0011] The normalized image data is converted into a grayscale image, and the grayscale image is named according to a preset naming method.
[0012] As an optional implementation manner, in the first aspect of the embodiment of the present invention, after preprocessing the collected image data, the method further includes:
[0013] Find the area where the key points are located in the grayscale image and mark the area.
[0014] As an optional implementation, in the first aspect of the embodiment of the present invention, the key point detection basic model is a superpoint model.
[0015] As an optional implementation manner, in the first aspect of the embodiment of the present invention, the real-time image data is input into the image key point detection model to output key point data, including:
[0016] Adjust the image size of the real-time image data, and transmit the real-time image data after the image size adjustment to the image key point detection model to extract image features to obtain initial key point information;
[0017] The initial key point information is screened to obtain key point data.
[0018] As an optional implementation, in the first aspect of the embodiment of the present invention, the image size is 256×256.
[0019] As an optional implementation manner, in the first aspect of the embodiment of the present invention, screening the initial key point information includes:
[0020] Eliminate the initial key point information with coordinate loss.
[0021] A second aspect of an embodiment of the present invention discloses an image key point detection device based on NPU, comprising:
[0022] Data collection module: used to collect a number of image data, each of which contains key points, and pre-process the collected image data;
[0023] Model training module: used to load the key point detection basic model, input the image data into the key point detection basic model for model training, and obtain the image key point detection model;
[0024] Data output module: used to collect real-time image data, input the real-time image data into the image key point detection model to output key point data, and the collected real-time image data is collected by an image acquisition device with NPU.
[0025] As an optional implementation, in the second aspect of the embodiment of the present invention, the preprocessing of the collected image data includes:
[0026] Normalize the image data;
[0027] The normalized image data is converted into a grayscale image, and the grayscale image is named according to a preset naming method.
[0028] As an optional implementation manner, in the second aspect of the embodiment of the present invention, after preprocessing the collected image data, the method further includes:
[0029] Find the area where the key points are located in the grayscale image and mark the area.
[0030] As an optional implementation, in the second aspect of the embodiment of the present invention, the key point detection basic model is a superpoint model.
[0031] As an optional implementation manner, in the second aspect of the embodiment of the present invention, the real-time image data is input into the image key point detection model to output key point data, including:
[0032] Adjust the image size of the real-time image data, and transmit the real-time image data after the image size adjustment to the image key point detection model to extract image features to obtain initial key point information;
[0033] The initial key point information is screened to obtain key point data.
[0034] As an optional implementation, in the second aspect of the embodiment of the present invention, the image size is 256×256.
[0035] As an optional implementation manner, in the second aspect of the embodiment of the present invention, screening the initial key point information includes:
[0036] Eliminate the initial key point information with coordinate loss.
[0037] The third aspect of an embodiment of the present invention discloses an electronic device, comprising: a memory storing executable program code; a processor coupled to the memory; the processor calls the executable program code stored in the memory to execute the NPU-based image key point detection method disclosed in the first aspect of the embodiment of the present invention.
[0038] A fourth aspect of an embodiment of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute the NPU-based image key point detection method disclosed in the first aspect of an embodiment of the present invention.
[0039] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0040] In the embodiment of the present invention, a sufficient amount of image data containing key points is first collected, and the preprocessed image data is input into the basic model for model training. A large amount of image data can improve the accuracy of model training. Thereafter, a camera or other image acquisition device is used to capture real-time image data, and the real-time image data is input into the trained image key point detection model, and the model outputs the location information of the key points. The embodiment adopts an NPU-based image key point detection method, which can significantly improve the detection efficiency compared to the traditional CPU analysis method, and saves more hardware resources, effectively reduces system power consumption, and can also effectively improve the accuracy, and has a wider range of usage scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0042] Figure 1 It is a flowchart of an NPU-based image key point detection method disclosed in an embodiment of the present invention;
[0043] Figure 2 It is a structural schematic diagram of an image key point detection device based on NPU provided by an embodiment of the present invention;
[0044] Figure 3 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0045] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0046] It should be noted that the terms "first", "second", "third", "fourth", etc. in the specification and claims of the present invention are used to distinguish different objects rather than to describe a specific order. The terms "including" and "having" in the embodiments of the present invention and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0047] The embodiments of the present invention disclose an image key point detection method, device, electronic device and storage medium based on NPU. In the embodiments, a sufficient amount of image data containing key points is first collected, and the pre-processed image data is input into a basic model for model training. A large amount of image data can improve the accuracy of model training. Then, a camera or other image acquisition device is used to capture real-time image data, and the real-time image data is input into a trained image key point detection model. The model will output the location information of the key points. Compared with the traditional CPU analysis method, the embodiment adopts the image key point detection method based on NPU, which can significantly improve the detection efficiency, save hardware resources, effectively reduce system power consumption, and effectively improve the accuracy, and has a wider range of usage scenarios.
[0048] Embodiment 1
[0049] See also Figure 1 , Figure 1 It is a flow chart of the NPU-based image key point detection method disclosed in the embodiment of the present invention. Among them, the execution subject of the method described in the embodiment of the present invention is an execution subject composed of software and / or hardware, and the execution subject can receive relevant information by wired or / and wireless means, and can send certain instructions. Of course, it can also have certain processing functions and storage functions. The execution subject can control multiple devices, such as a remote physical server or cloud server and related software, or it can be a local host or server and related software that performs related operations on a device placed somewhere. In some scenarios, multiple storage devices can also be controlled, and the storage devices can be placed in the same place or different places as the devices. For example Figure 1 As shown, the NPU-based image key point detection method includes the following steps:
[0050] 101. Collect a number of image data, each of which contains key points, and pre-process the collected image data.
[0051] The embodiment builds a front-end image acquisition device embedded with NPU in advance. Build a front-end image acquisition device embedded with NPU to prepare for the subsequent deployment of trained artificial intelligence detection models. NPU (network processor) generally refers to an embedded neural network processor, which is a special processor designed specifically for the computing needs of neural network models, and is designed to perform machine learning, especially deep learning tasks, efficiently and with low power consumption. The core concept of NPU is to simulate the working principle of human brain neural network, and accelerate complex calculations such as large-scale matrix operations and convolution operations in deep neural networks through large-scale parallel processing units (similar to neurons) and efficient interconnection structures (similar to synapses). Unlike traditional general-purpose processors, NPU integrates highly customized computing units, storage structures, and data flow scheduling mechanisms at the hardware level, which can efficiently process operations such as feature extraction, weight update, and activation function calculation in deep learning models. This design enables NPU to show extremely high energy efficiency when processing artificial intelligence tasks, that is, it provides computing performance far exceeding that of general-purpose processors at the same power consumption, especially in the reasoning stage (such as image recognition, speech recognition, natural language processing, etc.). The advantage is obvious.
[0052] Compared with traditional image key point detection technology, after the emergence of deep learning technology, deep learning models based on convolutional pooling have been widely used in various tasks and fields of computer vision. Among them, image key point detection also has related models, such as SuperPoint. Compared with traditional algorithms, SuperPoint has significantly improved the accuracy of key point detection tasks. Deep learning models are more suitable for running on NPU. Running analysis on the CPU is time-consuming and labor-intensive, and the hardware requirements are high and the overhead is large. Therefore, if NPU can be used directly for image key point detection, it will be more efficient and complete more tasks with lower power consumption.
[0053] The front-end device has an image acquisition function and can obtain image data. After the NPU obtains the image data, it analyzes it and obtains preliminary key points. The preliminary analysis requires the use of a key point detection model. This deep learning model has a large amount of calculation and requires NPU to accelerate the calculation, saving computing resources while reducing the overall power consumption of the device. Subsequent further screening of relevant data and key points can determine the final key points and complete the detection. The image acquisition function of the front-end device mainly depends on the image sensor. The sensor can transmit the image of the real world as a digital signal, save it as binary data, and store it in the memory. The storage structure is generally a two-dimensional array, which provides the prerequisite for the subsequent front-end device SOC to analyze and calculate the image data.
[0054] The preparation of training data mainly includes data collection and data training preprocessing. The collected data should contain clear images of specific scenes as much as possible. The collection method is generally to place the front-end image acquisition device on site, and then use VLC and other streaming tools to record the screen to obtain the original scene data. The recorded video stream is analyzed and processed frame by frame, and blurred and obviously blocked image frames are removed, and then the images are preprocessed by "normalization" and "grayscale". These preprocessed images are manually annotated to obtain the ground_truth data of key points for subsequent training. Regarding the amount of annotated data, practice has shown that the initial data volume is preferably between 1,000 and 3,000, and can continue to be added in subsequent iterations. After the annotation is completed, it is sorted and sorted according to the specifications, and a certain proportion of training sets and test sets are generated.
[0055] 102. Load a key point detection basic model, input the image data into the key point detection basic model for model training, and obtain an image key point detection model.
[0056] The preprocessing method of the embodiment includes normalizing the image data; converting the normalized image data into a grayscale image, and naming the grayscale image according to a preset naming method. The embodiment collects a large amount of image data containing key points in advance, and performs preprocessing such as normalizing, graying, and renaming on these data.
[0057] In addition, after preprocessing, the embodiment further includes finding the area where the key points are located in the grayscale image, and marking the area, accurately marking the area of the key points, and generating a training set and a test set.
[0058] The key point detection basic model of the embodiment is the superpoint model. Load the key point detection model SuperPoint and the prepared data set, and start training. The SuperPoint model is mainly composed of operators such as convolution, pooling and relu activation. It has the advantages of small parameter volume, fast reasoning speed, low memory usage and high detection accuracy. It has the advantages of lightweight, high efficiency and easy deployment, so it is selected as the key point detection model. After the training is completed, the '.pt' file is obtained, and then this file is converted into a framework model file based on NPU, the corresponding pre- and post-processing code is written and cross-compiled on the back-end computer, where the model reasoning part needs to call the NPU interface for optimization and acceleration processing, and finally deployed to the front-end NPU device after debugging. In the embodiment, the NPU analysis part mainly depends on the SuperPoint model. The model is based on deep learning and is designed with a fully convolutional neural network (FCN), which can predict the input image at the pixel level. By performing large-scale data training on the back-end computer, it can perform targeted training according to the data of the specific scene and iterate quickly. More importantly, it can be converted into a front-end model that can run on the NPU, providing basic preparation for subsequent analysis and extraction of key points. The NPU screening part mainly relies on post-processing algorithms such as non-maximum suppression (NMS). This type of algorithm can filter out repeated, low-confidence, and similarly located key points by setting a threshold and remove them. The final key points after screening by this type of algorithm generally have high confidence and accuracy, and can meet the task requirements of subsequent analysis, calculation, and display.
[0059] During training, it is important to note that some relevant training parameters should be modified according to the specific backend device hardware, such as specifying the correct hardware architecture arch and learning rate learning_rate. In addition, GPU should be used as much as possible in backend training to speed up the training process and loss convergence speed, thereby improving training efficiency.
[0060] 103. Collect real-time image data, and input the real-time image data into the image key point detection model to output key point data. The real-time image data is collected by an image acquisition device with an NPU.
[0061] The front-end NPU device collects real-time data, and the front-end NPU device collects image data through the image sensor to prepare for the next NPU analysis. In this step, the real-time image data is input into the image key point detection model to output key point data, including: adjusting the image size of the real-time image data, transmitting the real-time image data after the image size adjustment to the image key point detection model to extract image features to obtain initial key point information; screening the initial key point information to obtain key point data. Screening the initial key point information includes: eliminating the initial key point information with coordinate loss.
[0062] After the front-end NPU device collects real-time image data, it uses the deployed front-end NPU model to analyze and detect the image. Specifically, the input image is resized to 256×256, and then sent to the CNN network to extract image features, obtain key point information, and further screen and optimize by calculating coordinate loss, category loss, confidence loss, non-maximum suppression (NMS) and other methods to obtain the final key point information. The calculation results are then presented on the screen, and all key point areas are drawn.
[0063] This embodiment directly analyzes the input image data and outputs the target detection results. Real-time analysis and calculation of the image is realized based on artificial intelligence, and the detection results are output to the monitoring screen. For the parts related to artificial intelligence and deep learning, the specific implementation steps are: select a deep learning model and make corresponding adjustments, prepare training data, training, model conversion, model testing and deployment, and model iteration and upgrade. When preparing the deep learning model for training at the back end, select the SuperPoint model, which has good key point detection accuracy and speed. In order to facilitate subsequent NPU model training and conversion, targeted adjustments need to be made to the architecture and parameters in this model: increase the dimensions of the model input and output parameters (from 3 dimensions to 4 dimensions) and delete the final normalization and topk parts of the model.
[0064] After the training is completed, a weight file of the training result will be generated. These files cannot be directly deployed to the front end, so the weight file needs to be converted. The specific steps are to convert the PT model file generated by the PyTorch framework training to generate the corresponding NPU model file, and finally deploy it to the front end. The specific steps of the front-end work are that the front-end device obtains the real-time image frame, transmits this frame of image data to the NPU for analysis, obtains the feature map and key point data, and then transmits it to the CPU for further calculation. After screening the final key points and specific coordinates, the key point information and coordinate information containing the confidence are superimposed on the image and output to the monitoring display, thus completing the image key point detection process based on NPU.
[0065] The NPU-based image key point detection in the embodiment can accelerate the entire intelligent analysis and detection process and significantly improve the detection efficiency. Compared with the traditional method of simply using CPU analysis, the embodiment creatively uses NPU to participate in analysis and calculation, greatly improving the calculation efficiency and the running speed of the entire system, and can be used in various scenarios that require real-time analysis and calculation. Image key point detection based on NPU can save more hardware resources and effectively reduce system power consumption. The front-end device SOC generally includes hardware resources such as CPU, GPU and NPU, but they are relatively limited. The embodiment reasonably uses heterogeneous computing technologies such as NPU to save hardware resources and reduce overall power consumption while meeting task requirements; image key point detection based on NPU can effectively improve accuracy and has a wider range of applicable scenarios. The traditional image key point detection algorithm needs to manually extract features according to specific scenarios, and its efficiency and accuracy are low. The embodiment uses an artificial intelligence model for large-scale data training, and the resulting model has higher accuracy and a wider range of applicable scenarios; image key point detection based on NPU can be quickly iterated and upgraded, and is easier to deploy in practical applications. The upgrade and deployment process of traditional front-end device algorithms is relatively cumbersome, generally requiring the entire software version to be updated, which is time-consuming and labor-intensive. The deep learning model file used in the embodiment does not rely on the software version or system file when updating. In subsequent upgrades, only a single model file can be updated, while other system files remain unchanged, so it has a loose coupling feature. In the future, the scale of training data can be increased to improve the accuracy of the model. When deploying, only the model file needs to be updated for rapid iteration and upgrade.
[0066] Embodiment 2
[0067] See also Figure 2 , Figure 2 Schematic diagram of the structure of the NPU-based image key point detection device disclosed in the embodiment of the present invention. Figure 2 As shown, the NPU-based image key point detection device may include: a data collection module 201, a model training module 202 and a data output module 203, wherein the data collection module 201 is used to collect a number of image data, each of which contains key points, and pre-process the collected image data; the model training module 202 is used to load a key point detection basic model, input the image data into the key point detection basic model for model training, and obtain an image key point detection model; the data output module 203 is used to collect real-time image data, input the real-time image data into the image key point detection model to output key point data, and the collected real-time image data is collected by an image acquisition device with an NPU.
[0068] In the data collection module 201, the collected image data is preprocessed, including: normalizing the image data; converting the normalized image data into a grayscale image, and naming the grayscale image according to a preset naming method.
[0069] The embodiment may further include a region labeling module for finding the region where the key points are located in the grayscale image and labeling the region after preprocessing the collected image data.
[0070] The key point detection basic model of the embodiment is a superpoint model. In the data output module 203, the real-time image data is input into the image key point detection model to output the key point data, including: adjusting the image size of the real-time image data, transmitting the real-time image data after the image size adjustment to the image key point detection model to extract image features to obtain initial key point information; screening the initial key point information to obtain key point data.
[0071] The image size is preferably 256 × 256. In the above, screening the initial key point information includes: eliminating the initial key point information with coordinate loss.
[0072] Embodiment 3
[0073] See also Figure 3 , Figure 3 Schematic diagram of the structure of an electronic device disclosed in an embodiment of the present invention. The electronic device may be a computer, a server, etc. Of course, in certain circumstances, it may also be a smart device such as a mobile phone, a tablet computer, a monitoring terminal, and an image acquisition device with processing functions. Figure 3 As shown, the electronic device may include:
[0074] A memory 301 storing executable program codes;
[0075] a processor 302 coupled to the memory 301;
[0076] The processor 302 calls the executable program code stored in the memory 301 to execute part or all of the steps in the NPU-based image key point detection method in the first embodiment.
[0077] An embodiment of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute part or all of the steps in the NPU-based image key point detection method in Embodiment 1.
[0078] An embodiment of the present invention further discloses a computer program product, wherein when the computer program product is run on a computer, the computer executes part or all of the steps in the NPU-based image key point detection method in Embodiment 1.
[0079] An embodiment of the present invention further discloses an application publishing platform, wherein the application publishing platform is used to publish a computer program product, wherein when the computer program product runs on a computer, the computer executes part or all of the steps in the NPU-based image key point detection method in Embodiment 1.
[0080] In various embodiments of the present invention, it should be understood that the size of the serial numbers of the processes does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0081] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place or distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0082] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0083] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-accessible memory. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for a computer device (which can be a personal computer, a server or a network device, etc., specifically a processor in a computer device) to perform some or all of the steps of the method described in each embodiment of the present invention.
[0084] In the embodiments provided by the present invention, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.
[0085] A person of ordinary skill in the art can understand that some or all of the steps in the various methods of the embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0086] The above is a detailed introduction to the NPU-based image key point detection method, device, electronic device and storage medium disclosed in the embodiments of the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A method for detecting key points of an image based on NPU, characterized in that: include: Collecting a number of image data, each of which contains key points, and preprocessing the collected image data; Loading a key point detection basic model, inputting the image data into the key point detection basic model for model training, and obtaining an image key point detection model; Real-time image data is collected, and the real-time image data is input into the image key point detection model to output key point data, wherein the collected real-time image data is collected by an image acquisition device with an NPU.
2. The image key point detection method according to claim 1, characterized in that: The preprocessing of the collected image data includes: Normalize the image data; The normalized image data is converted into a grayscale image, and the grayscale image is named according to a preset naming method.
3. The method for detecting key points of an image according to claim 2, characterized in that: After preprocessing the collected image data, it also includes: Find the area where the key points are located in the grayscale image and mark the area.
4. The method for detecting key points of an image according to claim 1, wherein: The key point detection basic model is a superpoint model.
5. The method for detecting key points of an image according to claim 1, characterized in that: Inputting the real-time image data into the image key point detection model to output key point data includes: Adjust the image size of the real-time image data, and transmit the real-time image data after the image size adjustment to the image key point detection model to extract image features to obtain initial key point information; The initial key point information is screened to obtain key point data.
6. The method for detecting key points of an image according to claim 5, characterized in that: The image size is 256×256.
7. The method for detecting key points of an image according to claim 5, characterized in that: Screening the initial key point information includes: Eliminate the initial key point information with coordinate loss.
8. An image key point detection device based on NPU, characterized in that: include: Data collection module: used to collect a number of image data, each of which contains key points, and pre-process the collected image data; Model training module: used to load the key point detection basic model, input the image data into the key point detection basic model for model training, and obtain the image key point detection model; Data output module: used to collect real-time image data, input the real-time image data into the image key point detection model to output key point data, and the collected real-time image data is collected by an image acquisition device with NPU.
9. An electronic device, characterized in that: include: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the NPU-based image key point detection method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program enables a computer to execute the NPU-based image key point detection method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Box body key point detection method and device, computing equipment and computer readable storage medium
CN112101342A
Method for concurrently executing face search on equipment with NPU
CN113239218A
Human body key point detection method and device of camera
CN115578754A
Image splicing method and device and storage medium
CN116579923A
