Apparatus and methods for generating a low resolution representation of an insect sound for classifying insect activity
The method of generating a sound fingerprint from insect sounds and transmitting similarity values over low-power networks addresses the challenge of data-heavy files in remote areas, enabling efficient and accurate insect species classification.
Patent Information
- Application Number
- GB2023010836
- Authority / Receiving Office
- GB · GB
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2022-07-19
- Filing Date
- 2023-07-14
- Publication Date
- 2024-10-30
- Estimated Expiration
- 2043-07-14
AI Technical Summary
Current methods for monitoring insect activity using optical and audio methods result in data-heavy files that require large storage and processing, making it difficult to transmit and analyze in remote areas with limited power and network coverage, while existing compression techniques either require high-power processors or result in data loss.
Generating a sound fingerprint by converting insect sounds into a spectral representation, comparing it with a model library, and transmitting a string of similarity values over low-power networks for classification, allowing for accurate identification of insect species without losing data quality.
Enables efficient transmission and classification of insect sounds over low-power networks, reducing storage and processing needs while maintaining data quality, and allowing for accurate identification of insect species.
Smart Images

Figure 00000001_0000 
Figure 00000002_0000 
Figure 00000003_0000
Abstract
Description
The present techniques relate to apparatus and methods for translating insect sound data into a low resolution representation of the sound, for classification. More particularly, the techniques relate to apparatus and methods for monitoring insect activity and transmitting information about an insect sound, as a simple numerical representation, that enables classification of the insect upon receipt. BACKGROUND It is known that the fundamental frequencies of wingbeats of insect species differ, as well as the profile of higher frequencies in the sound of their wingbeat. Therefore, it is possible to monitor insect activity by detecting wingbeat frequencies and / or other sounds produced by the insects (such as stridulations) and then using the detected sounds to identify and quantify insect diversity and abundance. One method of monitoring insect activity is to employ optical methods to detect and analyse wingbeat frequencies. Another method of monitoring insect activity is to employ audio methods to detect the wingbeat frequencies. However, both optical and audio methods are data-heavy resulting in large optical / audio files which require large amounts of storage space and require large processors for high-accuracy analysis. In addition, it is common to want to monitor insect activity in remote areas which have limited or no power supply and / or limited network coverage. The transmission of large optical / audio files for analysis remotely is very difficult or not possible over a low power wide area network (LPWAN). To address these challenges, current methods take one of a number of approaches: 1. Conduct a lighter-weight analysis at the device to recognise and count species which then enables a simple metric to be transmitted to a remote database. This enables lower cost and battery usage but may sacrifice accuracy and gives no access to the original data input. 2. Transmit spectral or spectrographic information to the cloud for sophisticated analysis. This enables better accuracy and retrieval of the original signal but results in large data and battery usage and limits function to areas with high power data coverage (4G / 5G), and therefore does not serve many remote areas. 3. On-board compression of the data which is then transmitted. However, complex compression techniques are either not possible on low power processors or result in substantial loss to the quality / quantity of data of the compressed file. 4. Physical storage of the sound data and manual retrieval which enables full capture of the data but with the drawback of needing frequent visits to locations. As such, a method for creating a compactified representation of a sound recording that can be transmitted over low power networks and used to classify insects upon receipt would be highly advantageous. The compactified representation may also be used to infer the original sound. SUMMARY OF THE INVENTION According to a first technique, there is provided a method for generating a sound fingerprint from an insect’s sound for transmission to a server. The method comprising: detecting the insect’s sound; generating a spectral representation (spectrum or spectrogram) of the insect’s sound; comparing the spectral representation of the insect’s sound with each entry in a model library, the models library comprising a plurality of entries, each entry comprising a predefined model; determining a similarity value (measure of similarity) for each entry in the models library, the similarity value indicating a level of similarity between the spectral representation of the insect’s sound and the entry in the models library; generating a sound fingerprint comprising the plurality of determined similarity values (a string of numerical values - each value a measure of similarity to one of the models in the library); and transmitting the sound fingerprint to the server. Each sound fingerprint is a unique representation or ‘fingerprint’ of the insect’s sound, different sounds having a different combination of similarity values. Since each sound fingerprint comprises only a string of numbers, it is possible to transmit each sound fingerprint to a remote server over a low bandwidth telecommunications network for classification. According to a second technique, there is provided an insect monitoring device for detecting insect sounds. The insect monitoring device comprising: a sensor for detecting insect sounds; a model library comprising a plurality of predefined models; a processing module configured to generate a spectral representation of the detected insect sound, to compare the spectral representation of the detected insect sound with each of the plurality of predefined models stored in the model library and determine a similarity value for each of the plurality of predefined models when compared with the spectral representation of the detected insect’s sound, and to generate a representation of the sound (a sound fingerprint) comprising the plurality of similarity values; and a communications module configured to transmit the generated sound fingerprint to a server. According to a third technique, there is provided a method of identifying an insect corresponding to a received sound fingerprint. The method comprising: receiving a sound fingerprint, the sound fingerprint comprising a plurality of similarity values; comparing the received sound fingerprint to a plurality of known sound fingerprints, each of the known sound fingerprints associated with a known species of insect and comprising a plurality of similarity values; determining a species identification value for each of the known sound fingerprints, based on the comparison, the species identification value indicating a likelihood of the received sound fingerprint having originated from an insect of the same species as the known sound fingerprint; determining whether the received sound fingerprint corresponds to a known species of insect based on the species identification values; and when the received sound fingerprint does correspond to a known species of insect, identifying the known species of insect. According to a fourth technique, there is provided a server for identifying an insect corresponding to a received sound fingerprint. The server comprising: a communications module configured to receive a sound fingerprint, the sound fingerprint comprising a plurality of similarity values; a storage module comprising a plurality of known sound fingerprints, each of the known sound fingerprints associated with a known species of insect and comprising a plurality of similarity values; and a processing module configured to compare the plurality of similarity values of the received sound fingerprint to the plurality of similarity values of each of the plurality of known sound fingerprints and determine a species identification value for each of the known sound fingerprints based on the comparison, the species identification value indicating a likelihood of the received sound fingerprint originating from the known species of insect associated with each of the known sound fingerprints, to determine from the species identification values whether the received sound fingerprint corresponds to a known species of insect, and when the received sound fingerprint does correspond to a known species of insect, to identify the known species of insect. According to a fifth technique, a library of spectra is maintained associated with every permutation of sound fingerprint possible. In this way an unknown sound sample can be reconstructed in detail by comparing a received sound fingerprint generated from the sound sample to the library of sound fingerprints. It can thus be concluded that the unknown sample has a form highly similar to a known spectral representation associated with a known sound fingerprint. BREIF DESCRIPTION OF THE FIGURES Embodiments will now be described with reference to the accompanying figures of which: Figure 1 illustrates schematically an insect monitoring device and a remote server; Figure 2 is a process flow diagram illustrating schematically a method performed at an insect monitoring device; Figure 3 illustrates schematically an exemplary spectral representation generated from an insect’s sounds; Figures 4A to 4C illustrates schematically three exemplary entries in the model library described herein; Figure 5 illustrates a string of similarity values; Figure 6 illustrates schematically a process of translating an insect’s sounds into a string of similarity values; Figure 7 is a process flow diagram illustrating schematically a method performed at a remote server 200; Figure 8 illustrates schematically exemplary entries in a sound fingerprint library; Figure 9 illustrates part of an exemplary sound fingerprint database, comprising a list of sound samples of insect taxa with their associated numerical string used as a classifier; Figures 10A-10C illustrate schematically a comparison of a received sound fingerprint with known sound fingerprints; and Figures 11A and 11B illustrates schematically a process for inferring features of a received sound fingerprint. DETAILED DESCRIPTION Reference will now be made in detail to the embodiments, examples of which are illustrated in the accompanying figures. In the following detailed description numerous specific details are set forth by way of examples in order to provide a thorough understanding of the relevant teachings. However, it will be apparent to one of ordinary skill in the art that the present teachings may be practiced without these specific details. In other instances, well known methods, procedures, components and / or circuitry have been described at a relatively high-level, without detail, in order to avoid unnecessarily obscuring aspects of the present teachings. The invention comprises an insect monitoring device configured to detect and capture insect sounds (noises created by insects, such as, wingbeats, stridulations etc.). The insect monitoring device converts a recording of the insect sounds (which is a complex waveform) into a spectral representation of the sound e.g., a spectrogram. The spectral representation of the insect sound is compared, at the insect monitoring device, with each entry in a library of models and a similarity value is assigned indicating the similarity between the spectral representation of the insect sound and each entry in the models library. The resultant string of similarity values, referred to herein as a sound fingerprint (a novel representation of the sound), is then transmitted to a server in a data packet. As the sound fingerprint comprises a relatively small string of values, when compared to other digitised representations of the sound recording (e.g., Fourier transform coefficients), the sound fingerprint data packet is much smaller. The sound fingerprint is thus capable of being transmitted over a low power wide area network (LPWAN), which only allows a low bandwidth data stream, to the server. The server is provided with a database comprising a plurality of known sound fingerprints (of wingbeats and / or other noises created by insects). When a sound fingerprint is received from an insect monitoring device, it is compared with the plurality of known sound fingerprints stored in the database and species identification values are generated. Each species identification value represents a likelihood of the received sound fingerprint being created by the known insect of each entry in the database, so that it can be determined from which insect the received sound fingerprint originated. A sound fingerprint does not suffer from a loss of information, in contrast to known data compression strategies that involve subsampling. In addition, the original sound may be inferred from the transmitted sound fingerprint. The Invention also comprises a method of converting a sound recording (for example, of insect sounds) into a representative string of numbers (i.e., a sound fingerprint comprising a string of similarity values) which is capable of being transmitted to a server over a LPWAN, without losing data quality. Figure 1 illustrates schematically an insect monitoring device 100 and a server 200. According to one embodiment, the server 200 is a remote server 200 and may be provided in a cloud-based system. In addition, or alternatively, the insect monitoring device 100 may be a low power insect monitoring device 100 for use in a remote location without easy access to a mains power supply. The insect monitoring device 100 comprises one or more sensors 102, a power supply 104, a storage module 106, a processing module 108, a communications module 110 and a models library 120. Since the insect monitoring device 100 is likely to be situated in a remote location without easy access to a mains power supply, the power supply 104 may comprise a battery and / or a renewable energy source, such as one or more solar panels and / or wind generators. The insect monitoring device 100 is not limited to the specific form of power supply and other forms of power supply may be utilised if available, for example, a mains power supply may be used. The sensors 102 comprise an acoustic sensor 112 for sensing insect sounds, for example a microphone, which may be a MEMS (Micro-electromechanical systems) microphone. The sensors 102 may also comprise environmental sensors, such as a luminosity sensor 114, a temperature sensor 116, a humidity sensor 118 etc., for sensing the local conditions where the insect monitoring device 100 is situated during sensing of the insect sounds and / or at other points in time, if required. The environmental sensors are not limited to being a luminosity sensor 114, a temperature sensor 116, a humidity sensor 118, and other environmental sensors may be used. In addition, the insect monitoring device 100 is not required to comprise environmental sensors. The sensor data from the sensors 102 is provided to the processing module 108 for analysis. The sensor data may be stored temporarily in the storage module 106 prior to processing or may be provided straight to the processing module 108. The insect monitoring device 100 may comprise limited amounts of storage space. Consequently, the sensor data may be stored temporarily in the storage module 106 prior to processing and may then be overwritten when required. The storage module 106 may be in the form of volatile (for example DRAM) or non-volatile (for example FLASH) memory, or a combination of these. Alternatively, the sensor data may be stored in the storage module 106 at the insect monitoring device 100, when the insect monitoring device 100 has the required capacity. The insect monitoring device 100 also comprises a models library 120. The models library 120 stores a plurality of predefined models for use by the processing module 108. Although illustrated as a separate module in Figure 1, the models library 120 may be provided in the storage module 106. Alternatively, the models library 120 may be a separate storage module in the form of volatile (for example DRAM) or non-volatile (for example FLASH) memory, or a combination of these. The processing module 108 may be one or more microprocessors or processing units including, but not limited to, single-core or multi-core processors, or other types of logic or data processing circuitry. The sensor data is processed by the processing module 108 in accordance with executable code stored in the storage module 106. Alternatively, the executable code may be stored in a separate storage module if desired (not illustrated). According to one embodiment, an operator interreacts with the insect monitoring device 100 via a user interface provided at the insect monitoring device 100 (not illustrated). Alternatively, or in addition, an operator may interreact with the insect monitoring device 100 via the server 200. The insect monitoring device 100 may comprise an on / off control as well as various input / output ports if desired. Referring to Figure 1, the server 200 comprises a power supply 204, a storage module 206, a processing module 208, a communications module 210, a sound fingerprint library 212 and a user interface 214. The power supply 204 powers the remote server 200 and may be a mains power supply. The remote server 200 may have a back-up uninterruptible power source (UPS) in case of mains outage. The server 200 is configured to receive data packets from one or more insect monitoring devices 100 via the communications module 210 of the server 200 and the communications module 110 of the insect monitoring device 100. Each insect monitoring device 100 transmits data to and may receive data / instructions from the server 200 over a LPWAN network, such as LoRa®, LoRaWAN®, or other available networks such as 2G, 3G, 4G, 5G, etc. The processing module 208 may be one or more microprocessors or processing units including, but not limited to, single-core or multi-core processors, or other types of logic or data processing circuitry. Data received from one or more insect monitoring devices 100, via the communications module 210 of the remote server 200, is processed by the processing module 208 in accordance with executable code stored in the storage module 206, wherein the processing module 208 is operatively coupled to the storage module 206. The storage module 206 may be in the form of volatile (for example DRAM) or non-volatile (for example FLASH) memory, or a combination of these. Alternatively, the executable code may be stored in a separate storage module if desired (not illustrated). The sound fingerprint library 212 stores a database of sound fingerprints and may be in the form of volatile (for example DRAM) or non-volatile (for example FLASH) memory, or a combination of these. Although illustrated as a separate module in Figure 1, the sound fingerprint library 212 may be provided in the storage module 206 if desired. According to one embodiment, an operator interreacts with the remote server 200 via the user interface 214, such as a conventional computer screen, keyboard, and mouse, and / or other interfaces such as a touch screen etc. Figure 2 is a process flow diagram illustrating schematically a method performed at the insect monitoring device 100 described herein. At step S101, insect sounds (for example, insect wingbeats) are detected by the acoustic sensor 112 and a sound file, which is a sound recording of the insect sounds, is generated. According to one embodiment, in order to conserve power, the processing module 108 is powered down when not required. However, the processing module 108 is activated when a sound, within a defined frequency and volume range, indicating that the sound is likely to be an insect sound, is detected by the acoustic sensor 112. When the processing module 108 is activated, the sound is recorded, and a sound file generated. The sound file is processed, by the processing module 108, as necessary for the specific application, by methods including, but not limited to, filtering the sound file using a range of frequency band pass filters and selective amplification of specific frequency components of the sound file at step S102 to identify the audio features. At step S103, a spectral representation of the insect's sound is generated. Step S102 may not be required depending on the method used to generate the spectral representation of the sound file and thus is illustrated in Figure 2 with a dotted line. According to one embodiment, the sound file is converted into a spectrum using a Fast Fourier transform (FFT) or a similar method, by the processing module 108, to create the spectral representation of the sound file. The spectral representation represents the profile of the sound with the time component removed. Other methods of creating a spectral representation of the sound file may be used. A spectral representation of the sound file is generated so that the spectral representation of each sound file may be compared with the entries in the models library 120, as discussed in further detail below. Each sound file may be analysed in subsets of the whole file i.e., frames of a pre-determined size / length and an averaged spectral representation of the entire sound file generated, such that a single spectral representation may be generated for each frame of a pre-determined size / length, for example, a 1-second time window or file size. However, other sound file lengths may be used. Alternatively, a single spectral representation may be created for an entire sound file. Figure 3 illustrates schematically an exemplary spectral representation generated from a sound file of insect sounds. The x-axis represents frequency in Hz of the sound recording and the y-axis represents power in decibels of the sound recording. The processing module 108 compares the spectral representation of the insect’s sound with each of the entries in the models library 120, stored at the insect monitoring device 100, at step S104. The models library 120 comprises a plurality of predefined models, the predefined models do not represent any specific insects sounds. Each entry in the models library 120 is an abstract form that, when plotted on a graph for visualisation, may be a synthetic waveform or synthetic diminishing waveform. According to one embodiment, the models library 120 comprises 128 entries, however, the number of entries in the models library 120 is not limited to 128 and other numbers of entries may be utilised. Figures 4A to 4C illustrate schematically three exemplary entries in the models library 120. Figures 4A to 4C are provided for illustrative purposes only. The entries in the models library 120 are used to generate similarity values. Each entry in the models library 120 is compared with the spectral representation of the insect’s sound and a similarity value generated, such that the spectral representation of the insect’s sound is translated into a set of similarity values. The set of similarity values being a low resolution representation of the sound file. The processing module 108 determines a value of similarity for each of the entries in the models library 120, as a result of the comparison of the spectral representation of the insect’s sound with each of the entries in the models library 120 at step S105. The comparison of the spectral representation of the insect’s sound with each of the entries in the models library 120 may be performed using cosine similarity, Euclidean distance or any other method which generates a numerical value of similarity. The spectral representation of the insect’s sound is compared with each entry in the models library 120. According to one embodiment, the comparison is performed using cosine similarity (a standard computational technique). As discussed above, the entries in the models library 120 are generic and are not generated from known insects sounds. Therefore, the comparison between the spectral representation of the insect’s sound with each of the entries in the models library 120 is performed in order to obtain a similarity value for each entry, not to compare the spectral representation of the insect’s sound with each of the entries in the models library 120 in order to identify a “match” and thus identify the insect. Each similarity value indicates a level of similarity between the spectral representation of the detected insect’s sounds and each entry in the model library, a similarity value being determined for each entry in the model library. Each determined value of similarity expresses the degree of similarity between the spectral representation of the sound file of the detected insect sounds and one of the entries in the models library 120. According to one embodiment, each determined value of similarity is expressed as a two-digit number (ranging from 00-99). Consequently, when the models library 120 comprises 128 entries, a string of 128 two-digit numbers will result for each spectral representation of a detected insect sound, each two-digit number indicating the similarity between the spectral representation of the insect’s sound and one of the entries in the models library 120. According to one embodiment, the comparison of a spectral representation of an insect’s sound with each of the entries in the models library 120 is performed in the same order, so that it is possible to track which value of similarity applies to which entry in the models library 120. Figure 5 illustrates an exemplary string of similarity values (two-digit numbers) generated following comparison of the spectral representation of Figure 3 with each of the three exemplary entries of a models library 120 illustrated in Figures 4A to 4C. The string of similarity values generated, at step S105, following comparison of the spectral representation of an insect sound with each of the entries in the models library 120, will be referred to herein as a sound fingerprint. The value of similarity is not limited to being expressed as a two-digit number and may be expressed as a 3 or more digit number, if required, or the similarity may be represented by some other means as required. The generated sound fingerprint (comprising a string of similarity values) is then transmitted from the insect monitoring device 100 to the server 200, via the communication modules 110, 210 at step S106. Once the sound fingerprint has been successfully transmitted to the server 200, the sound file generated at step S101 may be discarded at step S107. The sound file may be discarded so that large amounts of storage capacity is not required at the insect monitoring device 100. However, the sound file may be stored at the insect monitoring device 100, if required, at step S108. According to another embodiment, the spectral representation of the sound file may be stored at the insect monitoring device 100 and / or the sound fingerprint generated from the spectral representation may be stored at the insect monitoring device 100. A date and time stamp may be attached to the generated sound fingerprint, by the processing module 108, prior to transmission of the sound fingerprint to the server 200. The date and time stamp indicates the date and time at which the insect’s sound, such as an insect’s wingbeats, corresponding to the generated sound fingerprint was detected by the acoustic sensor 112. Figures 6 illustrate schematically the process of translating an insect sounds into a string of similarity values. Insect sounds 501 are detected by the acoustic sensor 112 and a spectral representation of the sound is generated (spectrum 502). The spectrum 502 is compared with each of the entries 503 in the models library 120 and a similarity score 504 determined for each of the entries 503 in the models library 120. The similarity scores 504 are provided together as a string of similarity values 505. The string of similarity values is then transmitted to a remote server 506 as a sound fingerprint. As discussed above, known methods of detecting insect sounds create large data files which cannot be transmitted over a low power wide area network (LPWAN). In order to overcome this problem, the data files could be analysed at the insect monitoring device to determine which insect created the sound. However, such analysis requires large processors, which are not suitable for use in insect monitoring devices provided at remote locations having limited power supplies. Alternatively, or in addition, the large data files could be compressed using known compression techniques, prior to transmission to the server. However, known compression techniques result in substantial loss to the quality / quantity of the data. The generation of a sound fingerprint comprising a string of similarity values as described herein overcomes these problems, since the detected insect sounds are translated into a sound fingerprint which is a low resolution representation of the sound which can then be transmitted over a low power wide area network (LPWAN), or any other network, and which can be used to accurately identify the insect which generated the sound. The server 200 is configured to receive data from one or more insect monitoring devices 100. Therefore, an identifier of the insect monitoring device 100 is also attached to the generated sound fingerprint, by the processing module 108, prior to transmission to the server 200. Furthermore, environmental data sensed by the environmental sensors 114, 116, 118, which indicates the local conditions when the insect’s sound was detected, may be attached to the generated sound fingerprint, by the processing module 108, prior to transmission to the server 200. As discussed above, the server 200 may be a remote server provided in a cloud-based system. According to one embodiment, the one or more insect monitoring devices 100 transmit the generated sound fingerprints to the server 200 over a low power wide area network. Alternatively, the one or more insect monitoring devices 100 may transmit the generated sound fingerprints to the server 200 over a network such as 4G or 5G etc. According to another embodiment, a plurality of insect monitoring devices 100 may be provided in one location, for example across an area of land such as a farm. The plurality of insect monitoring devices 100 may transmit the generated sound fingerprints to a local server 200 over a short-range network, such as Bluetooth™. The local server 200 may then process the received sound fingerprints locally or may send the received sound fingerprints on for processing at a remote server 200. Figure 7 is a process flow diagram illustrating schematically a method performed at the server 200 described herein. At step S201, a sound fingerprint is received at the server 200 from an insect monitoring device 100. The received sound fingerprint is compared with known sound fingerprints stored in the sound fingerprint library 212 at the server 200 at step S202. Figure 8 illustrates schematically exemplary entries in a sound fingerprint library 212. Figure 8 is provided for illustrative purposes and thus does not illustrate each sound fingerprint as having 128 two-digit numbers. In addition, each insect is only associated with one sound fingerprint in Figure 8. However, as explained in detail below, an insect may be associated with more than one sound fingerprint, such as illustrated in Figure 9. Returning to Figure 7, the comparison at step S202 is performed using a technique such as cosine similarity, neighbour-joining, cluster analysis or any similar method. Unlike the comparison that is performed at the insect monitoring device 100, where the spectral representation of the sound file (such as illustrated figure 3) is compared with the plurality of predefined models (such as illustrated in figures 4A to 4C) stored in the models library 120, at the server 200, a received sound fingerprint comprising a string of similarity values (such as illustrated Figure 5) is compared with the plurality of known sound fingerprints each also comprising a string of similarity values (such as illustrated in Figures 8 and 9) stored in the sound fingerprint library 212. Figures 8 and 9 illustrate part of an exemplary sound fingerprint database stored in the sound fingerprint library 212. The sounds (such as insects wingbeats, stridulations etc.,) of a plurality of known insects are recorded and a sound fingerprint generated for each known insect sound, using the process described above with reference to Figure 2, steps S101 to S105. Each sound fingerprint, comprising a generated string of similarity values, is then stored in the sound fingerprint database, associated with the known insect from which the sound originated. For the avoidance of doubt, the entries in the models library used to generate the sound fingerprint for each known insect stored in the sound fingerprint database are identical to the entries in the models library 120 at each insect monitoring device 100. It is known that there may be some variation within the string of similarity values of sound fingerprints generated for each insect of the same species. For example, a sound fingerprint generated from a recording of a honeybees’ wingbeat may not be identical to another sound fingerprint generated from a recording of a different honeybees’ wingbeat. The sound recordings will vary slightly, which will result in variations in the string of similarity values generated from two different honey bees sound recordings, or the same honey bees sound recording at different times. Therefore, as illustrated in Figure 9, each insect may be associated with more than one sound fingerprint within the sound fingerprint database. However, the string of similarity values generated for each insect of the same species are likely be similar and cluster together. When each sound fingerprint comprises 128 two-digit similarity values, there is a possible 100128 combinations of numbers for distinguishing the insect sounds, since there are a maximum of 100 two-digit combinations ranging from 00 to 99 and all combinations in between. Returning to Figure 7, the received sound fingerprint is compared with each of the known sound fingerprints stored in the sound fingerprint library 212, and a species identification value is determined at step S203. A species identification value is determined for each entry in the sound fingerprint library 212 indicating a likelihood of the received sound fingerprint having originated from an insect of the same species as the entry in the sound fingerprint library 212. Based on the determined species identification values, it is determined, at step S204, whether the received sound fingerprint can be attributed to a known insect species. According to one embodiment, the smaller the species identification value, the greater the similarity between the string of values of the received sound fingerprint and the predetermined string of values for a known species stored in the sound fingerprint database. For example, Figure 10A illustrates a comparison between a received sound fingerprint and a sound fingerprint stored in the sound fingerprint library 212. In Figure 10A the species of insect whose recorded sound generated the sound file, and which was translated into the sound fingerprint (sound sample), is the same as known sound 1 stored in the sound fingerprint library 212. As illustrated in Figure 10A, a pairwise comparison of the similarity numbers at corresponding positions of the received sound fingerprint and the known sound fingerprint is performed. The sum (or sum of squares) of the difference between numbers is the species identification value. The sum of the difference between the numbers illustrated in Figure 10A = 20, which is deemed to be a small value (based on empirical observations) indicating a highly similar sequence. A species identification value could also be determined using standard statistical pairwise comparison techniques such as a t test or correlation coefficients. Therefore, it is determined that there is a high likelihood of species match. Figure 10B illustrates other comparisons between the received sound fingerprint (sound sample) and two different sound fingerprints stored in the sound fingerprint library 212. In Figure 10B the species of insect of the sound sample is different from the species of insect of the known sound 2 and the known sound 3 stored in the sound fingerprint library 212. As illustrated in Figure 10B, a pairwise comparison of the similarity values at corresponding positions of the received sound fingerprint and the known sound fingerprints is performed. The sum of the difference between the similarity values of the sound sample and the similarity values of the known sound 2 = 199, which is deemed to be high, indicating a large difference, with statistical analysis indicating a low likelihood of a match. In addition, the sum of the difference between the similarity values of the sound sample and the known sound 3 = 287, which is also deemed to be high, indicating that there is a low likelihood of species match. According to one embodiment, if the sum of the pairwise differences is equal to or below an empirically predetermined species threshold, then the received sound fingerprint is determined to be from the known species of insect. Each species has its own species identification threshold and each species identification threshold may be different from other species identification thresholds. The predetermined species identification thresholds may be determined experimentally to optimise specificity and sensitivity. Returning to Figure 7, it is determined, a step S204A, that a received sound fingerprint originated from an insect of the same species as one of the entries in the sound fingerprint library 212, and thus a known insect species, when the positive sum of the pairwise differences between the received sound fingerprint and any given known fingerprint in the sound fingerprint library 212 is equal to or less than a predetermined species identification threshold. The insect species of the received sound fingerprint is then identified at step S205. Alternatively, it is determined, at step S204B, that the received sound fingerprint cannot be attributed to a known insect species, when the positive sum of the pairwise differences between the received sound fingerprint and the known fingerprints in the sound fingerprint library 212 is above the predetermined species identification threshold for all of the entries in the sound fingerprint library 212. When it is not possible to determine, at step S204, that the received sound fingerprint originated from a known insect species, it may still be possible to determine the higher taxonomic group (i.e., genus, family or order) from which the sound fingerprint originated. Insects of a given taxonomic group are likely to create sounds which are more similar to each other than to members of other taxonomic groups, such that the string of similarity values cluster within taxonomic groups. Therefore, it is possible to determine that a received sound fingerprint belongs to an insect of a particular taxonomic group, even if the specific species of insect cannot be identified. Consequently, each predetermined sound fingerprint stored in the sound fingerprint database may also be associated with a higher taxonomic group as well as the known insect from which the sound originated. For example, Figure 10C illustrates a further comparison between the received sound fingerprint (sound sample) and another sound fingerprint stored in the sound fingerprint library 212. The similarity between the received sound fingerprint and the known fingerprint is not deemed similar enough to conclude a species match (the sum of the pairwise differences is more than the predetermined species identification threshold). However, the similarity between the received sound fingerprint and the known fingerprint is deemed similar enough to infer that the two sound samples come from the same type of insect (same taxonomic group) - in this case a different species of bee (the sum of the pairwise differences is more than the predetermined species identification threshold but is equal to or less than a predetermined taxonomic identification threshold). Returning to Figure 7, based on the determined species identification values, it is determined, at step S207, whether the received sound fingerprint can be attributed to one of the taxonomic groups. For example, it may be determined, at step S207A, that the received sound fingerprint originated from an insect of one of the known taxonomic groups. This is determined when the species identification value of the received sound fingerprint is greater than a predetermined species identification threshold (i.e., the received sound exhibits a lower degree of similarity to known sound samples as in Figure 10C), but the species identification value is equal to or less than a predetermined taxonomic identification threshold. The taxonomic group of the received sound fingerprint is then identified at step S208. Alternatively, if the received sound fingerprint is not determined to be attributable to one of the taxonomic groups (at step S207B), then the species of insect of the received sound fingerprint is identified as unknown and the taxonomic group of the received sound fingerprint is identified as unknown at step S209. According to one embodiment, steps S206 to S208 may not be performed in which case, when it is determined, at step S204B, that the received sound fingerprint cannot be attributed to a known insect species, then the species of insect of the received sound fingerprint is identified as unknown at step S209. Steps 206 to 208 are optional as indicated by the dotted lines in Figure 7. The order with which the string of values of the received sound fingerprint and the string of values of the predetermined entries in the sound fingerprint library 212 are arranged is not specifically important. However, as mentioned above, the entries in the models library used to generate the sound fingerprint for each known insect stored in the sound fingerprint library 212 are identical to the entries in the models library 120 at each insect monitoring device 100. In addition, the order with which each entry in the models library is compared to the spectral representation of the insect’s sound to generate a similarity value must be identical at both the models library used to generate the sound fingerprints in the sound fingerprint library 212 and the models library 120 at the insect monitoring device 100, such that the position in the string of values corresponds to the same entry in both the models library 120 at each insect monitoring device 100. and the models library used to generate the sound fingerprints in the sound fingerprint library 212. As indicated above, it is possible for the received sound fingerprint to be identified as unknown at step S209. When an unknown sound fingerprint has the characteristics of an insect sound (i.e., duration, strength, phase, frequency range), the unknown sound fingerprint may be flagged for further investigation. Anomalous sounds such as two insects appearing at one time may also be flagged for further investigation. The further investigation may take the form of a manual user reviewing the sound or Artificial Intelligence (Al) being used to correctly identify the situation. Alternatively, the sound fingerprint database may comprise entries that incorporate two or more individual insects, such that the two insects may be identified. According to one embodiment, it is possible to use the received sound fingerprint to add a new insect to the sound fingerprint library 212. For example, when one or more “unidentified” insects are detected at a particular location, further investigation may be performed at that location to identify the “new” insect through observations. The associated sound fingerprint may then be added to the sound fingerprint database. According to one embodiment, the received sound fingerprint comprising a string of values may be used to infer the original sound. The server 200 creates an artificial sound file in accordance with the received sound fingerprint, which may then be audible to the human ear, for example, for further analysis to understand the nature of the sound. The creation of a sound file from the received sound fingerprint may be achieved, for example, by storing at the server 200 a spectral representation corresponding to every possible combination of the string of values possible. Figures 11A and 11B illustrate schematically a process for inferring features of a sound fingerprint received at the server 200. As mentioned above, according to one embodiment, a sound file (or spectral representation of a sound file) corresponding to every permutation of the string of values is stored at the server. Figure 11A illustrate an example of such permutations. The received sound fingerprint is compared with every permutation as illustrated in Figure 11B. An exact match with one of the string of values is identified (highlighted by the dotted line in Figure 11B) and the corresponding sound file is retrieved. The sound of the sound fingerprint can then be inferred. According to one embodiment, new entries may be added to the models library 120 at the insect monitoring device 100. This could be done as part of a standard firmware update and would involve rewriting the executable code (i.e., the algorithms stored at the insect monitoring device 100 and used to determine the similarity values) and embedded libraries then overwriting the firmware. This can be done by Bluetooth™ or when the insect monitoring device 100 connects to the server 200, firmware updates may be pushed to device 100. Although the above description refers to recording sounds to generate the sound file, the above apparatus and method may be equally applicable to other waveforms, for example, 5 the sensors 102 may comprise an accelerometer or a vibration sensor and it is the acceleration or vibration data that is converted into a spectral representation of the acceleration or vibration at step S103 as opposed to the sound file. It will be clear to one skilled in the art that many improvements and modifications can be made 10 to the foregoing exemplary embodiments without departing from the scope of the present techniques.
Claims
18 06 241. A method for generating a sound fingerprint from an insect’s sound for transmission to a server, the method comprising:5 detecting the insect’s sound;generating a spectral representation of the insect’s sound;comparing the spectral representation of the insect’s sound with each entry in a models library, the models library comprising a plurality of entries, each entry comprising a predefined model;10 determining a similarity value for each entry in the models library, the similarity valueindicating a level of similarity between the spectral representation of the insect’s sound and the entry in the models library;generating a sound fingerprint comprising the plurality of determined similarity values; and15 transmitting the sound fingerprint to the server.
2. The method of claim 1, wherein the sound fingerprint is transmitted to the server over a low power wide area network.20 3. The method of claim 1 or claim 2, wherein the insect’s sound comprises an insect’swingbeat.
4. The method of any one of claims 1 to 3, wherein the spectral representation of the insect’s sound comprises a spectrum or spectrogram.
255. The method of any one of claims 1 to 4, wherein the level of similarity between the spectral representation of the sound recording and the entry in the models library is indicated numerically.30 6. The method of claim 5, wherein the comparison of the spectral representation of theinsect’s sound with each entry in a models library is performed using cosine similarity to generate each similarity value.
7. The method of claim 5, wherein the comparison of the spectral representation of the 35 insect’s sound with each entry in a models library is performed using Euclidian distance to generate each similarity value.
8. The method of any one of claims 1 to 7, further comprising:attaching time and date data to the generated sound fingerprint, prior to transmission of the sound fingerprint to the server, wherein the time and date data indicates a time and date at which the insect’s sound, corresponding to the generated sound fingerprint was detected.
9. The method of any one of claims 1 to 8, further comprising:capturing environmental data when the insect’s sound is detected, the environmental data captured at a location, time and date where the insect’s sound is detected; andattaching the captured environmental data to the generated sound fingerprint, prior to transmission of the sound fingerprint to the server.
10. An insect monitoring device for detecting insect sounds, the insect monitoring device comprising:a sensor for detecting insect sounds;a models library comprising a plurality of predefined models;a processing module configured to generate a spectral representation of the detected insect’s sound, to compare the spectral representation of the detected insect’s sound with each of the plurality of predefined models stored in the models library and determine a similarity value for each of the plurality of predefined models when compared with the spectral representation of the detected insect’s sound, and to generate a sound fingerprint comprising the plurality of similarity values; anda communications module configured to transmit the generated sound fingerprint to a server.
11. The insect monitoring device of claim 10, further comprising:one or more environmental sensors for sensing environmental data where the insect monitoring device is situated, wherein the one or more environmental sensors comprises at least one of: a luminosity sensor; a temperature sensor; a humidity sensor.
12. The insect monitoring device of claim 10 or claim 11, wherein the processing module uses cosine similarity to compare the spectral representation of the detected insect’s sound with each of the plurality of predefined models stored in the models library13. The insect monitoring device of claim 10 or claim 11, wherein the processing module uses Euclidian distance to compare the spectral representation of the detected insect’s sound with each of the plurality of predefined models stored in the models library14. The insect monitoring device of any one of claims 10 to 13, wherein the processing module is further configured to attached time and date data to the generated sound fingerprint, prior to transmission of the sound fingerprint to the server, wherein the time and date data indicates a time and date at which the insect’s sound, corresponding to the generated sound fingerprint was detected by the sensor.
15. The insect monitoring device of any one of claims 10 to 14, wherein the processing module is further configured to attach an identifier of the insect monitoring device to the generated sound fingerprint, prior to transmission of the sound fingerprint to the server.
16. The insect monitoring device of any one of claims 11 to 15, wherein the processing module is further configured to attach the environmental data sensed by the one or more environmental sensors to the generated sound fingerprint, prior to transmission of the sound fingerprint to the server, wherein the environmental data indicates environmental data detected at a time and date at which the insect’s sound, corresponding to the generated sound fingerprint, was detected by the sensor.
17. A method of identifying an insect corresponding to a received sound fingerprint, the method comprising:receiving a sound fingerprint, the sound fingerprint comprising a plurality of similarity values;comparing the received sound fingerprint to a plurality of known sound fingerprints, each of the known sound fingerprints associated with a known species of insect and comprising a plurality of similarity values;determining a species identification value for each of the known sound fingerprints, based on the comparison, the species identification value indicating a likelihood of the received sound fingerprint having originated from an insect of the same species as the known sound fingerprint;determining whether the received sound fingerprint corresponds to a known species of insect based on the species identification values; andwhen the received sound fingerprint does correspond to a known species of insect, identifying the known species of insect.
18. The method of claim 17, further comprising:when the received sound fingerprint does not correspond to a known species of insect, indicating that the sound fingerprint corresponds to an unknown species of insect.
19. The method of claim 17, wherein each of the known sound fingerprints is further associated with a taxonomic group, and wherein the method further comprises:when the received sound fingerprint does not correspond to a known species of insect, determining whether the received sound fingerprint corresponds to a known taxonomic group based on the species identification values; andwhen the received sound fingerprint does correspond to a taxonomic group, identifying the taxonomic group.
20. The method of claim 21, further comprising:when the received sound fingerprint does not correspond to a taxonomic group, indicating that the received sound fingerprint corresponds to an unknown species of insect.
21. The method of any one of claims 17 to 20, wherein it is determined that the received sound fingerprint corresponds to a known species of insect when one of the determined species identification values is equal to or less than a predetermined species identification threshold.
22. The method of any one of claims 17 to 21, wherein it is determined that the received sound fingerprint does not corresponds to a known species of insect when all of the determined species identification values are above the predetermined species identification thresholds.
23. The method of any one of claims 19 to 22, wherein it is determined that the received sound fingerprint corresponds to a taxonomic group when one of the determined species identification values is greater than the predetermined species identification thresholds and is equal to or less than a predetermined taxonomic identification threshold.
24. The method of any one of claims 19 to 23, wherein it is determined that the received sound fingerprint does not corresponds to a taxonomic group when all of the determined species identification values are greater than a predetermined taxonomic identification threshold.
25. The method of any one of claims 17 to 24, wherein the sound fingerprint is received over a low bandwidth telecommunications network from a remote insect monitoring device.
26. A server for identifying an insect corresponding to a received sound fingerprint, theserver comprising:a communications module configured to receive a sound fingerprint, the sound fingerprint comprising a plurality of similarity values;a storage module comprising a plurality of known sound fingerprints, each of the known sound fingerprints associated with a known species of insect and comprising a plurality of similarity values; anda processing module configured to compare the plurality of similarity values of the received sound fingerprint to the plurality of similarity values of each of the plurality of known sound fingerprints and determine a species identification value for each of the known sound fingerprints based on the comparison, the species identification value indicating a likelihood of the received sound fingerprint originating from the known species of insect associated with each of the known sound fingerprints, to determine from the species identification values whether the received sound fingerprint corresponds to a known species of insect, and when the received sound fingerprint does correspond to a known species of insect, to identify the known species of insect.
27. The server of claim 26, wherein each of the known sound fingerprints is also associated with a taxonomic group, and wherein the processing module is further configured to, when the received sound fingerprint does not correspond to a known species of insect, determine whether the received sound fingerprint corresponds to a taxonomic group based on the species identification values, and when the received sound fingerprint does correspond to a taxonomic group, to identify the taxonomic group.
Citation Information
Patent Citations
Systems and methods for classifying flying insects
US20210329903A1
