Bird category recognition precision improvement method, system and equipment and storage medium
Through the white list, black list and gray list screening mechanism, combined with expert knowledge, the problem of low recognition accuracy of bird recognition models in the wild environment has been solved, rapid iteration and accuracy improvement of recognition results have been achieved, and it can be adapted to birds in ecological areas. Migration-like changes.
Patent Information
- Application Number
- CN202410507635.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-25
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-04-25
AI Technical Summary
The bird category recognition model in the existing technology has low recognition accuracy in complex wild environments. It is affected by background noise and the similarity of bird calls, resulting in low recognition accuracy.
Adopting whitelist, blacklist and graylist screening mechanisms, the whitelist confirms accurate identification results, the blacklist collects incorrect results for model training, and the graylist introduces expert knowledge to confirm new species, quickly iterates and filters out incorrect identification results, and improves identification Accuracy.
By constructing an error sample data set and introducing expert knowledge, the recognition model can be quickly iterated to improve the accuracy of bird category recognition, improve the recognition accuracy in real time, and adapt to changes in bird migration patterns within ecological regions.
Smart Images

Figure CN118588093A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of sound recognition, and in particular relates to a method, system, device and storage medium for improving the accuracy of bird category recognition. Background Art
[0002] In terms of wetland protection, long-term monitoring and recording of birds in nature are carried out to identify bird species in order to study the survival and migration status of species and take appropriate measures to protect endangered species.
[0003] At present, most bird monitoring solutions in smart wetlands are divided into two categories: image recognition and audio recognition. The main solution for audio recognition is to assume a large number of recorders in the protected area to collect audio data of birds in the protected area, and then segment the collected data and manually annotate them as training samples, so that the AI model can learn some important features of bird calls through existing data, including but not limited to frequency, loudness and other information, and then analyze and calculate the audio Mel spectrum through the classifier to determine the specific type of bird sound.
[0004] It can be seen that in the above process, due to the complex wild environment, the large background noise and the certain similarity of the calls of some birds, the recognition accuracy of the recognition model is not high in some specific scenarios. Summary of the invention
[0006] The purpose of the embodiments of the present application is to provide a method for improving the accuracy of bird category recognition, aiming to solve the problem of low accuracy of bird category recognition models in the prior art.
[0007] The embodiment of the present application is implemented as follows: a method for improving the accuracy of bird category recognition, the method comprising: Acquire bird sound or image data; According to the bird recognition model, the recognition result is obtained; Filter the identification results based on the whitelist, blacklist and greylist to obtain treatment measures; The processing measures include: if the recognition result meets the white list, outputting the recognition result as a bird category; if the recognition result meets the black list, collecting the recognition result and adding the recognition result to the training set of the recognition model; if the recognition result meets the gray list, introducing expert knowledge to confirm the recognition result, and adding the recognition result to the white list; The whitelist is the bird categories that are determined to exist in the area within a unit time, the blacklist is the bird categories that are determined not to exist in the area within a unit time, and the graylist is the bird categories in the area within a unit time excluding the whitelist and the blacklist.
[0008] Another object of the embodiment of the present application is to provide a system for improving the accuracy of bird category recognition, the system comprising: A data acquisition module, used for acquiring bird sound or image data; A bird recognition module is used to obtain recognition results according to a bird recognition model; A result screening module is used to screen the recognition results based on a white list, a black list and a gray list to obtain processing measures; wherein the processing measures include: if the recognition result conforms to the white list, outputting the recognition result as a bird category; if the recognition result conforms to the black list, collecting the recognition results and adding the recognition results to the training set of the recognition model; if the recognition result conforms to the gray list, introducing expert knowledge to confirm the recognition result, and adding the recognition result to the white list.
[0009] Another object of an embodiment of the present application is a computer device, comprising a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the method for improving the accuracy of bird category identification.
[0010] Another object of an embodiment of the present application is a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the processor executes the steps of the method for improving the accuracy of bird category identification.
[0011] A method for improving the accuracy of bird category recognition provided in an embodiment of the present application, which obtains bird category recognition results through a bird recognition model, and screens the recognition results through a white list, a black list, and a gray list. The erroneous recognition results filtered out by the black list can be used to construct an erroneous sample data set, which is added to the recognition model training set to quickly iterate the recognition model; through the gray list and the introduction of expert knowledge, new bird species that appear in this ecological area per unit time can be supplemented, and erroneous recognition results can be quickly screened out to improve the accuracy of the recognition results. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 A flowchart of a method for improving the accuracy of bird category recognition provided in an embodiment of the present application; Figure 2 A flow chart of screening white, black and grey lists for bird category identification provided in an embodiment of the present application; Figure 3 An expert identification judgment diagram provided in an embodiment of the present application; Figure 4 A structural block diagram of a device for improving the accuracy of bird category recognition provided in an embodiment of the present application; Figure 5 FIG. 4 is a block diagram of the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0013] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0014] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but unless otherwise specified, these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script.
[0015] like Figure 1 As shown, in one embodiment, a method for improving the accuracy of bird category recognition is proposed, which may specifically include the following steps: Step S102, obtaining bird sound or image data; Step S104, obtaining a recognition result according to the bird recognition model; Step S106, filtering the recognition results based on the white list, the black list and the gray list to obtain processing measures; wherein the processing measures include: if the recognition result meets the white list, outputting the recognition result as a bird category; if the recognition result meets the black list, collecting the recognition results and adding the recognition results to the training set of the recognition model; if the recognition result meets the gray list, introducing expert knowledge to confirm the recognition result, and adding the recognition result to the white list.
[0016] In this embodiment, the image or sound data of the bird can be used as the basis for identification. The bird identification model can be an existing image recognition model or a sound recognition model, for example, a YOLO series target detection model, without specific limitation. The white list is the bird category determined to exist in the area within a unit time, the black list is the bird category determined not to exist in the area within a unit time, and the gray list is the bird category in the area excluding the white list and the black list within a unit time. The unit time can be in months or years. The area is a relatively fixed area, which can be a wetland protection area or an urban park. The bird categories in the white list and the black list can be obtained based on field surveys of the area or based on monitoring data of the area over the years. Screening is to compare the identification results with the white list, the black list and the gray list in turn. If the identification result appears in the corresponding list, the operation of the corresponding list is performed. For example, the bird sound data is obtained, the category of the bird is identified through the sound data, and the corresponding bird is screened in the white list, and the identification result is directly output as the final bird category.
[0017] In one embodiment, Figure 2 As shown, the screening of the identification results based on the whitelist, blacklist and greylist includes the following steps: Step S202, determining whether the bird category is in the whitelist; Step S204, when it is determined that the bird category is in the whitelist, outputting the recognition result as the bird category; Step S206, when it is determined that the bird category is not in the whitelist, determining whether the bird category is in the blacklist; Step S208, when it is determined that the bird category is in the blacklist, collecting the recognition results and adding the recognition results to the training set of the recognition model; Step S210, when it is determined that the bird category is not in the blacklist, determining whether the bird category is in the graylist; Step S212, when the bird category is in the gray list, expert knowledge is introduced to confirm the recognition result, and the recognition result is added to the white list; Step S214, when the bird category is not in the gray list, return to the bird identification model to obtain the identification result.
[0018] In this embodiment, the screening based on the whitelist, blacklist and greylist can be performed in the following manner: First, filter whether the recognition result is in the white list. If it is, output the recognition result as a bird category, which can reflect the accuracy of the recognition model used and provide data support for the migration law of birds in the region. If it is not in the white list, filter the black list. If the recognition result appears in the black list, this recognition result can be eliminated, that is, the recognition result is abandoned. At the same time, the wrong result can be added to the model training data set for iterative model. If the recognition result is in the gray list, expert knowledge can be introduced for judgment. If the recognition result is correct, the bird category of this recognition result can be added to the white list. If the recognition result is not in the gray list, the original bird image and sound data can be combined to jointly judge the bird category through the recognition results of the two aspects. When the bird category of the recognition result is not in the white list, black list, or gray list, you can return to the bird recognition model, perform a new recognition, and re-judge the new recognition result on the white list, black list, and gray list.
[0019] In one embodiment, Figure 3 As shown, the introduction of expert knowledge to confirm the recognition result and transferring the recognition result to the whitelist includes the following steps: Step S302, determining whether the recognition result is correct; Step S304, when the recognition result is correct, output the recognition result and add the recognition result to the whitelist; Step S306: When the recognition result is incorrect, the recognition result is added to the training set of the recognition model.
[0020] In this embodiment, the expert knowledge can be a bird atlas or the conclusions of professionals. Since the common birds in the same area will change accordingly over time, the gray list, black list and white list in this application can be adjusted according to the changes in bird categories within a unit time range in the specified area. For example, a certain area is mainly wintering water birds in winter and mainly resident birds in summer. In this way, the white list in winter includes wintering water birds, and the black list includes summer resident birds. The gray list can be birds in other areas that are not on the white list and black list, that is, birds that may appear in this area, or it can be birds on the white list in autumn. For example, the bird categories on the gray list in December include the bird categories on the white list in November.
[0021] In one embodiment, the white list can be determined by generating a list of bird categories that appear in the area per unit time based on the area address and the ecological environment. The black list can be determined by generating a list of bird categories that do not appear in the area per unit time based on the area address and the ecological environment. The gray list can be determined by generating a list of bird categories that are not in the white list and the black list. The birds in the above lists are all confined to a certain area, so the migration patterns of birds in a region can be well recorded and tracked. The migration of birds in and out of this area can be observed through the gray list, and new species of birds that may appear and migrate in this area can be supplemented.
[0022] like Figure 4 As shown, in one embodiment, a system for improving the accuracy of bird category recognition is provided, the system comprising: A data acquisition module 410 is used to acquire bird sound or image data; A bird identification module 420 is used to obtain an identification result according to a bird identification model; The result screening module 430 is used to screen the recognition results based on a white list, a black list and a gray list; if the recognition result meets the white list, the recognition result is output as a bird category; if the recognition result meets the black list, the recognition result is collected and added to the training set of the recognition model; if the recognition result meets the gray list, expert knowledge is introduced to confirm the recognition result, and the recognition result is added to the white list.
[0023] In this embodiment, the recognition accuracy is improved in real time through the blacklist-based error result filtering strategy and the graylist to whitelist conversion strategy. By establishing an error recognition result data set and adding the error recognition data set to the training set of the recognition model, the model accuracy is improved.
[0024] In one embodiment, the result screening module 510 specifically includes: A white, black and grey list judgment module is used to judge whether the bird category is in the white list; when it is judged that the bird category is in the white list, the recognition result is output as the bird category; When it is determined that the bird category is not in the whitelist, determining whether the bird category is in the blacklist; When it is determined that the bird category is in the blacklist, collecting recognition results and adding the recognition results to a training set of a recognition model; When it is determined that the bird category is not in the blacklist, determining whether the bird category is in the gray list; When the bird category is in the grey list, expert knowledge is introduced to confirm the recognition result, and the recognition result is added to the white list; When the bird category is not in the gray list, return to the bird identification model to obtain an identification result.
[0025] Figure 5 FIG. 2 shows an internal structure diagram of a computer device in one embodiment. Figure 5 As shown, the computer device includes a processor, a memory, a network interface, an input device and a display screen connected through a system bus. Among them, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can implement a method for improving the accuracy of bird category identification. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor can execute a method for improving the accuracy of bird category identification. The display screen of the computer device may be a liquid crystal display or an electronic ink display screen, and the input device of the computer device may be a touch layer covering the display screen, or a button, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.
[0026] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0027] In one embodiment, the bird category recognition accuracy improvement system provided by the present application can be implemented in the form of a computer program. The computer program can be used in the following manner: Figure 5 The computer device shown in the figure is run on the computer device. The memory of the computer device can store various program modules that constitute the bird category identification accuracy improvement system, such as: Figure 4 The data acquisition module, bird identification module and result screening module shown in the figure. The computer program composed of each program module enables the processor to execute the steps of the bird category identification accuracy improvement method of each embodiment of the present application described in this specification.
[0028] In one embodiment, a computer device is provided, the computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the following steps are implemented: Acquire bird sound or image data; According to the bird recognition model, the recognition result is obtained; Filter the identification results based on the whitelist, blacklist and greylist to obtain treatment measures; Among them, the processing measures include: if the recognition result meets the white list, output the recognition result as a bird category; if the recognition result meets the black list, collect the recognition results, and add the recognition results to the training set of the recognition model; if the recognition result meets the gray list, introduce expert knowledge to confirm the recognition result, and add the recognition result to the white list.
[0029] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the processor performs the following steps: Acquire bird sound or image data; According to the bird recognition model, the recognition result is obtained; Filter the identification results based on the whitelist, blacklist and greylist to obtain treatment measures; Among them, the processing measures include: if the recognition result meets the white list, output the recognition result as a bird category; if the recognition result meets the black list, collect the recognition results, and add the recognition results to the training set of the recognition model; if the recognition result meets the gray list, introduce expert knowledge to confirm the recognition result, and add the recognition result to the white list.
[0030] It should be understood that, although each step in the flow chart of each embodiment of the present application is shown in sequence according to the indication of the arrow, these steps are not necessarily performed in sequence according to the order indicated by the arrow. Unless there is clear explanation in this article, the execution of these steps does not have strict order restriction, and these steps can be performed in other orders. Moreover, at least a portion of the steps in each embodiment may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.
[0031] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0032] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0033] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
[0034] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for improving the accuracy of bird category recognition. It is characterized in that The method comprises: Acquire bird sound or image data; According to the bird recognition model, the recognition result is obtained; Filter the identification results based on the whitelist, blacklist and greylist to obtain treatment measures; The processing measures include: if the recognition result meets the white list, outputting the recognition result as a bird category; if the recognition result meets the black list, collecting the recognition result and adding the recognition result to the training set of the recognition model; if the recognition result meets the gray list, introducing expert knowledge to confirm the recognition result, and adding the recognition result to the white list; The whitelist is the bird categories that are determined to exist in the area within a unit time, the blacklist is the bird categories that are determined not to exist in the area within a unit time, and the graylist is the bird categories in the area within a unit time excluding the whitelist and the blacklist.
2. A method for improving the accuracy of bird category recognition according to claim 1, It is characterized in that The step of screening the identification results based on the whitelist, the blacklist and the greylist to obtain treatment measures comprises the following steps: Determine whether the bird category is in the whitelist; When it is determined that the bird category is in the whitelist, outputting the recognition result as the bird category; When it is determined that the bird category is not in the whitelist, determining whether the bird category is in the blacklist; When it is determined that the bird category is in the blacklist, collecting recognition results and adding the recognition results to a training set of a recognition model; When it is determined that the bird category is not in the blacklist, determining whether the bird category is in the gray list; When the bird category is in the grey list, expert knowledge is introduced to confirm the recognition result, and the recognition result is added to the white list; When the bird category is not in the gray list, return to the bird identification model to obtain an identification result.
3. A method for improving the accuracy of bird category recognition according to claim 2, It is characterized in that The step of introducing expert knowledge to confirm the recognition result and transferring the recognition result to the whitelist comprises the following steps: Determining whether the recognition result is correct; When the recognition result is correct, output the recognition result and add the recognition result to the whitelist; When the recognition result is incorrect, the recognition result is added to the training set of the recognition model.
4. A method for improving the accuracy of bird category recognition according to claim 1, It is characterized in that The whitelist is determined as follows: According to the regional address and ecological environment, a list of bird categories that appear in the region per unit time is generated as a whitelist.
5. A method for improving the accuracy of bird category recognition according to claim 1, It is characterized in that The blacklist is determined as follows: According to the regional address and ecological environment, a list of bird categories that do not appear in the region per unit time is generated as a blacklist.
6. A method for improving the accuracy of bird category recognition according to claim 1, It is characterized in that The grey list is determined as follows: A list of bird categories that are not on the white list and the black list is referred to as a grey list.
7. A system for improving the accuracy of bird category recognition, It is characterized in that The system comprises: A data acquisition module, used for acquiring bird sound or image data; A bird recognition module is used to obtain recognition results according to a bird recognition model; A result screening module is used to screen the recognition results based on a white list, a black list and a gray list to obtain processing measures; wherein the processing measures include: if the recognition result conforms to the white list, outputting the recognition result as a bird category; if the recognition result conforms to the black list, collecting the recognition results and adding the recognition results to the training set of the recognition model; if the recognition result conforms to the gray list, introducing expert knowledge to confirm the recognition result, and adding the recognition result to the white list.
8. A system for improving the accuracy of bird category recognition according to claim 7, It is characterized in that The result screening module also includes: A white, black and grey list judgment module is used to judge whether the bird category is in the white list; when it is judged that the bird category is in the white list, the recognition result is output as the bird category; When it is determined that the bird category is not in the whitelist, determining whether the bird category is in the blacklist; When it is determined that the bird category is in the blacklist, collecting recognition results and adding the recognition results to a training set of a recognition model; When it is determined that the bird category is not in the blacklist, determining whether the bird category is in the gray list; When the bird category is in the grey list, expert knowledge is introduced to confirm the recognition result, and the recognition result is added to the white list; When the bird category is not in the gray list, return to the bird identification model to obtain an identification result.
9. A computer device, It is characterized in that It comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the method for improving the accuracy of bird category recognition according to any one of claims 1 to 6.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the steps of the method for improving the accuracy of bird category identification according to any one of claims 1 to 6.
Citation Information
Patent Citations
Visible light / near-infrared spectrum analysis-based incremental wood tree species classification identification method
CN109870421A
Animal species identification method, computer equipment and identification system
CN116912881A
Birdsong identification method and device, computer equipment and storage medium
CN117789731A
Bird feature recognition-based habitat environment adjustment method and system
CN117809662A
Sample training method, classification method, identification method, device, medium, and system
WO2020034126A1
Cited By
Bird feeder-based driving and feeding method, device and equipment and readable medium
CN120580642A
