A method and system for intelligent identification of pangolin scale individuals
Through intelligent identification technology, real-time monitoring and tracking of pangolin activities solves the problems of low monitoring efficiency and lag in data feedback in existing technologies, enables real-time capture and accurate tracking of pangolin activities, and promotes the protection of endangered species.
Patent Information
- Application Number
- CN202411154318.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-08-22
AI Technical Summary
Existing technologies are inefficient in monitoring the living conditions of pangolins in the wild. Massive image and video data are difficult to screen in real time. The remote location results in delayed data feedback, which affects scientific research and conservation decisions.
Using the individual intelligent identification method of pangolin carapace, the image is captured by the monitoring camera, and then input into the target detection model for target detection after preprocessing. The feature vector is extracted and matched with the database to generate individual identifiers and monitoring information to achieve instant capture and accurate tracking.
It improves the accuracy and timeliness of monitoring data, promotes the effective protection of endangered species such as pangolins, and enhances the scientific nature and accuracy of ecological research.
Smart Images

Figure CN118675203B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent identification technology, and in particular to a method and system for intelligently identifying individual pangolin scales. Background Art
[0002] Currently, monitoring methods for pangolins in the wild are still lagging behind, relying mainly on traditional methods, namely widely deployed infrared camera networks that record a large amount of information on their activities in the wild.
[0003] However, this model faces significant challenges: First, a huge amount of image and video data is piled up, and it depends on scientific researchers to screen them one by one, which is not only inefficient, but also very easy to cause information omissions or misjudgments due to human factors, which greatly restricts the accuracy and timeliness of monitoring data. Secondly, due to the remote geographical location and inconvenient transportation, the scientific research team often needs a long interval to go to the site to collect data. This time lag makes it difficult for the pangolin's activities to be fed back to the protection and management decision-making level in a timely manner, which constitutes an obstacle to the in-depth development of scientific research. Therefore, how to determine an efficient monitoring method has become a technical problem that technicians in this field need to solve urgently. Summary of the invention
[0004] In response to the above-mentioned defects, an embodiment of the present invention discloses a method for intelligently identifying individual pangolin scales, which can improve the accuracy and timeliness of pangolin identification.
[0005] The first aspect of the embodiment of the present invention discloses a method for intelligently identifying pangolin scale individuals, comprising:
[0006] When the trigger mechanism is detected, the monitoring camera set in the corresponding monitoring area is started to shoot the corresponding monitoring screen to obtain a monitoring screen image, and the monitoring screen image is preprocessed;
[0007] Inputting the monitoring screen image after the preprocessing operation into a pre-built target detection model to perform target detection to determine the target detection areas corresponding to all pangolins appearing in the monitoring screen image, and cutting out the pangolin image according to all detected target detection areas;
[0008] Inputting the pangolin images into a feature extractor to extract feature vectors corresponding to each pangolin image;
[0009] Perform feature matching on the feature vector corresponding to the extracted pangolin image and the pangolin feature database to determine whether the corresponding pangolin image is a known pangolin individual;
[0010] If the pangolin is a known individual, the individual identifier of the corresponding pangolin is obtained, a new piece of monitoring information is generated according to the individual identifier, and data association is performed between the monitoring information and the individual identifier, wherein the monitoring information includes one or more of location information, time information, and environmental condition information of the corresponding pangolin;
[0011] If it is a new pangolin individual, a new individual marker is generated and the feature vector of the new pangolin individual is recorded, and the pangolin feature database is updated according to the feature vector of the new pangolin individual.
[0012] As an optional implementation manner, in the first aspect of the embodiment of the present invention, the target detection model is obtained by the following steps:
[0013] Acquire a sample training set, the sample training set comprising pangolin sample images; and divide the sample training set into a training set, a validation set, and a test set;
[0014] Performing a preprocessing operation on the pangolin sample image;
[0015] Input the pangolin sample images that have undergone preprocessing operations into the target detection model with completed parameter configuration for training and parameter configuration adjustment until the corresponding target detection model meets the training requirements, and save the current optimal model parameters;
[0016] After the pangolin sample image that has undergone the preprocessing operation is input into the target detection model with completed parameter configuration for training and parameter configuration adjustment, the following also includes
[0017] Use the trained object detection model to predict the pangolin test images in the test set and obtain the predicted category of each pangolin test image;
[0018] Generate a category confusion matrix based on the prediction results of the target detection model and the actual annotations; the rows of the category confusion matrix represent the actual categories, and the columns represent the predicted categories;
[0019] Calculating overall performance indicators of the target detection model according to the category confusion matrix, wherein the overall performance indicators include accuracy, precision, recall rate and F1 score;
[0020] The target detection model is adjusted and optimized according to the analysis results of the type confusion matrix.
[0021] As an optional implementation, in the first aspect of the embodiment of the present invention, the preprocessing operation on the pangolin sample image includes:
[0022] Applying an automated script to detect the image resolution of the pangolin sample image, if the image resolution meets the model input requirements;
[0023] Performing denoising processing on the pangolin sample image;
[0024] Adjusting the contrast and brightness in the pangolin sample image according to preset pangolin display features;
[0025] Performing image cropping and image rotation correction operations on the pangolin sample image;
[0026] Correcting the pangolin sample image according to a color correction algorithm, wherein the color correction algorithm includes white balance, color enhancement, and color consistency;
[0027] Performing a sharpening operation on the pangolin sample image;
[0028] After the pangolin sample image is preprocessed, the method further includes:
[0029] Performing an image rotation operation on the pangolin sample image to obtain pangolin sample images in multiple directions;
[0030] Flipping the pangolin sample image to obtain a pangolin sample image in a mirror image direction;
[0031] Adjust the corresponding pangolin size in the pangolin sample image to obtain pangolins at different shooting distances;
[0032] Adjust the brightness and contrast of the pangolin sample images to obtain pangolin sample images under different lighting conditions;
[0033] The pangolin sample images are processed by a color jittering algorithm to obtain pangolin sample images with different color expressions under different ambient lighting conditions;
[0034] Use image synthesis technology to obtain new pangolin sample images;
[0035] Record the transformation parameters of each enhanced image.
[0036] As an optional implementation, in the first aspect of the embodiment of the present invention, after generating a new individual identifier and recording a feature vector of a new pangolin individual, the method further includes:
[0037] Calculate the Euclidean distance from the feature vector of the new pangolin individual to the center point of each category in the clustering algorithm model according to the distance calculation formula;
[0038] The final classification center to which the feature vector of the corresponding pangolin individual belongs is determined according to the principle of minimum Euclidean distance value, and the corresponding clustering result is determined according to the final classification center.
[0039] As an optional implementation, in the first aspect of the embodiment of the present invention, after generating a new individual identifier and recording a feature vector of a new pangolin individual, the method further includes:
[0040] Extracting characteristic information of pangolins from individual identification results;
[0041] The extracted characteristic information of pangolins is input into a pre-built classification model for species identification to predict the species of new pangolin individuals, and the corresponding species identification result is output, wherein the species identification result includes the predicted species and confidence.
[0042] As an optional implementation, in the first aspect of the embodiment of the present invention, after generating a new individual identifier and recording a feature vector of a new pangolin individual, the method further includes:
[0043] According to the nail plate segmentation model, the nail plate image of the identified pangolin individual is segmented to obtain the corresponding nail plate part image;
[0044] Performing feature extraction on the segmented nail plate part image to obtain corresponding nail plate part features, and performing feature type recognition on the nail plate part features to determine a nail plate type result of the corresponding nail plate part features, wherein the nail plate type result is a head nail plate type, a body nail plate type, or a tail nail plate type;
[0045] Recording the results of nail plate part recognition, wherein the results of nail plate part recognition include nail plate type results and nail plate position information;
[0046] The nail plate part database is updated according to the nail plate part recognition result and the nail plate part feature.
[0047] As an optional implementation, in the first aspect of the embodiment of the present invention, after inputting the monitoring screen image captured by the monitoring camera into a pre-built target detection model for target detection to determine the target detection area corresponding to all pangolins appearing in the monitoring screen image, it also includes:
[0048] Get all the detection box information obtained by the target detection model, including the location information and detection confidence;
[0049] Sorting all the detection frame information according to the detection confidence, and taking the detection frame with the highest confidence in the sorted list as the reference frame information currently being processed;
[0050] Calculate the intersection-and-union ratio value between the reference frame information and all other detection frame information, and if the intersection-and-union ratio value exceeds a first set threshold, remove the corresponding detection frame from the list or mark it as suppressed, until all detection frames are processed to obtain a target detection list;
[0051] Matching the target detection list according to a set confidence threshold, if the detection confidence of the corresponding detection box in the target detection list is lower than the confidence threshold, removing the corresponding detection box information from the target detection list;
[0052] All test result information is displayed according to the test confidence.
[0053] A second aspect of an embodiment of the present invention discloses an intelligent identification system for pangolin scale individuals, comprising:
[0054] Image acquisition module: when the trigger mechanism is detected, the monitoring camera set in the corresponding monitoring area is started to shoot the corresponding monitoring screen to obtain the monitoring screen image, and the monitoring screen image is preprocessed;
[0055] Target detection module: used for inputting the monitoring screen image after preprocessing operation into a pre-built target detection model to perform target detection to determine the target detection areas corresponding to all pangolins appearing in the monitoring screen image, and cropping the pangolin image according to all detected target detection areas;
[0056] Feature extraction module: used for inputting the pangolin image into a feature extractor to extract feature vectors corresponding to each pangolin image;
[0057] Feature matching module: used to perform feature matching between the feature vector corresponding to the extracted pangolin image and the pangolin feature database to determine whether the corresponding pangolin image is a known pangolin individual;
[0058] The first processing module is used for obtaining the individual identifier of the corresponding pangolin individual if the pangolin individual is known, generating a new monitoring information according to the individual identifier, and performing data association between the monitoring information and the individual identifier, wherein the monitoring information includes one or more of the location information, time information, and environmental condition information of the corresponding pangolin;
[0059] The second processing module is used to generate a new individual identifier and record the feature vector of the new pangolin individual if it is a new pangolin individual, and update the pangolin feature database according to the feature vector of the new pangolin individual.
[0060] A 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 method for intelligent identification of pangolin scale individuals disclosed in the first aspect of the embodiment of the present invention.
[0061] 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 method for intelligently identifying individual pangolin scales disclosed in the first aspect of an embodiment of the present invention.
[0062] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0063] The method for intelligently identifying pangolin scale individuals in the embodiment of the present invention realizes the real-time capture and precise tracking of pangolin activities through efficient and accurate monitoring and identification technology combined with individual-level feature matching and data management, which not only improves the scientificity and accuracy of ecological research, but also promotes the effective protection of endangered species such as pangolins. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] 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.
[0065] Figure 1 It is a schematic diagram of the process of the method for intelligently identifying pangolin scale individuals disclosed in an embodiment of the present invention;
[0066] Figure 2 is a schematic diagram of a flow chart of sample data collection disclosed in an embodiment of the present invention;
[0067] Figure 3 is a flowchart of the image preprocessing steps disclosed in an embodiment of the present invention;
[0068] Figure 4 is a flow chart of the sample data enhancement step disclosed in the embodiment of the present invention;
[0069] Figure 5 It is a flowchart of the model training preparation steps disclosed in the embodiment of the present invention;
[0070] Figure 6 It is a flowchart of the model training steps disclosed in the embodiment of the present invention;
[0071] Figure 7 is a flow chart of the model evaluation steps disclosed in the embodiment of the present invention;
[0072] Figure 8 is a schematic flow chart of the individual identification step disclosed in the embodiment of the present invention;
[0073] Fig. 9 is a flow chart of the type identification step disclosed in the embodiment of the present invention;
[0074] Fig.10 It is a schematic diagram of the process of nail plate part recognition disclosed in an embodiment of the present invention;
[0075] Fig.11 It is a structural schematic diagram of a pangolin scale individual intelligent identification system provided by an embodiment of the present invention;
[0076] Fig.12 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0077] 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.
[0078] 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.
[0079] First, a huge amount of image and video data is piled up, and it depends on scientific researchers to screen them one by one, which is not only inefficient, but also very easy to cause information omissions or misjudgments due to human factors, which greatly restricts the accuracy and timeliness of monitoring data. Secondly, due to the remote geographical location and inconvenient transportation, the scientific research team often needs a long interval to collect data in person on site. This time lag makes it difficult for pangolins to timely feedback their activities to the protection and management decision-making level, which constitutes an obstacle to the in-depth development of scientific research. Based on this, the embodiment of the present invention discloses an intelligent identification method, system, electronic device and storage medium for pangolin scale individuals. Through efficient and accurate monitoring and identification technology, combined with individual-level feature matching and data management, it realizes the real-time capture and accurate tracking of pangolin activities, which not only improves the scientificity and accuracy of ecological research, but also promotes the effective protection of endangered species such as pangolins.
[0080] Embodiment 1
[0081] See also Figure 1 , Figure 1 It is a flow chart of the method for intelligent identification of pangolin scale individuals 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 and Figure 8 As shown, the method for intelligent identification of pangolin scale individuals includes the following steps:
[0082] S101: when the trigger mechanism is detected, a monitoring camera set in a corresponding monitoring area is started to shoot a corresponding monitoring screen to obtain a monitoring screen image, and a pre-processing operation is performed on the monitoring screen image;
[0083] S102: Inputting the monitoring screen image after the preprocessing operation into a pre-built target detection model to perform target detection to determine the target detection areas corresponding to all pangolins appearing in the monitoring screen image, and cropping the pangolin image according to all detected target detection areas;
[0084] S103: inputting the pangolin images into a feature extractor to extract feature vectors corresponding to each pangolin image;
[0085] S104: performing feature matching on the feature vector corresponding to the extracted pangolin image and the pangolin feature database to determine whether the corresponding pangolin image is a known pangolin individual;
[0086] S105: If the pangolin is a known individual, obtain an individual identifier of the corresponding pangolin individual, generate a new piece of monitoring information according to the individual identifier, and associate the monitoring information with the individual identifier, wherein the monitoring information includes one or more of location information, time information, and environmental condition information of the corresponding pangolin;
[0087] S106: If it is a new pangolin individual, a new individual marker is generated and a feature vector of the new pangolin individual is recorded, and the pangolin feature database is updated according to the feature vector of the new pangolin individual.
[0088] The solution of the embodiment of the present invention realizes efficient real-time monitoring of the monitoring area through the linkage between the trigger mechanism and the monitoring camera. Once the trigger mechanism is activated, the camera immediately starts shooting and quickly captures the monitoring picture, providing a timely and accurate data source for subsequent target detection.
[0089] Using the pre-built target detection model, it can accurately identify the target detection area corresponding to the pangolin in the monitoring screen image and crop the pangolin image accordingly. This step greatly improves the accuracy and efficiency of monitoring and reduces the interference of non-target objects.
[0090] The solution of the embodiment of the present invention extracts the feature vector of the pangolin image through a feature extractor, and performs feature matching with the pangolin feature database, thereby realizing intelligent identification of pangolin individuals. This process not only improves the accuracy of identification, but also realizes the rapid tracking and recording of known pangolin individuals. For the identified pangolin individuals, the system can obtain their individual identifiers, and generate monitoring information containing information such as location, time, and environmental conditions based on this, thereby realizing comprehensive recording and personalized management of pangolin activities. This management method helps scientific researchers to have a deeper understanding of the living habits and migration patterns of pangolins. For newly discovered pangolin individuals, the system can automatically generate new individual markers and record their feature vectors, thereby realizing real-time updating of the pangolin feature database. This function enhances the scalability and adaptability of the system and ensures the integrity and accuracy of the monitoring data. The overall process provides strong technical support for the ecological protection of wild animals such as pangolins. Through real-time monitoring and data analysis, scientific researchers can better understand the number, distribution, health status and other information of pangolin populations, providing a scientific basis for formulating effective protection strategies.
[0091] More preferably, the target detection model is obtained through the following steps:
[0092] S1021: Acquire a sample training set, the sample training set including pangolin sample images; and divide the sample training set into a training set, a validation set, and a test set;
[0093] S1022: performing a preprocessing operation on the pangolin sample image;
[0094] S1023: inputting the pangolin sample image that has undergone the preprocessing operation into the target detection model with completed parameter configuration for training and parameter configuration adjustment until the corresponding target detection model meets the training requirements, and saving the current optimal model parameters;
[0095] like Figure 5 As shown in the figure, model training preparation is required before model training. Specifically, YOLOv8 can be selected as the target detection model and model parameters can be configured; loss function is designed, with special emphasis on the recognition of pangolin features; the data set is divided into training set, validation set and test set, and the original data set is divided in proportion: the ratio between training set, validation set and test set is determined to be 80% training set, 10% validation set and 10% test set; training parameters are set, including learning rate, batch size and training cycle; computing resources are prepared, including GPU and storage devices, model weights are initialized, pre-trained weights or random initialization is selected, model training environment is configured, necessary software and dependencies are installed, training scripts are written, training process is automated, model saving strategy is set, model weights during training are saved regularly, training process is monitored, and key indicators such as loss and accuracy are recorded.
[0096] After the above training data is prepared, model training can be started; in the embodiment of the present invention, the data set is divided into 80% training set, 10% validation set, and 10% test set to ensure that the model has enough data for training, while retaining enough validation set and test set to evaluate the generalization ability of the model. This division ratio helps to find problems in time and adjust the model during the training process, while ensuring the reliability of the final evaluation results.
[0097] like Figure 6As shown in the figure, it includes loading training data and preprocessed images; initializing the YOLOv8 model, configuring model layers and parameters, performing model training, and using training data for forward propagation and backpropagation; applying regularization techniques, such as dropout or L2 regularization, to prevent overfitting; adjusting the learning rate, using learning rate decay or periodic adjustment strategies; evaluating model performance on the validation set, using accuracy and loss as indicators; saving the best model and selecting the best model based on the performance on the validation set; analyzing the changes in loss and accuracy during model training and identifying training problems; applying an early stopping strategy to stop training when the validation set performance no longer improves; and recording training logs, including model parameters, training loss, and validation set performance.
[0098] After the pangolin sample image that has undergone the preprocessing operation is input into the target detection model with completed parameter configuration for training and parameter configuration adjustment, the following also includes
[0099] Use the trained object detection model to predict the pangolin test images in the test set and obtain the predicted category of each pangolin test image;
[0100] Generate a category confusion matrix based on the prediction results of the target detection model and the actual annotations; the rows of the category confusion matrix represent the actual categories, and the columns represent the predicted categories;
[0101] Calculating overall performance indicators of the target detection model according to the category confusion matrix, wherein the overall performance indicators include accuracy, precision, recall rate and F1 score;
[0102] The target detection model is adjusted and optimized according to the analysis results of the type confusion matrix.
[0103] When implementing the model, the confusion matrix can be used to analyze the performance of the model in different categories. For example, by observing the off-diagonal elements in the confusion matrix (i.e., the number of samples with incorrect predictions), we can identify which categories are easily confused, analyze the possible reasons, and take corresponding improvement measures. According to the analysis results of the confusion matrix, the model can be adjusted and optimized. For example, for categories with more serious confusion, the number of samples can be increased or the model parameters can be adjusted to improve recognition performance.
[0104] For species with a small number of samples, you can also consider using data enhancement technology to increase the number of samples to improve the model's recognition ability for the species. You can further configure the corresponding training set for different recognition results, and optimize the specific training set through different aspects of data enhancement, thereby completing the optimization of the corresponding model.
[0105] After the model training is completed, model evaluation is required; Figure 7As shown in the figure, when evaluating the robustness of the model, the performance changes under different environmental conditions are analyzed. The environmental conditions considered here include: lighting changes: different light intensities and light directions may affect the model's ability to recognize the target; weather conditions: rain, snow, fog and other weather conditions may reduce the visibility of the image, thereby affecting the performance of the model; seasonal changes: background and color changes in different seasons may affect the recognition ability of the model; time changes: the transition from day to night, or the difference in lighting at different time periods, may affect the detection effect of the model; occlusion and interference: in a complex environment, the target object may be Partial or complete occlusion by other objects affects detection accuracy; motion blur: fast-moving objects may cause image blur, affecting the recognition ability of the model; resolution and scale changes: input images of different resolutions or target objects of different sizes may affect the detection performance of the model; image quality: factors such as image noise level and compression artifacts may also affect the performance of the model; human factors: operations such as image editing and image enhancement may change the original features of the image and affect the recognition of the model; environmental background: different background environments, such as hills, forests, trees, indoors, etc., may have differences in features that may affect the performance of the model. More accurate target recognition can be achieved by considering the impact of various environmental conditions on the results.
[0106] More preferably, Figure 2 and Figure 3 As shown, the preprocessing operation on the pangolin sample image includes:
[0107] Applying an automated script to detect the image resolution of the pangolin sample image, if the image resolution meets the model input requirements;
[0108] Performing denoising processing on the pangolin sample image;
[0109] Adjusting the contrast and brightness in the pangolin sample image according to preset pangolin display features;
[0110] Performing image cropping and image rotation correction operations on the pangolin sample image;
[0111] Correcting the pangolin sample image according to a color correction algorithm, wherein the color correction algorithm includes white balance, color enhancement, and color consistency;
[0112] Performing a sharpening operation on the pangolin sample image;
[0113] The above steps have the following advantages: First, improve image quality: through denoising, the noise in the image can be effectively removed, the interference factors in the image can be reduced, and the clarity of the image can be improved. The application of color correction algorithms (such as white balance, color enhancement and color consistency) can adjust the color of the image to make it closer to the color of the real world, while enhancing the visual effect of the image and making the features of the pangolin more distinct. Second, optimize image features: adjust the contrast and brightness of the image according to the preset pangolin display features, which can highlight the key features of the pangolin, such as scales, texture, etc., which helps the model to more accurately identify the pangolin. The image cropping operation can remove unnecessary background information in the image, so that the model can focus more on the pangolin itself and improve the accuracy of recognition. The image rotation correction operation can ensure that the pangolin in the image is in the correct direction to avoid recognition errors caused by incorrect image orientation. Third, improve model training efficiency: preprocessing on the premise that the image resolution meets the model input requirements can avoid the problem of low model training efficiency or inability to train due to image resolution mismatch. The sharpening operation can enhance the edge information of the image, making the outline of the pangolin clearer, and helping the model learn the characteristics of the pangolin faster during training. Fourth, enhance the generalization ability of the model: Through the above preprocessing operations, the images input to the model can be more standardized and normalized, reducing the fluctuation of model performance caused by differences in image quality. This helps to improve the generalization ability of the model, so that it can maintain a good recognition effect when facing pangolin images of different qualities.
[0114] like Figure 4 As shown, after the pangolin sample image is preprocessed, the method further includes:
[0115] Performing an image rotation operation on the pangolin sample image to obtain pangolin sample images in multiple directions;
[0116] Flipping the pangolin sample image to obtain a pangolin sample image in a mirror image direction;
[0117] Adjust the corresponding pangolin size in the pangolin sample image to obtain pangolins at different shooting distances;
[0118] Adjust the brightness and contrast of the pangolin sample images to obtain pangolin sample images under different lighting conditions;
[0119] The pangolin sample images are processed by a color jittering algorithm to obtain pangolin sample images with different color expressions under different ambient lighting conditions;
[0120] Use image synthesis technology to obtain new pangolin sample images;
[0121] Record the transformation parameters of each enhanced image.
[0122] The above series of preprocessing and enhancement operations on pangolin sample images are aimed at improving the diversity and robustness of image data so as to achieve better performance in subsequent image analysis, recognition or machine learning models. These operations and their corresponding technical effects can be elaborated in detail as follows: First, image rotation operation. By rotating the image, pangolin sample images in multiple directions can be generated. This helps the model learn the characteristics of objects at different perspectives and improves the robustness of the model to changes in the direction of the object. This feature is particularly important in the fields of wildlife protection and ecological monitoring, because the postures and directions of animals in the natural environment are diverse. Second, image flipping. Image flipping can generate pangolin sample images in mirror directions, which also helps to increase the diversity of the data set. In machine learning, this operation can enhance the model's understanding of left-right symmetry and improve the generalization ability of the model. Third, adjust the size of the pangolin. By adjusting the size of the pangolin in the image, images at different shooting distances are simulated. This helps the model learn the ability to recognize target objects at different scales, especially in scenes where the size of the target object varies greatly, such as long-distance monitoring or wildlife photography. Fourth, adjust the brightness and contrast. Adjusting the brightness and contrast of the image can simulate images under different lighting conditions, which is crucial to improving the recognition performance of the model under different lighting environments. In the wild environment, the lighting conditions are often complex and changeable, so this operation is of great significance to improving the practicality and reliability of the model. Fifth, the color jitter algorithm. The color jitter algorithm further increases the diversity of image data by simulating the color performance under different ambient lighting. This helps the model learn the changing laws of the color of objects under different lighting conditions and improves the model's adaptability and accuracy to color changes. Sixth, image synthesis technology. Image synthesis technology can be used to generate new pangolin sample images that combine the features of multiple source images. This technology is very useful in data enhancement because it can create richer and more diverse image data than the original data set, which helps to improve the generalization ability and recognition accuracy of the model. Seventh, record the transformation parameters. Recording the transformation parameters of each of the above-mentioned enhanced images helps to trace the generation process of each enhanced image in subsequent data processing or model training. This is of great significance for the maintenance and update of the data set and the debugging and optimization of model performance. The above data enhancement does not exist alone. It can be combined with the model training evaluation results to perform data enhancement in a specific direction.
[0123] More preferably, after generating a new individual identifier and recording the feature vector of the new pangolin individual, the method further includes:
[0124] Calculate the Euclidean distance from the feature vector of the new pangolin individual to the center point of each category in the clustering algorithm model according to the distance calculation formula;
[0125] The final classification center to which the feature vector of the corresponding pangolin individual belongs is determined according to the principle of minimum Euclidean distance value, and the corresponding clustering result is determined according to the final classification center.
[0126] In the embodiment of the present invention, a clustering algorithm model can be applied to classify the corresponding new pangolin individuals. The steps of analyzing the pangolin image feature vector using the clustering algorithm are as follows:
[0127] Data preprocessing: remove incomplete, erroneous or abnormal data samples; scale all features to the same scale to avoid certain features dominating the clustering process.
[0128] Feature extraction, automatically extract relevant features from pangolin images, such as color histogram, texture features (such as gray-level co-occurrence matrix GLCM), shape descriptors (such as Hu moment), etc. These features should be able to reflect the differences between different pangolin species.
[0129] Select a clustering algorithm and select K-means as the clustering algorithm. Determine the number of clusters (K value) and use the elbow rule, silhouette coefficient, or other methods to determine the optimal number of clusters K. Elbow rule: Observe the curve of the sum of squares within the cluster (SSE) changing with the K value, and select the inflection point where the SSE begins to drop sharply as the K value. Silhouette coefficient: Calculate the silhouette coefficient of each sample and select the K value that maximizes the average silhouette coefficient.
[0130] Perform K-means clustering, Initialization: Randomly select K sample points as the initial cluster centers, or use the K-means++ algorithm for a smarter initialization. Iterative process: Assign: Assign each sample to the nearest cluster center. Update: Recalculate the cluster center of each cluster (usually the mean of all points in the cluster). Repeat: Repeat the assignment and update steps until the change in cluster center is very small or the preset number of iterations is reached.
[0131] Evaluate the clustering effect, using internal evaluation indicators (such as SSE, silhouette coefficient, Davies-Bouldin index) to evaluate the clustering effect. Visualize the clustering results, such as using scatter plots or t-SNE / PCA dimensionality reduction plots to intuitively evaluate the rationality of clustering.
[0132] Label assignment and verification: If there is known label data (i.e. the real label of the pangolin species), the clustering results can be compared with the real labels, and indicators such as precision and recall can be calculated to evaluate the accuracy of clustering. If there is no label, domain experts are required to manually check the clustering results and assign corresponding pangolin species labels to each cluster based on feature differences.
[0133] Feature interpretation: Analyze the center or representative features of each cluster to understand the feature differences between different clusters, which helps to understand the differences between different pangolin species. Iterative optimization: Based on the clustering results and evaluation feedback, it may be necessary to return and adjust the feature extraction method, clustering algorithm parameters, or select other clustering algorithms.
[0134] Clustering algorithms can help researchers explore potential patterns and structures in pangolin image datasets. Through clustering, similar image samples can be grouped together to form different clusters, which may reflect natural groupings or potential pangolin species in the data. Although clustering itself is unsupervised, the clustering results can be used as input or auxiliary information for supervised classification algorithms. For example, clustering results can be used to initialize classifier parameters or as a basis for feature selection to improve the performance of classification models. In pangolin species identification, clustering can help researchers identify which features are most important for distinguishing different species. Clustering algorithms can also be used to detect outliers or noise points in a dataset. In the pangolin image dataset, there may be some abnormal samples caused by poor image quality, poor lighting conditions, or shooting angle problems. Through clustering, these abnormal samples can be identified and excluded to improve the accuracy of subsequent analysis.
[0135] More preferably, after generating a new individual identifier and recording the feature vector of the new pangolin individual, the method further includes:
[0136] Extracting characteristic information of pangolins from individual identification results;
[0137] The extracted characteristic information of pangolins is input into a pre-built classification model for species identification to predict the species of new pangolin individuals, and the corresponding species identification result is output, wherein the species identification result includes the predicted species and confidence.
[0138] As shown in 9, specifically, the features of pangolins are extracted from the individual identification results; the species of pangolins are identified using a deep learning classification model; the classification model is trained, including data annotation and model selection; the species identification data set is divided to create a training set and a validation set; the classification model is trained and the training set is used for model learning; the performance of the classification model is evaluated on the validation set; the classification model parameters are adjusted to optimize the model accuracy and recall rate; the classification model is applied to predict the species of pangolins in new images; the species identification results are recorded, including the predicted species and confidence level; and the species identification results are manually reviewed and corrected.
[0139] More preferably, after generating a new individual identifier and recording the feature vector of the new pangolin individual, the method further includes:
[0140] According to the nail plate segmentation model, the nail plate image of the identified pangolin individual is segmented to obtain the corresponding nail plate part image;
[0141] Performing feature extraction on the segmented nail plate part image to obtain corresponding nail plate part features, and performing feature type recognition on the nail plate part features to determine a nail plate type result of the corresponding nail plate part features, wherein the nail plate type result is a head nail plate type, a body nail plate type, or a tail nail plate type;
[0142] Recording the results of nail plate part recognition, wherein the results of nail plate part recognition include nail plate type results and nail plate position information;
[0143] The nail plate part database is updated according to the nail plate part recognition result and the nail plate part feature.
[0144] like Fig.10 As shown, specifically, the image of the nail plate part of the identified pangolin individual is segmented; the deep learning segmentation model is applied to identify the boundaries of the nail plate part; the segmentation model is trained, and the labeled nail plate part images are used as training data; the performance of the segmentation model is evaluated on an independent validation set; the segmentation model parameters are adjusted to improve the accuracy of nail plate part identification; the segmentation model is applied to identify the nail plate parts in the new image; the features of the nail plate parts are extracted and classified and labeled; the nail plate part identification results are recorded, including the part type and location information; the nail plate part identification results are manually reviewed to ensure the accuracy of the identification; and the nail plate part database is updated, including the newly identified parts and their feature information.
[0145] More preferably, after inputting the monitoring screen image captured by the monitoring camera into a pre-built target detection model to perform target detection to determine the target detection areas corresponding to all pangolins appearing in the monitoring screen image, the method further includes:
[0146] Get all the detection box information obtained by the target detection model, including the location information and detection confidence;
[0147] Sorting all the detection frame information according to the detection confidence, and taking the detection frame with the highest confidence in the sorted list as the reference frame information currently being processed;
[0148] Calculate the intersection-and-union ratio value between the reference frame information and all other detection frame information, and if the intersection-and-union ratio value exceeds a first set threshold, remove the corresponding detection frame from the list or mark it as suppressed, until all detection frames are processed to obtain a target detection list;
[0149] Matching the target detection list according to a set confidence threshold, if the detection confidence of the corresponding detection box in the target detection list is lower than the confidence threshold, removing the corresponding detection box information from the target detection list;
[0150] All test result information is displayed according to the test confidence.
[0151] The solution of the embodiment of the present invention obtains all the detection frame information output by the target detection model and sorts them based on the detection confidence, ensuring that the detection frames with high confidence are processed first. This processing method helps to reduce false detections and missed detections, because the detection frames with high confidence are more likely to represent real pangolin targets.
[0152] The solution of the embodiment of the present invention solves the problem that multiple detection frames point to the same target at the same time by calculating the intersection over union (IoU) between the reference frame and other detection frames and setting a first threshold to remove or suppress overlapping detection frames. This step significantly reduces redundant information, so that each pangolin target corresponds to only one optimal detection frame, improving the clarity and accuracy of target detection.
[0153] The solution of the embodiment of the present invention further screens the detection boxes in the target detection list by setting a confidence threshold, and removes the detection boxes with confidence lower than the threshold. This filtering mechanism helps to exclude low-quality detection results caused by noise, occlusion or model uncertainty, and further improves the reliability of target detection.
[0154] The solution of the embodiment of the present invention sorts and displays all the test results according to the test confidence, so that the user can intuitively see which test results are more reliable. This display method not only improves the user experience, but also facilitates subsequent data analysis and processing.
[0155] The method for intelligently identifying pangolin scale individuals in the embodiment of the present invention realizes the real-time capture and precise tracking of pangolin activities through efficient and accurate monitoring and identification technology combined with individual-level feature matching and data management, which not only improves the scientificity and accuracy of ecological research, but also promotes the effective protection of endangered species such as pangolins.
[0156] Embodiment 2
[0157] See also Fig.11 , Fig.11 FIG. 1 is a schematic diagram of the structure of the pangolin scale individual intelligent identification system disclosed in the embodiment of the present invention. Fig.11 As shown, the pangolin scale individual intelligent identification system may include:
[0158] Image acquisition module 21: used for starting the monitoring camera set in the corresponding monitoring area to shoot the corresponding monitoring screen to obtain the monitoring screen image when the trigger mechanism action is detected, and performing preprocessing operation on the monitoring screen image;
[0159] The target detection module 22 is used to input the monitoring screen image after the preprocessing operation into a pre-built target detection model to perform target detection to determine the target detection areas corresponding to all pangolins appearing in the monitoring screen image, and crop the pangolin image according to all detected target detection areas;
[0160] Feature extraction module 23: used for inputting the pangolin image into a feature extractor to extract feature vectors corresponding to each pangolin image;
[0161] Feature matching module 24: used for matching the feature vector corresponding to the extracted pangolin image with the pangolin feature database to determine whether the corresponding pangolin image is a known pangolin individual;
[0162] The first processing module 25 is used for obtaining the individual identifier of the corresponding pangolin individual if the pangolin individual is known, generating a new monitoring information according to the individual identifier, and performing data association between the monitoring information and the individual identifier, wherein the monitoring information includes one or more of the location information, time information, and environmental condition information of the corresponding pangolin;
[0163] The second processing module 26 is used to generate a new individual identifier and record the feature vector of the new pangolin individual if it is a new pangolin individual, and update the pangolin feature database according to the feature vector of the new pangolin individual.
[0164] The method for intelligently identifying pangolin scale individuals in the embodiment of the present invention realizes the real-time capture and precise tracking of pangolin activities through efficient and accurate monitoring and identification technology combined with individual-level feature matching and data management, which not only improves the scientificity and accuracy of ecological research, but also promotes the effective protection of endangered species such as pangolins.
[0165] Embodiment 3
[0166] See also Fig.12 , Fig.12 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. Fig.12 As shown, the electronic device may include:
[0167] A memory 510 storing executable program codes;
[0168] a processor 520 coupled to the memory 510;
[0169] The processor 520 calls the executable program code stored in the memory 510 to execute part or all of the steps in the method for intelligently identifying pangolin scale individuals in the first embodiment.
[0170] 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 method for intelligently identifying pangolin scale individuals in the first embodiment.
[0171] The embodiment of the present invention further discloses a computer program product, wherein when the computer program product is run on a computer, the computer is enabled to execute part or all of the steps in the method for intelligently identifying pangolin scale individuals in the first embodiment.
[0172] 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 is run on a computer, the computer executes part or all of the steps in the method for intelligent identification of pangolin scale individuals in embodiment one.
[0173] 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.
[0174] 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.
[0175] 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.
[0176] 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. The computer software product is stored in a memory and includes several requests to enable a computer device (which can be a personal computer, server or network device, etc., specifically a processor in a computer device) to perform some or all steps of the method described in each embodiment of the present invention.
[0177] 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.
[0178] A person of ordinary skill in the art may understand that part or all of the steps in the various methods of the embodiments may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, the storage medium including 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 programmable 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.
[0179] The above is a detailed introduction to the method, system, electronic device and storage medium for intelligent identification of pangolin scale individuals disclosed in the embodiments of the present invention. Specific examples are used herein 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 those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods 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 intelligently identifying pangolin scale individuals, characterized in that: include: When the trigger mechanism is detected, the monitoring camera set in the corresponding monitoring area is started to shoot the corresponding monitoring screen to obtain a monitoring screen image, and the monitoring screen image is preprocessed; The monitoring screen image after the preprocessing operation is input into the pre-built target detection model for target detection, the target detection areas corresponding to all pangolins appearing in the monitoring screen image are determined, and the pangolin image is cropped according to all the detected target detection areas; the target detection model is obtained by the following steps: Acquire a sample training set, the sample training set comprising pangolin sample images; and divide the sample training set into a training set, a validation set, and a test set; Performing a preprocessing operation on the pangolin sample image; The preprocessing operation on the pangolin sample image includes: Applying an automated script to detect the image resolution of the pangolin sample image, if the image resolution meets the model input requirements; Performing denoising processing on the pangolin sample image; Adjusting the contrast and brightness in the pangolin sample image according to preset pangolin display features; Performing image cropping and image rotation correction operations on the pangolin sample image; Correcting the pangolin sample image according to a color correction algorithm, wherein the color correction algorithm includes white balance, color enhancement, and color consistency; Performing a sharpening operation on the pangolin sample image; Performing an image rotation operation on the pangolin sample image to obtain pangolin sample images in multiple directions; Flipping the pangolin sample image to obtain a pangolin sample image in a mirror image direction; Adjust the corresponding pangolin size in the pangolin sample image to obtain pangolins at different shooting distances; Adjust the brightness and contrast of the pangolin sample images to obtain pangolin sample images under different lighting conditions; The pangolin sample images are processed by a color jittering algorithm to obtain pangolin sample images with different color expressions under different ambient lighting conditions; Use image synthesis technology to obtain new pangolin sample images; Record the transformation parameters of the new pangolin sample image; Input the pangolin sample images that have undergone preprocessing operations into the target detection model with completed parameter configuration for training and parameter configuration adjustment until the corresponding target detection model meets the training requirements, and save the current optimal model parameters; Use the trained object detection model to predict the pangolin test images in the test set and obtain the predicted category of each pangolin test image; Generate a category confusion matrix based on the prediction results of the target detection model and the actual annotations; the rows of the category confusion matrix represent the actual categories, and the columns represent the predicted categories; Calculating overall performance indicators of the target detection model according to the category confusion matrix, wherein the overall performance indicators include accuracy, precision, recall rate and F1 score; And adjusting and optimizing the target detection model according to the analysis results of the type confusion matrix; After inputting the monitoring screen image after the preprocessing operation into the pre-built target detection model to perform target detection and determining the target detection areas corresponding to all pangolins appearing in the monitoring screen image, the method further includes: Get all the detection box information obtained by the target detection model, including the location information and detection confidence; Sorting all the detection frame information according to the detection confidence, and taking the detection frame with the highest confidence in the sorted list as the reference frame information currently being processed; Calculate the intersection-and-union ratio value between the reference frame information and all other detection frame information, and if the intersection-and-union ratio value exceeds a first set threshold, remove the corresponding detection frame from the list or mark it as suppressed, until all detection frames are processed to obtain a target detection list; Matching the target detection list according to a set confidence threshold, if the detection confidence of the corresponding detection box in the target detection list is lower than the confidence threshold, removing the corresponding detection box information from the target detection list; Display all test result information according to the test confidence level; Inputting the pangolin images into a feature extractor to extract feature vectors corresponding to each pangolin image; Perform feature matching on the feature vector corresponding to the extracted pangolin image and the pangolin feature database to determine whether the corresponding pangolin image is a known pangolin individual; If the pangolin is a known individual, the individual identifier of the corresponding pangolin is obtained, a new piece of monitoring information is generated according to the individual identifier, and data association is performed between the monitoring information and the individual identifier, wherein the monitoring information includes one or more of location information, time information, and environmental condition information of the corresponding pangolin; If it is a new pangolin individual, a new individual marker is generated and a feature vector of the new pangolin individual is recorded, and the pangolin feature database is updated according to the feature vector of the new pangolin individual; after the new individual marker is generated and the feature vector of the new pangolin individual is recorded, the method further includes: According to the nail plate segmentation model, the nail plate image of the identified pangolin individual is segmented to obtain the corresponding nail plate part image; Performing feature extraction on the segmented nail plate part image to obtain corresponding nail plate part features, and performing feature type recognition on the nail plate part features to determine a nail plate type result of the corresponding nail plate part features, wherein the nail plate type result is a head nail plate type, a body nail plate type, or a tail nail plate type; Recording the results of nail plate part recognition, wherein the results of nail plate part recognition include nail plate type results and nail plate position information; The nail plate part database is updated according to the nail plate part recognition result and the nail plate part feature.
2. The method for intelligently identifying pangolin scale individuals according to claim 1, characterized in that: After generating a new individual marker and recording the feature vector of the new pangolin individual, the method further includes: Calculate the Euclidean distance from the feature vector of the new pangolin individual to the center point of each category in the clustering algorithm model according to the distance calculation formula; The final classification center to which the feature vector of the corresponding pangolin individual belongs is determined according to the principle of minimum Euclidean distance value, and the corresponding clustering result is determined according to the final classification center.
3. The method for intelligently identifying pangolin scale individuals according to claim 1, characterized in that: After generating a new individual marker and recording the feature vector of the new pangolin individual, the method further includes: Extracting characteristic information of pangolins from individual identification results; The extracted characteristic information of pangolins is input into a pre-built classification model for species identification to predict the species of new pangolin individuals, and the corresponding species identification result is output, wherein the species identification result includes the predicted species and confidence.
4. An intelligent identification system for pangolin scale individuals, characterized in that: include: Image acquisition module: when the trigger mechanism is detected, the monitoring camera set in the corresponding monitoring area is started to shoot the corresponding monitoring screen to obtain the monitoring screen image, and the monitoring screen image is preprocessed; Target detection module: used to input the monitoring screen image after preprocessing operation into the pre-built target detection model to perform target detection, determine the target detection areas corresponding to all pangolins appearing in the monitoring screen image, and crop the pangolin image according to all detected target detection areas; the target detection model is obtained by the following steps: Acquire a sample training set, the sample training set comprising pangolin sample images; and divide the sample training set into a training set, a validation set, and a test set; Performing a preprocessing operation on the pangolin sample image; The preprocessing operation on the pangolin sample image includes: Applying an automated script to detect the image resolution of the pangolin sample image, if the image resolution meets the model input requirements; Performing denoising processing on the pangolin sample image; Adjusting the contrast and brightness in the pangolin sample image according to preset pangolin display features; Performing image cropping and image rotation correction operations on the pangolin sample image; Correcting the pangolin sample image according to a color correction algorithm, wherein the color correction algorithm includes white balance, color enhancement, and color consistency; Performing a sharpening operation on the pangolin sample image; Performing an image rotation operation on the pangolin sample image to obtain pangolin sample images in multiple directions; Flipping the pangolin sample image to obtain a pangolin sample image in a mirror image direction; Adjust the corresponding pangolin size in the pangolin sample image to obtain pangolins at different shooting distances; Adjust the brightness and contrast of the pangolin sample images to obtain pangolin sample images under different lighting conditions; The pangolin sample images are processed by a color jittering algorithm to obtain pangolin sample images with different color expressions under different ambient lighting conditions; Use image synthesis technology to obtain new pangolin sample images; Record the transformation parameters of the new pangolin sample image; Input the pangolin sample images that have undergone preprocessing operations into the target detection model with completed parameter configuration for training and parameter configuration adjustment until the corresponding target detection model meets the training requirements, and save the current optimal model parameters; Use the trained object detection model to predict the pangolin test images in the test set and obtain the predicted category of each pangolin test image; Generate a category confusion matrix based on the prediction results of the target detection model and the actual annotations; the rows of the category confusion matrix represent the actual categories, and the columns represent the predicted categories; Calculating overall performance indicators of the target detection model according to the category confusion matrix, wherein the overall performance indicators include accuracy, precision, recall rate and F1 score; And adjusting and optimizing the target detection model according to the analysis results of the type confusion matrix; After inputting the monitoring screen image after the preprocessing operation into the pre-built target detection model to perform target detection and determining the target detection areas corresponding to all pangolins appearing in the monitoring screen image, the method further includes: Get all the detection box information obtained by the target detection model, including the location information and detection confidence; Sorting all the detection frame information according to the detection confidence, and taking the detection frame with the highest confidence in the sorted list as the reference frame information currently being processed; Calculate the intersection-and-union ratio value between the reference frame information and all other detection frame information, and if the intersection-and-union ratio value exceeds a first set threshold, remove the corresponding detection frame from the list or mark it as suppressed, until all detection frames are processed to obtain a target detection list; Matching the target detection list according to a set confidence threshold, if the detection confidence of the corresponding detection box in the target detection list is lower than the confidence threshold, removing the corresponding detection box information from the target detection list; Display all test result information according to the test confidence level; Feature extraction module: used for inputting the pangolin image into a feature extractor to extract feature vectors corresponding to each pangolin image; Feature matching module: used to perform feature matching between the feature vector corresponding to the extracted pangolin image and the pangolin feature database to determine whether the corresponding pangolin image is a known pangolin individual; The first processing module is used for obtaining the individual identifier of the corresponding pangolin individual if the pangolin individual is known, generating a new monitoring information according to the individual identifier, and performing data association between the monitoring information and the individual identifier, wherein the monitoring information includes one or more of the location information, time information, and environmental condition information of the corresponding pangolin; The second processing module is used for generating a new individual marker and recording the feature vector of the new pangolin individual if the pangolin individual is new, and updating the pangolin feature database according to the feature vector of the new pangolin individual; after generating the new individual marker and recording the feature vector of the new pangolin individual, it also includes: According to the nail plate segmentation model, the nail plate image of the identified pangolin individual is segmented to obtain the corresponding nail plate part image; Performing feature extraction on the segmented nail plate part image to obtain corresponding nail plate part features, and performing feature type recognition on the nail plate part features to determine a nail plate type result of the corresponding nail plate part features, wherein the nail plate type result is a head nail plate type, a body nail plate type, or a tail nail plate type; Recording the results of nail plate part recognition, wherein the results of nail plate part recognition include nail plate type results and nail plate position information; The nail plate part database is updated according to the nail plate part recognition result and the nail plate part feature.
5. 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 method for intelligently identifying pangolin scale individuals according to any one of claims 1 to 3.
6. 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 method for intelligently identifying pangolin scale individuals according to any one of claims 1 to 3.
