WO2021103707A1 - Identity identification method and device for house animals - Google Patents

Identity identification method and device for house animals Download PDF

Info

Publication number
WO2021103707A1
WO2021103707A1 PCT/CN2020/111843 CN2020111843W WO2021103707A1 WO 2021103707 A1 WO2021103707 A1 WO 2021103707A1 CN 2020111843 W CN2020111843 W CN 2020111843W WO 2021103707 A1 WO2021103707 A1 WO 2021103707A1
Authority
WO
WIPO (PCT)
Prior art keywords
coding sequence
identity
identified
information
identity coding
Prior art date
Application number
PCT/CN2020/111843
Other languages
French (fr)
Chinese (zh)
Inventor
高生兵
Original Assignee
支付宝(杭州)信息技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 支付宝(杭州)信息技术有限公司 filed Critical 支付宝(杭州)信息技术有限公司
Publication of WO2021103707A1 publication Critical patent/WO2021103707A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • H03M7/70Type of the data to be coded, other than image and sound

Definitions

  • the embodiments of this specification relate to the technical field of identity recognition, and in particular to a method for recognizing the identity of foodstuffs.
  • One or more embodiments of the present specification also relate to an identity recognition device for a feeder, a computing device, and a computer-readable storage medium.
  • the embodiments of this specification provide a method for identification of feeders.
  • One or more embodiments of the present specification also relate to an identity recognition device for breeding animals, a computing device, and a computer-readable storage medium to solve the technical defects in the prior art.
  • a method for identifying a nutrient including: acquiring a first biometric image and a second biometric image of the nutrient to be identified, and calculating the first biometric image and The similarity of the reference biometric images of multiple nutrients in the database; the reference biometric image that meets the preset conditions in the similarity calculation result is used as the target image, and the identity of the biometric code segment corresponding to the target image is read Coding sequence; extracting the biometric information to be recognized of the second biometric image, and comparing the biometric information to be recognized with the reference biometric information mapped by the category code segment in the identity coding sequence; according to the identity The number of aligned coding segments included in the coding sequence and the similarity calculation result query the target identity coding sequence, and use the target identity coding sequence as the identity identification code of the nutrient to be identified.
  • the biological feature information to be identified includes category information to be identified, and the category code segment includes a category code segment;
  • the comparing the biological characteristic information to be identified with the reference biological characteristic information mapped to the category code segment in the identity coding sequence includes: reading in a database according to the respective reference biological characteristic information and category codes in advance A mapping relationship table constructed by the mapping relationship of segments; query the reference category information mapped by the category code segment in the mapping relationship table; compare the category information to be identified with the reference category information mapped to the category code segment .
  • the biological feature information to be identified further includes the species information to be identified, and the category code segment further includes a species code segment; correspondingly, the reference for mapping the category information to be identified with the category code segment
  • the category information comparison sub-step it further includes: screening the identity coding sequences containing the category coding segments that are consistent in the comparison as the first identity coding sequence set according to the comparison results; querying the first identity coding sequence in the mapping table The reference variety information mapped by the variety code segment in each identity encoding sequence contained in the identity encoding sequence set; comparing the variety information to be identified with the reference variety information mapped by the variety code segment.
  • the biological feature information to be identified further includes gender information to be identified, and the category encoding segment further includes a gender encoding segment; correspondingly, the reference for mapping the variety information to be identified with the variety encoding segment
  • the method further includes: selecting, in the first identity encoding sequence set, the identity encoding sequence containing the aligned variety encoding segment as the second identity encoding sequence set according to the comparison result; Query the reference gender information mapped by the gender coding segment in each identity coding sequence contained in the second identity coding sequence set in the mapping relationship table; compare the gender information to be identified with the reference gender information mapped by the gender coding segment Correct.
  • the target identity coding sequence is inquired according to the number of aligned coding segments contained in the identity coding sequence and the similarity calculation result, and the target identity coding sequence is used as the nutrient to be identified
  • the identity identification code includes: querying the target in the second identity coding sequence set according to the number of aligned coding segments contained in each identity coding sequence in the second identity coding sequence set and the similarity calculation result An identity coding sequence, and the target identity coding sequence is used as the identity identification code of the nutrient to be identified.
  • the querying the target identity coding sequence according to the number of aligned coding segments contained in the identity coding sequence and the similarity calculation result includes: mapping the category coding segment in the identity coding sequence with all The number of the biometric information to be identified that is consistent in comparison is determined as the number of consistent coding segments contained in the identity coding sequence; the identity coding sequence containing the largest number of aligned coding segments is selected and constructed based on the screening results The third identity code sequence set; determine whether the number of identity code sequences in the third identity code sequence set is equal to 1; if so, the identity code sequence in the third identity code sequence set is determined as the target identity code Sequence; if not, determine the identity coding sequence of the biometric coding segment corresponding to the target image with the highest similarity to the first biometric image in the third identity coding sequence set as the target identity coding sequence .
  • the step of acquiring the first biometric image and the second biometric image of the nutrients to be identified, and calculating the similarity between the first biometric image and the reference biometric images of multiple nutrients in the database is performed after that, before the step of using the reference biometric image that meets the preset conditions in the similarity calculation result as the target image, and reading the identity code sequence containing the biometric code segment corresponding to the target image, it further includes: In the similarity calculation result, whether the similarity between the reference biometric image of any nutrient and the first biometric image meets the preset similarity threshold; if not, execute the similarity calculation result to meet the preset similarity threshold; A step of setting a conditional reference biometric image as a target image, and reading an identity code sequence containing a biometric code segment corresponding to the target image.
  • the identity coding sequence further includes an attribute coding segment; correspondingly, the extracting the biological characteristic information to be recognized of the second biological characteristic image, and combining the biological characteristic information to be recognized with the identity coding sequence
  • the target identity code sequence is queried according to the number of aligned code segments contained in the identity code sequence and the similarity calculation result, and the Before the execution of the step of using the target identity coding sequence as the identity code of the food to be identified, the method further includes: screening the identity coding sequence containing the aligned category coding segments as the fourth identity coding sequence set according to the comparison result; The to-be-identified attribute information of the first biometric image or the second biometric image, and the reference attribute information that maps the to-be-identified attribute information to the attribute code segments included in each identity coding sequence in the fourth identity coding sequence set Compare.
  • the attribute information to be identified includes age information to be identified, and the attribute encoding segment includes an age encoding segment; accordingly, the extraction of the first biometric image or the second biometric image to be identified Attribute information, comparing the attribute information to be identified with reference attribute information mapped from attribute code segments contained in each identity code sequence in the fourth identity code sequence set, including: comparing the first biometric image or the The second biometric image is input to a pre-trained age recognition model, and the output age recognition result is obtained as the age information to be identified; it is judged whether the reference age information mapped by the age coding segment belongs to the age information to be identified Age range; if yes, it is determined that the comparison result of comparing the to-be-identified age information with the reference age information mapped by the age coding range is consistent.
  • the attribute information to be identified further includes attribute information of the location to be identified, and the attribute encoding segment includes a location encoding segment; correspondingly, the determining a reference for mapping the age information to be identified with the age encoding segment
  • the comparison result of the comparison of age information is that the comparison step is performed.
  • the method further includes: screening the identity coding sequence containing the age coding segment with the same alignment as the fifth identity coding sequence set according to the comparison result; and detecting the first set of identity coding sequences.
  • the location attribute information is carried in the biometric image or the second biometric image; if so, the location attribute information is extracted as the location attribute information to be identified, and the location attribute information to be identified is combined with the fifth identity
  • the reference position attribute information mapped to the position coding segment contained in each identity coding sequence in the coding sequence set is compared.
  • the target identity coding sequence is inquired according to the number of aligned coding segments contained in the identity coding sequence and the similarity calculation result, and the target identity coding sequence is used as the nutrient to be identified
  • the identification code includes: querying the target identity coding sequence according to the number of aligned coding segments contained in each identity coding sequence in the fifth identity coding sequence set and the similarity calculation result, and using the target identity coding sequence as The identification code of the nutriment to be identified.
  • a nutrient identity recognition device including: a similarity calculation module configured to obtain a first biometric image and a second biometric image of the nutrient to be identified, and calculate The similarity between the first biometric image and the reference biometric image of a plurality of nutrients in the database; the reading module is configured to use the reference biometric image that meets the preset condition in the similarity calculation result as the target image, and read Taking the identity coding sequence containing the biometric coding segment corresponding to the target image; the comparison module is configured to extract the biometric information to be recognized of the second biometric image, and compare the biometric information to be recognized with the The reference biometric information mapped to the category code segment in the identity code sequence is compared; the query module is configured to query the target identity code according to the number of aligned code segments contained in the identity code sequence and the similarity calculation result Sequence, and use the target identity coding sequence as the identity identification code of the nutrient to be identified.
  • a similarity calculation module configured to obtain a first biometric image and a second
  • the query module includes: a determining sub-module configured to determine the number of biometric information that is consistent with the comparison of the biometric information to be identified, which is mapped to the category code segment in the identity coding sequence, as the number of biometric information to be identified.
  • the number of aligned coding segments contained in the identity coding sequence; the screening sub-module is configured to screen the identity coding sequence containing the largest number of aligned coding segments as the third identity coding sequence set; the judging sub-module is configured to judge Whether the number of identity coding sequences in the third identity coding sequence set is equal to 1; if the execution result of the judging submodule is yes, run the first target identity coding sequence determination submodule; the first target identity coding sequence
  • the determining submodule is configured to determine the identity coding sequence in the third identity coding sequence set as the target identity coding sequence; if the execution result of the judgment submodule is no, run the second target identity coding sequence
  • a determination sub-module; the second target identity coding sequence determination sub-module is configured to include in the third identity coding sequence set a biometric code corresponding to the target image with the highest similarity to the first biometric image
  • the identity coding sequence of the segment is determined as the target identity coding sequence.
  • a computing device including: a memory and a processor
  • the memory is used to store computer-executable instructions
  • the processor is used to execute the computer-executable instructions: obtain a first biometric image and a second biometric image of the nutrient to be identified, and calculate the first biometric
  • the similarity between the image and the reference biometric image of multiple nutrients in the database is used as the target image, and the biometric code segment corresponding to the target image is read
  • the identity coding sequence extract the biological characteristic information to be identified of the second biological characteristic image, and compare the biological characteristic information to be identified with the reference biological characteristic information mapped by the category code segment in the identity coding sequence;
  • the number of aligned coding segments included in the identity coding sequence and the similarity calculation result query the target identity coding sequence, and use the target identity coding sequence as the identity identification code of the nutrient to be identified.
  • a computer-readable storage medium which stores computer-executable instructions, which when executed by a processor, realize the steps of any one of the above-mentioned methods for identification of feeders.
  • An embodiment of this specification obtains the first biometric image and the second biometric image of the nutrients to be identified, and calculates the similarity between the first biometric image and the reference biometric images of multiple nutrients in the database, and then calculates the result
  • the reference biometric image that meets the preset conditions in the database is used as the target image, and the identity coding sequence containing the biometric coding segment is read in the database, where the biometric coding segment corresponds to the target image; the second biometric image is extracted Identify the biometric information, compare the biometric information to be identified with the reference biometric information mapped to the category code segment in the identity coding sequence; query the target identity coding sequence according to the comparison result and the similarity calculation result to determine the target identity coding sequence Identify the identification code of the feed.
  • the embodiment of this specification realizes the use of image recognition to collect the biological characteristic information to be identified of the nutrient to be identified in the image, and combine the biological characteristic information to be identified with the identity coding sequence of the nutrient stored in advance in the database
  • the benchmark biometric information mapped by different code segments is compared to identify the feeder to be identified, which improves the feasibility of the feeder identification method, and the identity of the feeder is identified by taking pictures and image recognition, which not only guarantees In order to ensure the safety of the feed, the identity of the feed can be identified anytime and anywhere, which improves the convenience.
  • Fig. 1 is a processing flow chart of a method for identification of feeders provided by an embodiment of this specification.
  • Fig. 2 is a processing flow chart of a method for identifying the identity of the nourishment provided by an embodiment of the present specification applied to an insurance project.
  • Fig. 3 is a schematic diagram of an identity recognition device for feeders provided by an embodiment of the present specification.
  • Fig. 4 is a structural block diagram of a computing device provided by an embodiment of this specification.
  • first, second, etc. may be used to describe various information in one or more embodiments of this specification, the information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other.
  • the first may also be referred to as the second, and similarly, the second may also be referred to as the first.
  • word “if” as used herein can be interpreted as "when” or “when” or "in response to determination”.
  • This specification also relates to a device for recognizing the nourishment identity, a computing device, and a computer-readable storage medium. The details are described one by one in the following embodiments. Description.
  • Fig. 1 shows a flow chart of a method for identification of feeders provided according to an embodiment of the present specification, including steps 102 to 108.
  • Step 102 Obtain the first biometric image and the second biometric image of the nutrient to be identified, and calculate the similarity between the first biometric image and the reference biometric image of the plurality of nutrient in the database.
  • feeding means feeding, domesticating or raising; feeding stuff includes animals and plants that are fed or raised by users, including animal pets (pet dogs, pet cats, pet pigs, etc.), plant pets, tea pet pets (Golden Toad) , Pixiu, etc.) and alternative pets (groundhogs, rabbits, hamsters, hedgehogs, bats, etc.).
  • animal pets pet dogs, pet cats, pet pigs, etc.
  • plant pets tea pet pets (Golden Toad) , Pixiu, etc.)
  • alternative pets groundhogs, rabbits, hamsters, hedgehogs, bats, etc.
  • poultry such as chickens and ducks.
  • the embodiment of this specification takes the food to be identified as a pet as an example for description. As more and more users choose to keep pets, more and more food service agencies have emerged as the times require.
  • an institution receives a service request from a user for a nutriment, during the specific process of insuring or medical diagnosis of the nutriment, if the pre-established file information of the nutriment is stored in the database, the nutriment service organization must check The nourishment is identified to inquire about its historical insurance records or historical medical diagnosis records and other related information, so as to recommend the types of insurance for users or make accurate diagnosis and treatment based on relevant data.
  • the feeder service organization can obtain the biometric image of the feeder to be identified and pass it through The acquired biometric image is used to identify the nutrient to be identified.
  • the nutrient to be identified in the embodiment of this specification is the nutrient that needs to be identified.
  • the first biometric image and the second biometric image are the biometric images of the nutrient to be identified.
  • the collection is performed when the nourishment identity recognition request is made or uploaded by the user who sent the nourishment identity recognition request;
  • the reference biometric image is the biological characteristic image of the nourishment collected when the nourishment file is established.
  • the biometric image includes a first biometric image and a second biometric image, wherein the first biometric image includes a nose print feature image of the nutrient to be identified, and the second biometric image
  • the biometric image includes the whole body image or facial image of the nutrient to be identified; after receiving the identity recognition request sent by the user for the nutrient to be identified and obtaining the first biometric image of the nutrient to be identified, the The similarity calculation is performed between the first biometric image and the reference biometric image of a plurality of nutrients pre-stored in the database.
  • the food to be identified in the embodiments of this specification refers to a pet that is raised, and the first biometric image includes the image of the nose and palm prints of the food to be identified; the first creature to obtain the food to be identified After the characteristic image, the similarity calculation is performed between the first biological characteristic image and the reference biological characteristic images of the multiple nutrients in the database, and the identity of the nutriment to be identified is identified according to the similarity calculation result.
  • the similarity between the reference biometric image and the first biometric image meets the preset similarity threshold; if not, the reference biometric image that meets the preset conditions in the similarity calculation result is taken as the target image, and the read contains and The identity coding sequence of the biometric coding segment corresponding to the target image.
  • the identity coding sequence of the nutrient corresponding to the reference biometric image can be used as the identification code of the nutrient to be identified.
  • any reference biometric image and the first biometric image is less than or equal to the preset similarity threshold, it is necessary to select n reference biometrics with greater similarity that meet the preset conditions according to the similarity calculation result
  • the image is used as the target image, where n is a positive integer, and n is determined according to the actual situation, which is not limited here.
  • the biological characteristic information to be identified in the second biological characteristic image is coded with the identity characteristic code segment corresponding to the target image.
  • the mapped reference biometric information is compared.
  • the first biometric image in this scene is the nose pattern characteristic image.
  • the nose pattern characteristic image After the insurance service agency obtains the nose pattern characteristic image of the pet pet1, the nose pattern characteristic image Calculate the similarity with the reference biometric images of multiple pets in the database.
  • the identification code sequence of pet pet2 is determined as the identification code of pet pet1; if the similarity between the reference biometric image of any pet in the database and the nose pattern feature image of pet pet1 is less than or equal to the preset similarity threshold 95% , The similarity calculation results are sorted in descending order, and the top n benchmark biometric images that meet the preset conditions in the sorting results are selected as the target image, and the target image is used to identify the pet pet1 .
  • the comparison range is narrowed and the identity is improved. Recognition efficiency and accuracy.
  • Step 104 Taking a reference biometric image that meets a preset condition in the similarity calculation result as a target image, and reading an identity code sequence containing a biometric code segment corresponding to the target image.
  • the identity coding sequence described in the embodiment of this specification is the identity code of the nourishment to which the reference biometric information in the target image belongs, the biometric coding segment is the coding segment of the reference biometric information mapping in the target image, and the identity coding sequence is related to the biological information.
  • the characteristic coding sequence is an inclusive relationship.
  • the identity coding sequence may also include other coding segments, such as category coding segments.
  • the similarity calculation results are sorted in descending order, and the top n benchmark biometric images that meet the preset conditions in the sorting results are selected as the target image , And read the identity code sequence containing the biometric code segment corresponding to the target image.
  • the first biometric image in this scene is the nose pattern feature image. If the reference biometric image of any pet in the database is determined according to the similarity calculation result If the similarity between the nose pattern feature image of pet pet1 is less than or equal to the preset similarity threshold of 95%, the similarity calculation results are sorted in descending order, and the top n of the sorting results that meet the preset conditions are selected. The reference biometric image is used as the target image, and n identity coding sequences respectively containing the biometric coding segments corresponding to the target image are read.
  • the identification of the nutrient to be identified is determined by comparing the biometric information to be identified in the second biometric image with the reference biometric information mapped by the category code segment in the identification code sequence code.
  • Step 106 Extract the to-be-identified biological characteristic information of the second biological characteristic image, and compare the to-be-identified biological characteristic information with the reference biological characteristic information mapped by the category code segment in the identity coding sequence.
  • the second biometric image described in the embodiment of the present specification includes a full-body image of the nutrient to be identified, and the biometric information to be identified is the biological characteristic contained in the second biometric image of the nutrient to be identified and related to the category of the nutrient to be identified Information; the biological characteristic information contained in the target image is the reference biological characteristic information, and there is a mapping relationship between the reference biological characteristic information and the category code segment.
  • the biometric information to be identified in the second biometric image is mapped to the reference organism in the category coding segment in the identity coding sequence.
  • the characteristic information is compared to determine the identification code of the feed to be identified.
  • the biological feature information to be identified includes the category information to be identified of the nutrient to be identified, and the category code segment includes a category code segment; and the biological feature information to be identified is combined with the category code segment.
  • the reference biometric information mapped by the category code segment in the identity coding sequence is compared. After the comparison is completed, the identity identification code of the nourishment can be queried according to the comparison result and the similarity calculation result.
  • the specific comparison process can be realized in the following ways : Read the mapping relationship table constructed in advance according to the mapping relationship between each reference biometric information and the category code segment in the database; query the reference category information mapped to the category code segment in the mapping relationship table; compare the to-be-identified The category information is compared with the reference category information mapped by the category code segment.
  • mapping relationship table is pre-established by the server and stored in the database, and the mapping relationship table contains the mapping relationship between each reference biometric information and the category code segment, and the category code segment is the category of the nutrient
  • the mapped code segment consists of two characters.
  • the characters include letters, numbers or special characters.
  • the types of feeders include reptiles, mammals, fish, amphibians, and insects.
  • the mapping relationship table After extracting the to-be-identified species information of the species to be identified in the second biometric image, query the mapping relationship table for the reference species information mapped by the species-coded segments in the n identity coding sequences, and compare the species-to-be-identified information with Whether the reference category information is consistent to determine the identification code of the feed to be identified.
  • the pet dog pet D1 Take the pet dog pet D1 as an example, read 10 identification code sequences A1, A2,..., A10, extract the type information to be identified of the second biometric image, and determine the pet
  • the type of dog pet D1 is mammalian. After determining the type of pet dog pet D1, the type information (mammals) of pet dog pet D1 to be identified needs to be compared with the reference type information mapped by the type code segment in the 10 identification code sequences.
  • the embodiment of this specification takes the identity code sequence A1 in the 10 acquired identity code sequences as an example for description.
  • the category code segment contained in the identity code sequence A1 is 02, and the reference category information mapped by 02 is queried in the mapping relationship table. If it is a mammal, the comparison result obtained by comparing the category information to be identified (mammals) with the reference category information (mammals) is consistent.
  • the biological feature information to be identified further includes the species information to be identified, and the category code segment also includes a species code segment; the category information to be identified and the reference category information mapped by the category code segment are compared and combined.
  • the identity code sequence of the category code segment that contains the aligned reference category information mapping is taken as a new set, and the variety information to be identified is combined with each identity code sequence in the new identity code sequence set
  • the comparison of the reference variety information of the included variety code segment mapping can be specifically achieved by the following steps: according to the comparison result, the identity encoding sequence containing the aligned category encoding segment is selected as the first identity encoding sequence set; Query the reference variety information mapped by the variety code segment in each identity encoding sequence contained in the first identity encoding sequence set in the relationship table; compare the variety information to be identified with the reference variety information mapped by the variety code segment .
  • the identity coding sequence containing the category code segment mapped by the reference category information that is consistent with the comparison is selected according to the comparison result as the first identity coding sequence set, and all
  • the reference variety information mapped by the variety code segment contained in the identity encoding sequence in the first identity encoding sequence set is compared with the variety information to be identified, so as to narrow the scope of comparison, and the variety code segment described in the embodiment of this specification is for breeding
  • the code segment of the species mapping of the thing is composed of three characters, and the characters include letters, numbers or special characters.
  • the mapping relationship table After extracting the to-be-identified species information of the nutrient to be identified in the second biometric image, query the mapping relationship table for the reference species information mapped by the species code segment contained in each identity coding sequence in the first identity coding sequence set, and compare it Whether the information of the species to be identified is consistent with the information of the reference species is used to determine the identification code of the nutrient to be identified.
  • the pet dog pet D1 to be identified is the pet dog pet D1
  • the pet dog breeds include Akita, Shiba Inu, Doberman Pinscher, etc.
  • the identity coding sequence composition containing the coding segment of the same species is selected according to the comparison
  • the first identity coding sequence set S1 ⁇ A1, A2, A5, A8, A10 ⁇ .
  • the breed of the animal (pet D1) is an Akita.
  • the information of the species to be identified of the pet dog pet D1 is required. (Akita Dog) Compare with the reference breed information mapped from the breed code segment contained in the 5 identity coding sequences in the first identity coding sequence set.
  • the embodiment of this specification takes the identity coding sequence A2 in the first identity coding sequence set as an example
  • the breed code segment contained in the identity code sequence A2 is 334
  • the reference breed information mapped by 334 is queried in the mapping relationship table as Doberman, then the breed information to be identified (Akita) and the reference breed information (Doberman) )
  • the result of the comparison is inconsistent.
  • gender information can also be compared to improve the accuracy of the identification result of the nutrient to be identified.
  • the biological feature information to be identified includes gender information to be identified, and the category encoding segment includes a gender encoding segment; the variety information to be identified and the reference variety information mapped by the variety encoding segment are compared and the comparison is obtained. After the results are matched, the identity code sequence of the variety code segment that contains the aligned reference variety information mapping is taken as a new set, and the gender information to be identified is combined with the identity code sequence contained in each identity code sequence in the new identity code sequence set.
  • the comparison of the reference gender information mapped by the gender coding segment can be specifically achieved by the following steps: according to the comparison result, the first identity coding sequence set is selected from the first identity coding sequence set containing the identity coding sequence of the aligned variety coding segment as the second identity Coding sequence set; query the reference gender information mapped to the gender coding segment in each identity coding sequence contained in the second identity coding sequence set in the mapping relationship table; compare the gender information to be identified with the gender coding segment The mapped benchmark gender information is compared.
  • the identity coding sequence of the variety code segment containing the reference variety information mapping that is consistent with the comparison is selected according to the comparison result as the second identity coding sequence set, and all the identity coding sequences are used.
  • the reference gender information mapped by the gender coding segment contained in the identity coding sequence in the second identity coding sequence set is compared with the gender information to be identified, so as to narrow the scope of comparison, and the gender coding segment described in the embodiment of the present specification is for cultivating
  • the code segment of the gender mapping of the thing is composed of one character, the character X indicates that the gender of the nurture is female, the character Y indicates that the gender of the nurture is male, and the character Z indicates other.
  • the animal to be identified is pet dog pet D1, and its gender includes male and female.
  • the pet dog pet D1's The gender information (public) to be identified is compared with the reference gender information mapped from the gender coding segments contained in the 4 identity coding sequences in the second identity coding sequence set.
  • the specific comparison process is the same as the aforementioned information about the type to be identified and the reference type information. The comparison process is similar, so I won't repeat it here.
  • the category information, breed information, and gender information are compared with the benchmark information, and after each comparison is completed, a new set of identity coding sequences is generated according to the comparison result, which is beneficial to narrow the next time.
  • the scope of comparison further improves the efficiency of identification of feeds.
  • the attribute information can also be compared to improve the accuracy of the identification result of the nutrient to be identified.
  • the identity feature coding sequence includes not only a biometric coding segment and a category coding segment, but also an attribute coding segment; a reference biometric that maps the biological feature information to be identified with the category coding segment After the information is compared and the result of the comparison is obtained, the identity coding sequence of the category coding segment that contains the matched reference biometric information mapping is taken as a new set, and the attribute information to be identified is combined with the new identity coding sequence
  • the comparison of the reference attribute information mapped to the attribute coding segments contained in each identity coding sequence in the set can be specifically achieved through the following steps: according to the comparison result, the identity coding sequence containing the aligned category coding segment is selected as the fourth identity coding sequence Set; extract the to-be-identified attribute information of the first biometric image or the second biometric image, and combine the to-be-identified attribute information with the attribute code segment contained in each identity coding sequence in the fourth identity coding sequence set The mapped base attribute information is compared.
  • the attribute information to be identified includes age information to be identified, and the attribute encoding segment includes an age encoding segment; and the attribute information to be identified is mapped to the attribute encoding segment in the identity encoding sequence.
  • the comparison of reference attribute information can be specifically achieved by the following steps: input the first biometric image or the second biometric image into a pre-trained age recognition model, and obtain the output age recognition result as the age to be recognized Information; determine whether the reference age information mapped by the age code segment belongs to the age range contained in the age information to be identified; if so, determine whether the age information to be identified and the reference age information mapped by the age code segment are mapped The comparison result of the comparison is consistent.
  • the first biometric image or the second biometric image is input into a pre-trained age recognition model, the age range of the nourishment to be recognized output by the model is obtained, and it is determined that each identity code sequence in the fourth identity code sequence set contains Whether the reference age information mapped by the age code segment belongs to the age range, if so, the comparison is consistent; and the age code segment described in the embodiment of this specification is composed of 8 digits, that is, the birth year of the nurture (previous 4) month (5th to 6th) and day (7th to 8th).
  • the pet dog pet D1 to be identified is the pet dog pet D1
  • the age range of the pet dog pet D1 output by the age prediction model is 3 to 4 years old
  • the age code segment mapping contained in the identity code sequence A10 in the fourth identity code sequence If the reference age information of is 4 years old, the comparison result of the comparison between the age information to be identified and the reference age information mapped by the age code segment contained in the identity code sequence A10 is consistent; the age information to be identified is in the fourth identity code sequence set
  • the specific implementation of the comparison between the reference age information mapped by the age code segment included in other identity code sequences is similar, and the specific implementation of the comparison with the reference age information in the identity code sequence A10 can be referred to, which will not be repeated here.
  • the location attribute information can also be compared to improve the accuracy of the identification result of the feeder to be identified.
  • the attribute information to be identified further includes attribute information of the location to be identified, and the attribute encoding segment includes a location encoding segment; the reference age for mapping the age information to be identified with the age encoding segment After the information is compared and the comparison result is obtained, the identity coding sequence of the age code segment mapped by the reference age information that is consistent with the comparison is taken as a new set, and the location information to be identified is compared with each identity in the new set.
  • the comparison of the reference position information mapped by the position coding segment contained in the coding sequence can be specifically achieved by the following steps: screening the identity coding sequence containing the aligned age coding segment as the fifth identity coding sequence set according to the comparison result; Whether the first biometric image or the second biometric image carries location attribute information; if so, extract the location attribute information as the location attribute information to be identified, and combine the location attribute information to be identified with the In the fifth identity coding sequence set, the reference position attribute information mapped to the position coding segment contained in each identity coding sequence is compared.
  • the identity coding sequence containing the age coding segment mapped by the reference age information mapping consistent with the comparison is selected according to the comparison result as the fifth identity coding sequence set, using all
  • the reference position information mapped to the position coding segment included in the identity coding sequence in the fifth identity coding sequence set is compared with the position information to be identified, so as to narrow the comparison scope.
  • the position code segment described in the embodiment of this specification consists of 6 digits, the first two are the province (city) where the feed is located, the middle two are the city (district) where the feed is located, and the last two are the county where the feed is located. .
  • the position attribute information can be obtained by querying the image attribute information of the first biometric image or the second biometric image; and the position information carried in the image attribute information is mostly the position coordinates, which need to be compared during the comparison process.
  • the position coordinates are converted into specific position information; after detecting that the first biometric image or the second biometric image carries the position information, the position information is extracted, and the position information is used as the position information to be identified and each of the fifth identity coding sequence set
  • the reference position information mapped by the position coding segment included in the identity coding sequence is compared.
  • the specific comparison process is similar to the foregoing comparison process, and will not be repeated here.
  • Step 108 Query the target identity coding sequence according to the number of aligned coding segments contained in the identity coding sequence and the similarity calculation result, and use the target identity coding sequence as the identity identification code of the nutrient to be identified .
  • the coding segments in the identity coding sequence are respectively mapped to a kind of reference biometric information, and after the comparison is completed, the identity coding sequence with the largest number of coding segments that contains the aligned reference biometric information mapping is determined as the target identity coding sequence, If there are two or more identity coding sequences that contain the most consistent and identical reference biometric information mapping coding segments, the identity coding sequence of the biometric coding segment corresponding to the target image with greater similarity will be included. Determined as the target identity coding sequence.
  • the query of the target identity coding sequence based on the number of aligned coding segments contained in the identity coding sequence and the similarity calculation result can be specifically achieved by the following steps: The number of biometric information that is consistent with the comparison of the biological feature information to be identified mapped from the category coding segment in the coding sequence is determined as the number of aligned code segments included in the identity coding sequence; the number of code segments that contain the aligned consistency is selected.
  • a third set of identity coding sequences based on the screening results; determine whether the number of identity coding sequences in the third identity coding sequence set is equal to 1; if so, the third identity coding sequence set The identity coding sequence is determined as the target identity coding sequence; if not, the third identity coding sequence set includes the identity of the biometric coding segment corresponding to the target image with the highest similarity to the first biometric image The coding sequence is determined as the target identity coding sequence.
  • the similarity calculation result queries the target identity coding sequence, and uses the target identity coding sequence as the identity identification code of the food to be identified, that is, according to the alignment contained in each identity coding sequence in the second identity coding sequence set Consistent number of code segments and the similarity calculation result, query the target identity coding sequence in the second identity coding sequence set, and use the target identity coding sequence as the identity identification code of the nutrient to be identified.
  • the said identity coding sequence contains The number of coding segments consistent with the comparison and the similarity calculation result query the target identity coding sequence, and use the target identity coding sequence as the identity identification code of the nourishment to be identified, that is, according to the fifth identity coding sequence set.
  • the 7th to 14th digits are the birth date of the feeder, which can be used to indicate the age of the feeder; and the 1st to 14th digits are the attribute information coding segment; the 15th to 16th digits represent the category of the feeder; the 17th to 19th digits represent The species to which the feed belongs; the 20th position represents the gender of the feed; and the 15th to 20th bits are the category code segment; the 21st to 26th bits are the biometric code segment of the feed; after the identification code of the feed to be identified is determined,
  • the insurance service institution can query the historical insurance record and historical medical diagnosis information of the nutriment to be identified through the identification code to recommend suitable insurance types for the nutriment to be identified.
  • the embodiment of this specification adopts the method of image recognition to identify the biometric information of the feeder in the image, and compares the biometric information with the field of the electronic ID card of the feeder pre-stored in the database to identify the feeder.
  • the identification of the animal raises the feasibility of the method of identifying the animal, and the identification of the animal’s identity by shooting not only ensures the safety of the animal, but also improves the convenience of identifying the identity of the animal.
  • FIG. 2 shows a processing flow chart of a method for identification of a nourishment provided by an embodiment of the present specification applied to an insurance project. The specific steps include step 202 to step 218.
  • Step 202 Obtain the first biometric image and the second biometric image of the pet dog pet D1, and calculate the similarity between the first biometric image and reference biometric images of multiple pet dogs in the database.
  • Step 204 Determine whether the similarity calculation result meets a preset similarity threshold.
  • Step 206 Use the identity coding sequence containing the biometric code segment corresponding to the reference biological image as the target identity coding sequence.
  • Step 208 Taking the reference biometric image that meets the preset conditions in the similarity calculation result as the target image, and reading the identity coding sequence containing the biometric coding segment corresponding to the target image.
  • any reference biometric image and the first biometric image is less than or equal to the preset similarity threshold, it is necessary to select n larger similarities that meet the preset conditions according to the similarity calculation result.
  • the reference biometric image is used as the target image, where n is a positive integer.
  • Step 210 Extract the to-be-identified biological characteristic information of the second biological characteristic image, and compare the to-be-identified biological characteristic information with the reference biological characteristic information mapped by the category code segment in the identity coding sequence.
  • the biological feature information to be identified includes category information to be identified, species information to be identified, and gender information to be identified;
  • the category encoding segment includes a category encoding segment, a variety encoding segment, and a gender encoding segment.
  • Step 212 According to the comparison result, the identity coding sequence containing the aligned category coding segment is selected as the identity coding sequence set.
  • Step 214 Extract the to-be-identified attribute information of the first biometric image or the second biometric image, and map the to-be-identified attribute information to the attribute code segment contained in each identity coding sequence in the identity coding sequence set The benchmark attribute information for comparison.
  • the attribute information to be identified includes age information to be identified and location information to be identified;
  • the attribute encoding segment includes an age encoding segment and a location encoding segment.
  • Step 216 Query the target identity coding sequence according to the number of aligned coding segments included in the identity coding sequence and the similarity calculation result, and use the target identity coding sequence as the identification code of the pet dog pet D1 .
  • the coding segments in the identity coding sequence are respectively mapped to a kind of reference biometric information, and after the comparison is completed, the identity coding sequence with the largest number of coding segments that contains the aligned reference biometric information mapping is determined as the target identity coding sequence, If there are two or more identity coding sequences that contain the most consistent and identical reference biometric information mapping coding segments, the identity coding sequence of the biometric coding segment corresponding to the target image with greater similarity will be included. It is determined as the target identity coding sequence, and the target identity coding sequence is used as the identification code of the pet dog.
  • Step 218 Use the identification code to query the historical insurance application records and medical visit records of the pet dog pet D1, and determine the insurance type for the pet dog pet D1 based on the historical insurance application records and historical medical visit records.
  • the embodiment of this specification adopts the method of image recognition to identify the biometric information of the pet dog in the image, and maps the biometric information with the reference biometrics of the different code segments of the pet dog’s electronic ID card stored in the database.
  • the information is compared to identify the pet dog, which improves the feasibility of the pet dog identification method, and the identification of the pet dog's identity by shooting, not only guarantees the safety of the feed, but also improves the identity of the pet dog Convenience of identification.
  • FIG. 3 shows a schematic structural diagram of a feeder identification device provided by an embodiment of this specification.
  • the device includes: a similarity calculation module 302, configured to obtain a first biometric image and a second biometric image of the nutrient to be identified, and calculate the difference between the first biometric image and the database.
  • the similarity of the reference biometric image of each nutrient; the reading module 304 is configured to use the reference biometric image that meets the preset conditions in the similarity calculation result as the target image, and read the biological image that contains the corresponding target image.
  • the identity coding sequence of the characteristic coding segment is configured to extract the biological characteristic information to be recognized of the second biological characteristic image, and map the biological characteristic information to be recognized with the category coding segment in the identity coding sequence
  • Querying module 308 is configured to query the target identity coding sequence according to the number of aligned coding segments contained in the identity coding sequence and the similarity calculation result, and compare the target identity
  • the coding sequence serves as the identification code of the nutrient to be identified.
  • the biometric information to be identified includes the category information to be identified, and the category code segment includes a category code segment; correspondingly, the comparison module 306 includes: a mapping relationship table reading sub-module configured to Read in the database a mapping relationship table constructed in advance based on the mapping relationship between each reference biometric information and the category code segment; the reference category information query sub-module is configured to query the category code segment mapping in the mapping relationship table Reference category information; a category information comparison sub-module configured to compare the category information to be identified with the reference category information mapped by the category code segment.
  • the biometric information to be identified further includes information about the species to be identified, and the category code segment also includes a species code segment; correspondingly, the comparison module 306 further includes: a first identity code sequence screening submodule , Is configured to screen the identity coding sequence containing the aligned category coding segment as the first identity coding sequence set according to the comparison result; the reference species information query sub-module is configured to query the first identity coding sequence in the mapping relationship table The reference variety information mapped to the variety code segment in each identity encoding sequence included in an identity encoding sequence set; the variety information comparison sub-module is configured to map the reference variety information to the variety code segment to be identified Compare.
  • a first identity code sequence screening submodule Is configured to screen the identity coding sequence containing the aligned category coding segment as the first identity coding sequence set according to the comparison result
  • the reference species information query sub-module is configured to query the first identity coding sequence in the mapping relationship table The reference variety information mapped to the variety code segment in each identity encoding
  • the biometric information to be identified further includes gender information to be identified, and the category code segment also includes a gender code segment; correspondingly, the comparison module 306 further includes: a second identity code sequence screening submodule , Configured to screen the first identity coding sequence set containing the identity coding sequence of the aligned variety coding segment as the second identity coding sequence set according to the comparison result; the reference gender information query sub-module is configured to The mapping relationship table is queried for reference gender information mapped to gender coding segments in each identity coding sequence contained in the second identity coding sequence set; a gender information comparison sub-module is configured to compare the gender information to be identified with The reference gender information mapped by the gender coding segment is compared.
  • a second identity code sequence screening submodule Configured to screen the first identity coding sequence set containing the identity coding sequence of the aligned variety coding segment as the second identity coding sequence set according to the comparison result
  • the reference gender information query sub-module is configured to The mapping relationship table is queried for reference gender information mapped
  • the query module 308 includes: a first query sub-module configured to compare the number of identical coding segments contained in each identity coding sequence in the second identity coding sequence set and the similarity calculation result Query the target identity coding sequence in the second identity coding sequence set, and use the target identity coding sequence as the identity identification code of the food to be identified.
  • the query module 308 includes: a determining sub-module configured to determine the number of biometric information that is consistent with the biometric information to be identified, which is mapped to the category code segment in the identity coding sequence, as The number of aligned coding segments contained in the identity coding sequence; a screening sub-module configured to screen the identity coding sequence containing the largest number of aligned coding segments as the third identity coding sequence set; the judging sub-module is configured to Determine whether the number of identity coding sequences in the third identity coding sequence set is equal to 1; if the execution result of the judgment submodule is yes, run the first target identity coding sequence determination submodule; the first target identity coding The sequence determination sub-module is configured to determine the identity coding sequence in the third identity coding sequence set as the target identity coding sequence; if the execution result of the judgment submodule is no, run the second target identity coding Sequence determination submodule; the second target identity coding sequence determination submodule is configured to include the biometric feature
  • the nutrient identity recognition device further includes: a judging module configured to determine whether there is a similarity between the reference biometric image of any nutrient and the first biometric image in the similarity calculation result The degree meets the preset similarity threshold; if the execution result of the judgment module is no, the reading module is run.
  • a judging module configured to determine whether there is a similarity between the reference biometric image of any nutrient and the first biometric image in the similarity calculation result The degree meets the preset similarity threshold; if the execution result of the judgment module is no, the reading module is run.
  • the identity coding sequence further includes an attribute coding segment; correspondingly, the nurture identity recognition device further includes: an identity coding sequence screening module configured to screen the category codes that contain the alignment consistency according to the comparison result Segment of the identity coding sequence as the fourth identity coding sequence set; the attribute information comparison module is configured to extract the to-be-identified attribute information of the first biometric image or the second biometric image, and compare the to-be-identified attribute information The information is compared with the reference attribute information mapped by the attribute code segment contained in each identity code sequence in the fourth identity code sequence set.
  • the attribute information to be identified includes age information to be identified, and the attribute code segment includes an age code segment; correspondingly, the attribute information comparison module includes: a submodule for determining age information to be identified, configured to The first biometric image or the second biometric image is input to a pre-trained age recognition model, and the output age recognition result is obtained as the age information to be recognized; the age information judgment sub-module is configured to judge the Whether the reference age information mapped by the age code segment belongs to the age range included in the age information to be identified; if the execution result of the age information judging submodule is yes, run the comparison result determination submodule; the comparison result The determining sub-module is configured to determine that the comparison result of the comparison between the to-be-identified age information and the reference age information mapped by the age code segment is consistent.
  • the attribute information to be identified further includes attribute information of the location to be identified, and the attribute encoding segment includes a position encoding segment; correspondingly, the attribute information comparison module further includes: an identity encoding sequence set determining sub-module, Is configured to screen the identity coding sequence containing the aligned age coding segment as the fifth identity coding sequence set according to the comparison result; the position attribute information detection sub-module is configured to detect the first biometric image or the second 2.
  • the location attribute information comparison sub-module is configured to extract The location attribute information is used as the location attribute information to be identified, and the location attribute information to be identified is compared with the reference location attribute information mapped from the location code segment included in each identity coding sequence in the fifth identity coding sequence set .
  • the query module 308 includes: a second target identity coding sequence query sub-module configured to compare the number of identical coding segments contained in each identity coding sequence in the fifth identity coding sequence set and the The similarity calculation result queries the target identity coding sequence, and uses the target identity coding sequence as the identity identification code of the nutrient to be identified.
  • Fig. 4 shows a structural block diagram of a computing device 400 according to an embodiment of the present specification.
  • the components of the computing device 400 include but are not limited to a memory 410 and a processor 420.
  • the processor 420 and the memory 410 are connected through a bus 430, and the database 450 is used to store data.
  • the computing device 400 also includes an access device 440 that enables the computing device 400 to communicate via one or more networks 460.
  • networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet.
  • the access device 440 may include one or more of any type of wired or wireless network interface (for example, a network interface card (NIC)), such as IEEE802.11 wireless local area network (WLAN) wireless interface, global interconnection for microwave access ( Wi-MAX) interface, Ethernet interface, universal serial bus (USB) interface, cellular network interface, Bluetooth interface, near field communication (NFC) interface, etc.
  • NIC network interface card
  • the aforementioned components of the computing device 400 and other components not shown in FIG. 4 may also be connected to each other, for example, via a bus. It should be understood that the structural block diagram of the computing device shown in FIG. 4 is only for the purpose of example, and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.
  • the computing device 400 can be any type of stationary or mobile computing device, including mobile computers or mobile computing devices (for example, tablet computers, personal digital assistants, laptop computers, notebook computers, netbooks, etc.), mobile phones (for example, smart phones). ), wearable computing devices (for example, smart watches, smart glasses, etc.) or other types of mobile devices, or stationary computing devices such as desktop computers or PCs.
  • the computing device 400 may also be a mobile or stationary server.
  • the memory 410 is used to store computer-executable instructions
  • the processor 420 is used to execute the following computer-executable instructions: obtain a first biometric image and a second biometric image of the nutrients to be identified, and calculate the first The similarity between the biometric image and the reference biometric image of multiple nutrients in the database; the reference biometric image that meets the preset conditions in the similarity calculation result is used as the target image, and the biometric feature corresponding to the target image is read The identity coding sequence of the coding segment; extracting the biometric information to be recognized of the second biometric image, and comparing the biometric information to be recognized with the reference biometric information mapped by the category coding segment in the identity coding sequence; The target identity coding sequence is queried according to the number of aligned coding segments contained in the identity coding sequence and the similarity calculation result, and the target identity coding sequence is used as the identity identification code of the nutrient to be identified.
  • An embodiment of the present specification also provides a computer-readable storage medium, which stores computer instructions, which are used to implement the steps of the method for identifying food for food when the instructions are executed by a processor.
  • the computer instructions include computer program codes, and the computer program codes may be in the form of source code, object code, executable files, or some intermediate forms.
  • the computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electrical carrier signal, telecommunications signal, and software distribution media, etc. It should be noted that the content contained in the computer-readable medium can be appropriately added or deleted according to the requirements of the legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to the legislation and patent practice, the computer-readable medium Does not include electrical carrier signals and telecommunication signals.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Collating Specific Patterns (AREA)
  • Electrical Discharge Machining, Electrochemical Machining, And Combined Machining (AREA)
  • Making Paper Articles (AREA)

Abstract

The embodiments of the present description provide an identity identification method and device for house animals. The identity identification method for house animals comprises: acquiring a first biological feature image and a second biological feature image of a house animal to be identified, performing similarity calculation on the first biological feature image and reference biological feature images of a plurality of house animals in a database, using a reference biological feature image which satisfies a preset condition in a calculation result as a target image, and reading from the database an identity coding sequence which contains a biological feature coding segment, the biological feature coding segment corresponding to the target image; extracting biological feature information to be identified of the second biological feature image, and comparing said biological feature information with reference biological feature information mapped by a category coding segment in the identity coding sequence; and according to a comparison result and the similarity calculation result, querying a target identity coding sequence so as to determine an identity identification code of the house animal to be identified.

Description

豢养物身份识别方法以及装置Method and device for identifying identity of nourishment 技术领域Technical field
本说明书实施例涉及身份识别技术领域,特别涉及一种豢养物身份识别方法。本说明书一个或者多个实施例同时涉及一种豢养物身份识别装置,一种计算设备,以及一种计算机可读存储介质。The embodiments of this specification relate to the technical field of identity recognition, and in particular to a method for recognizing the identity of foodstuffs. One or more embodiments of the present specification also relate to an identity recognition device for a feeder, a computing device, and a computer-readable storage medium.
背景技术Background technique
随着社会发展节奏的加快,作为社会发展参与者的每个人面临的工作压力、生活压力也越来越大,为充实自己的生活又不会给自己的生活带来太大的负担,越来越多的人喜欢养宠物,在饲养宠物的同时让自己变得充实,也对自己的身心健康起到了很大的帮助,尤其是对于一些子女在外地的奋斗的独居老人,有宠物的陪伴会让老人的生活更加开心,并且对于一些训练有素的宠物,在老人发生一些意外,例如生病的时候,宠物还会起到报警的作用,宠物对于主人来说相当于家庭的一份子,是非常重要的存在,因此产生了很多面向宠物的服务。With the acceleration of the pace of social development, everyone who is a participant in social development faces more and more pressures in work and life. In order to enrich their lives without putting too much burden on their own lives, more and more The more people like to keep pets, they can enrich themselves while keeping pets, which also helps their physical and mental health, especially for elderly people who live alone with their children struggling in other places, accompanied by pets. Make the life of the elderly happier, and for some well-trained pets, when the elderly have some accidents, such as sickness, the pets will also act as an alarm. The pets are equivalent to a part of the family for the owner, which is very important. Important existence, so many pet-oriented services have been produced.
发明内容Summary of the invention
有鉴于此,本说明书施例提供了一种豢养物身份识别方法。本说明书一个或者多个实施例同时涉及一种豢养物身份识别装置,一种计算设备,以及一种计算机可读存储介质,以解决现有技术中存在的技术缺陷。In view of this, the embodiments of this specification provide a method for identification of feeders. One or more embodiments of the present specification also relate to an identity recognition device for breeding animals, a computing device, and a computer-readable storage medium to solve the technical defects in the prior art.
根据本说明书实施例的第一方面,提供了一种豢养物身份识别方法,包括:获取待识别豢养物的第一生物特征图像以及第二生物特征图像,并计算所述第一生物特征图像与数据库中多个豢养物的基准生物特征图像的相似度;将相似度计算结果中满足预设条件的基准生物特征图像作为目标图像,读取包含与所述目标图像对应的生物特征编码段的身份编码序列;提取所述第二生物特征图像的待识别生物特征信息,将所述待识别生物特征信息与所述身份编码序列中类别编码段映射的基准生物特征信息进行比对;根据所述身份编码序列中包含的比对一致的编码段数以及所述相似度计算结果查询目标身份编码序列,并将所述目标身份编码序列作为所述待识别豢养物的身份识别码。According to the first aspect of the embodiments of the present specification, there is provided a method for identifying a nutrient, including: acquiring a first biometric image and a second biometric image of the nutrient to be identified, and calculating the first biometric image and The similarity of the reference biometric images of multiple nutrients in the database; the reference biometric image that meets the preset conditions in the similarity calculation result is used as the target image, and the identity of the biometric code segment corresponding to the target image is read Coding sequence; extracting the biometric information to be recognized of the second biometric image, and comparing the biometric information to be recognized with the reference biometric information mapped by the category code segment in the identity coding sequence; according to the identity The number of aligned coding segments included in the coding sequence and the similarity calculation result query the target identity coding sequence, and use the target identity coding sequence as the identity identification code of the nutrient to be identified.
可选地,所述待识别生物特征信息包括待识别种类信息,所述类别编码段包括种类 编码段;Optionally, the biological feature information to be identified includes category information to be identified, and the category code segment includes a category code segment;
相应的,所述将所述待识别生物特征信息与所述身份编码序列中类别编码段映射的基准生物特征信息进行比对,包括:在数据库中读取预先根据各个基准生物特征信息与类别编码段的映射关系构建的映射关系表;在所述映射关系表中查询所述种类编码段映射的基准种类信息;将所述待识别种类信息与所述种类编码段映射的基准种类信息进行比对。Correspondingly, the comparing the biological characteristic information to be identified with the reference biological characteristic information mapped to the category code segment in the identity coding sequence includes: reading in a database according to the respective reference biological characteristic information and category codes in advance A mapping relationship table constructed by the mapping relationship of segments; query the reference category information mapped by the category code segment in the mapping relationship table; compare the category information to be identified with the reference category information mapped to the category code segment .
可选地,所述待识别生物特征信息还包括待识别品种信息,所述类别编码段还包括品种编码段;相应的,所述将所述待识别种类信息与所述种类编码段映射的基准种类信息进行比对子步骤执行之后,还包括:根据比对结果筛选包含比对一致的种类编码段的身份编码序列作为第一身份编码序列集合;在所述映射关系表中查询所述第一身份编码序列集合中包含的各个身份编码序列中品种编码段映射的基准品种信息;将所述待识别品种信息与所述品种编码段映射的基准品种信息进行比对。Optionally, the biological feature information to be identified further includes the species information to be identified, and the category code segment further includes a species code segment; correspondingly, the reference for mapping the category information to be identified with the category code segment After the category information comparison sub-step is executed, it further includes: screening the identity coding sequences containing the category coding segments that are consistent in the comparison as the first identity coding sequence set according to the comparison results; querying the first identity coding sequence in the mapping table The reference variety information mapped by the variety code segment in each identity encoding sequence contained in the identity encoding sequence set; comparing the variety information to be identified with the reference variety information mapped by the variety code segment.
可选地,所述待识别生物特征信息还包括待识别性别信息,所述类别编码段还包括性别编码段;相应的,所述将所述待识别品种信息与所述品种编码段映射的基准品种信息进行比对步骤执行之后,还包括:根据比对结果在所述第一身份编码序列集合中筛选包含比对一致的品种编码段的身份编码序列作为第二身份编码序列集合;在所述映射关系表中查询所述第二身份编码序列集合中包含的各个身份编码序列中性别编码段映射的基准性别信息;将所述待识别性别信息与所述性别编码段映射的基准性别信息进行比对。Optionally, the biological feature information to be identified further includes gender information to be identified, and the category encoding segment further includes a gender encoding segment; correspondingly, the reference for mapping the variety information to be identified with the variety encoding segment After the step of comparing the variety information is executed, the method further includes: selecting, in the first identity encoding sequence set, the identity encoding sequence containing the aligned variety encoding segment as the second identity encoding sequence set according to the comparison result; Query the reference gender information mapped by the gender coding segment in each identity coding sequence contained in the second identity coding sequence set in the mapping relationship table; compare the gender information to be identified with the reference gender information mapped by the gender coding segment Correct.
可选地,所述根据所述身份编码序列中包含的比对一致的编码段数以及所述相似度计算结果查询目标身份编码序列,并将所述目标身份编码序列作为所述待识别豢养物的身份识别码,包括:根据所述第二身份编码序列集合中各个身份编码序列包含的比对一致的编码段数以及所述相似度计算结果,在所述第二身份编码序列集合中查询所述目标身份编码序列,并将所述目标身份编码序列作为所述待识别豢养物的身份识别码。Optionally, the target identity coding sequence is inquired according to the number of aligned coding segments contained in the identity coding sequence and the similarity calculation result, and the target identity coding sequence is used as the nutrient to be identified The identity identification code includes: querying the target in the second identity coding sequence set according to the number of aligned coding segments contained in each identity coding sequence in the second identity coding sequence set and the similarity calculation result An identity coding sequence, and the target identity coding sequence is used as the identity identification code of the nutrient to be identified.
可选地,所述根据所述身份编码序列中包含的比对一致的编码段数以及所述相似度计算结果查询目标身份编码序列,包括:将所述身份编码序列中类别编码段映射的与所述待识别生物特征信息比对一致的生物特征信息的数目确定为所述身份编码序列中包含的比对一致的编码段数;筛选包含比对一致的编码段数最多的身份编码序列并基于筛选结果构建第三身份编码序列集合;判断所述第三身份编码序列集合中身份编码序列个 数是否等于1;若是,则将所述第三身份编码序列集合中的身份编码序列确定为所述目标身份编码序列;若否,则将所述第三身份编码序列集合中包含与所述第一生物特征图像的相似度最高的目标图像对应的生物特征编码段的身份编码序列确定为所述目标身份编码序列。Optionally, the querying the target identity coding sequence according to the number of aligned coding segments contained in the identity coding sequence and the similarity calculation result includes: mapping the category coding segment in the identity coding sequence with all The number of the biometric information to be identified that is consistent in comparison is determined as the number of consistent coding segments contained in the identity coding sequence; the identity coding sequence containing the largest number of aligned coding segments is selected and constructed based on the screening results The third identity code sequence set; determine whether the number of identity code sequences in the third identity code sequence set is equal to 1; if so, the identity code sequence in the third identity code sequence set is determined as the target identity code Sequence; if not, determine the identity coding sequence of the biometric coding segment corresponding to the target image with the highest similarity to the first biometric image in the third identity coding sequence set as the target identity coding sequence .
可选地,所述获取待识别豢养物的第一生物特征图像以及第二生物特征图像,并计算所述第一生物特征图像与数据库中多个豢养物的基准生物特征图像的相似度步骤执行之后,所述将相似度计算结果中满足预设条件的基准生物特征图像作为目标图像,读取包含与所述目标图像对应的生物特征编码段的身份编码序列步骤执行之前,还包括:判断所述相似度计算结果中是否存在任意一个豢养物的基准生物特征图像与所述第一生物特征图像的相似度满足预设相似度阈值;若否,则执行所述将相似度计算结果中满足预设条件的基准生物特征图像作为目标图像,读取包含与所述目标图像对应的生物特征编码段的身份编码序列的步骤。Optionally, the step of acquiring the first biometric image and the second biometric image of the nutrients to be identified, and calculating the similarity between the first biometric image and the reference biometric images of multiple nutrients in the database is performed After that, before the step of using the reference biometric image that meets the preset conditions in the similarity calculation result as the target image, and reading the identity code sequence containing the biometric code segment corresponding to the target image, it further includes: In the similarity calculation result, whether the similarity between the reference biometric image of any nutrient and the first biometric image meets the preset similarity threshold; if not, execute the similarity calculation result to meet the preset similarity threshold; A step of setting a conditional reference biometric image as a target image, and reading an identity code sequence containing a biometric code segment corresponding to the target image.
可选地,所述身份编码序列还包括属性编码段;相应的,所述提取所述第二生物特征图像的待识别生物特征信息,将所述待识别生物特征信息与所述身份编码序列中类别编码段映射的基准生物特征信息进行比对步骤执行之后,所述根据所述身份编码序列中包含的比对一致的编码段数以及所述相似度计算结果查询目标身份编码序列,并将所述目标身份编码序列作为所述待识别豢养物的身份识别码步骤执行之前,还包括:根据比对结果筛选包含比对一致的类别编码段的身份编码序列作为第四身份编码序列集合;提取所述第一生物特征图像或所述第二生物特征图像的待识别属性信息,将所述待识别属性信息与所述第四身份编码序列集合中各个身份编码序列包含的属性编码段映射的基准属性信息进行比对。Optionally, the identity coding sequence further includes an attribute coding segment; correspondingly, the extracting the biological characteristic information to be recognized of the second biological characteristic image, and combining the biological characteristic information to be recognized with the identity coding sequence After the step of comparing the reference biometric information mapped by the category code segment is performed, the target identity code sequence is queried according to the number of aligned code segments contained in the identity code sequence and the similarity calculation result, and the Before the execution of the step of using the target identity coding sequence as the identity code of the food to be identified, the method further includes: screening the identity coding sequence containing the aligned category coding segments as the fourth identity coding sequence set according to the comparison result; The to-be-identified attribute information of the first biometric image or the second biometric image, and the reference attribute information that maps the to-be-identified attribute information to the attribute code segments included in each identity coding sequence in the fourth identity coding sequence set Compare.
可选地,所述待识别属性信息包括待识别年龄信息,所述属性编码段包括年龄编码段;相应的,所述提取所述第一生物特征图像或所述第二生物特征图像的待识别属性信息,将所述待识别属性信息与所述第四身份编码序列集合中各个身份编码序列包含的属性编码段映射的基准属性信息进行比对,包括:将所述第一生物特征图像或所述第二生物特征图像输入预先训练的年龄识别模型,获取输出的年龄识别结果作为所述待识别年龄信息;判断所述年龄编码段映射的基准年龄信息是否属于所述待识别年龄信息中包含的年龄区间;若是,则确定将所述待识别年龄信息与所述年龄编码段映射的基准年龄信息进行比对的比对结果为比对一致。Optionally, the attribute information to be identified includes age information to be identified, and the attribute encoding segment includes an age encoding segment; accordingly, the extraction of the first biometric image or the second biometric image to be identified Attribute information, comparing the attribute information to be identified with reference attribute information mapped from attribute code segments contained in each identity code sequence in the fourth identity code sequence set, including: comparing the first biometric image or the The second biometric image is input to a pre-trained age recognition model, and the output age recognition result is obtained as the age information to be identified; it is judged whether the reference age information mapped by the age coding segment belongs to the age information to be identified Age range; if yes, it is determined that the comparison result of comparing the to-be-identified age information with the reference age information mapped by the age coding range is consistent.
可选地,所述待识别属性信息还包括待识别位置属性信息,所述属性编码段包括位置编码段;相应的,所述确定将所述待识别年龄信息与所述年龄编码段映射的基准年龄信息进行比对的比对结果为比对一致步骤执行之后,还包括:根据比对结果筛选包含比对一致的年龄编码段的身份编码序列作为第五身份编码序列集合;检测所述第一生物特征图像或所述第二生物特征图像中是否携带位置属性信息;若是,则提取所述位置属性信息作为所述待识别位置属性信息,将所述待识别位置属性信息与所述第五身份编码序列集合中各个身份编码序列包含的位置编码段映射的基准位置属性信息进行比对。Optionally, the attribute information to be identified further includes attribute information of the location to be identified, and the attribute encoding segment includes a location encoding segment; correspondingly, the determining a reference for mapping the age information to be identified with the age encoding segment The comparison result of the comparison of age information is that the comparison step is performed. After the step is performed, the method further includes: screening the identity coding sequence containing the age coding segment with the same alignment as the fifth identity coding sequence set according to the comparison result; and detecting the first set of identity coding sequences. Whether the location attribute information is carried in the biometric image or the second biometric image; if so, the location attribute information is extracted as the location attribute information to be identified, and the location attribute information to be identified is combined with the fifth identity The reference position attribute information mapped to the position coding segment contained in each identity coding sequence in the coding sequence set is compared.
可选地,所述根据所述身份编码序列中包含的比对一致的编码段数以及所述相似度计算结果查询目标身份编码序列,并将所述目标身份编码序列作为所述待识别豢养物的身份识别码,包括:根据所述第五身份编码序列集合中各个身份编码序列包含的比对一致的编码段数以及所述相似度计算结果查询目标身份编码序列,并将所述目标身份编码序列作为所述待识别豢养物的身份识别码。Optionally, the target identity coding sequence is inquired according to the number of aligned coding segments contained in the identity coding sequence and the similarity calculation result, and the target identity coding sequence is used as the nutrient to be identified The identification code includes: querying the target identity coding sequence according to the number of aligned coding segments contained in each identity coding sequence in the fifth identity coding sequence set and the similarity calculation result, and using the target identity coding sequence as The identification code of the nutriment to be identified.
根据本说明书实施例的第二方面,提供了一种豢养物身份识别装置,包括:相似度计算模块,被配置为获取待识别豢养物的第一生物特征图像以及第二生物特征图像,并计算所述第一生物特征图像与数据库中多个豢养物的基准生物特征图像的相似度;读取模块,被配置为将相似度计算结果中满足预设条件的基准生物特征图像作为目标图像,读取包含与所述目标图像对应的生物特征编码段的身份编码序列;比对模块,被配置为提取所述第二生物特征图像的待识别生物特征信息,将所述待识别生物特征信息与所述身份编码序列中类别编码段映射的基准生物特征信息进行比对;查询模块,被配置为根据所述身份编码序列中包含的比对一致的编码段数以及所述相似度计算结果查询目标身份编码序列,并将所述目标身份编码序列作为所述待识别豢养物的身份识别码。According to a second aspect of the embodiments of the present specification, there is provided a nutrient identity recognition device, including: a similarity calculation module configured to obtain a first biometric image and a second biometric image of the nutrient to be identified, and calculate The similarity between the first biometric image and the reference biometric image of a plurality of nutrients in the database; the reading module is configured to use the reference biometric image that meets the preset condition in the similarity calculation result as the target image, and read Taking the identity coding sequence containing the biometric coding segment corresponding to the target image; the comparison module is configured to extract the biometric information to be recognized of the second biometric image, and compare the biometric information to be recognized with the The reference biometric information mapped to the category code segment in the identity code sequence is compared; the query module is configured to query the target identity code according to the number of aligned code segments contained in the identity code sequence and the similarity calculation result Sequence, and use the target identity coding sequence as the identity identification code of the nutrient to be identified.
可选地,所述查询模块,包括:确定子模块,被配置为将所述身份编码序列中类别编码段映射的与所述待识别生物特征信息比对一致的生物特征信息的数目确定为所述身份编码序列中包含的比对一致的编码段数;筛选子模块,被配置为筛选包含比对一致的编码段数最多的身份编码序列作为第三身份编码序列集合;判断子模块,被配置为判断所述第三身份编码序列集合中身份编码序列个数是否等于1;若所述判断子模块的执行结果为是,则运行第一目标身份编码序列确定子模块;所述第一目标身份编码序列确定子模块,被配置为将所述第三身份编码序列集合中的身份编码序列确定为所述目标身份编码序列;若所述判断子模块的执行结果为否,则运行第二目标身份编码序列确定子模块;所述第二目标身份编码序列确定子模块,被配置为将所述第三身份编码序列集合 中包含与所述第一生物特征图像的相似度最高的目标图像对应的生物特征编码段的身份编码序列确定为所述目标身份编码序列。Optionally, the query module includes: a determining sub-module configured to determine the number of biometric information that is consistent with the comparison of the biometric information to be identified, which is mapped to the category code segment in the identity coding sequence, as the number of biometric information to be identified. The number of aligned coding segments contained in the identity coding sequence; the screening sub-module is configured to screen the identity coding sequence containing the largest number of aligned coding segments as the third identity coding sequence set; the judging sub-module is configured to judge Whether the number of identity coding sequences in the third identity coding sequence set is equal to 1; if the execution result of the judging submodule is yes, run the first target identity coding sequence determination submodule; the first target identity coding sequence The determining submodule is configured to determine the identity coding sequence in the third identity coding sequence set as the target identity coding sequence; if the execution result of the judgment submodule is no, run the second target identity coding sequence A determination sub-module; the second target identity coding sequence determination sub-module is configured to include in the third identity coding sequence set a biometric code corresponding to the target image with the highest similarity to the first biometric image The identity coding sequence of the segment is determined as the target identity coding sequence.
根据本说明书实施例的第三方面,提供了一种计算设备,包括:存储器和处理器;According to a third aspect of the embodiments of the present specification, there is provided a computing device, including: a memory and a processor;
所述存储器用于存储计算机可执行指令,所述处理器用于执行所述计算机可执行指令:获取待识别豢养物的第一生物特征图像以及第二生物特征图像,并计算所述第一生物特征图像与数据库中多个豢养物的基准生物特征图像的相似度;将相似度计算结果中满足预设条件的基准生物特征图像作为目标图像,读取包含与所述目标图像对应的生物特征编码段的身份编码序列;提取所述第二生物特征图像的待识别生物特征信息,将所述待识别生物特征信息与所述身份编码序列中类别编码段映射的基准生物特征信息进行比对;根据所述身份编码序列中包含的比对一致的编码段数以及所述相似度计算结果查询目标身份编码序列,并将所述目标身份编码序列作为所述待识别豢养物的身份识别码。The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions: obtain a first biometric image and a second biometric image of the nutrient to be identified, and calculate the first biometric The similarity between the image and the reference biometric image of multiple nutrients in the database; the reference biometric image that meets the preset conditions in the similarity calculation result is used as the target image, and the biometric code segment corresponding to the target image is read The identity coding sequence; extract the biological characteristic information to be identified of the second biological characteristic image, and compare the biological characteristic information to be identified with the reference biological characteristic information mapped by the category code segment in the identity coding sequence; The number of aligned coding segments included in the identity coding sequence and the similarity calculation result query the target identity coding sequence, and use the target identity coding sequence as the identity identification code of the nutrient to be identified.
根据本说明书实施例的第四方面,提供了一种计算机可读存储介质,其存储有计算机可执行指令,该指令被处理器执行时实现任意一项所述豢养物身份识别方法的步骤。According to a fourth aspect of the embodiments of the present specification, a computer-readable storage medium is provided, which stores computer-executable instructions, which when executed by a processor, realize the steps of any one of the above-mentioned methods for identification of feeders.
本说明书一个实施例通过获取待识别豢养物的第一生物特征图像以及第二生物特征图像,将第一生物特征图像与数据库中多个豢养物的基准生物特征图像进行相似度计算,将计算结果中满足预设条件的基准生物特征图像作为目标图像并在数据库中读取包含生物特征编码段的身份编码序列,其中,所述生物特征编码段与目标图像对应;提取第二生物特征图像的待识别生物特征信息,将所述待识别生物特征信息与身份编码序列中类别编码段映射的基准生物特征信息进行比对;根据比对结果以及所述相似度计算结果查询目标身份编码序列以确定待识别豢养物的身份识别码。An embodiment of this specification obtains the first biometric image and the second biometric image of the nutrients to be identified, and calculates the similarity between the first biometric image and the reference biometric images of multiple nutrients in the database, and then calculates the result The reference biometric image that meets the preset conditions in the database is used as the target image, and the identity coding sequence containing the biometric coding segment is read in the database, where the biometric coding segment corresponds to the target image; the second biometric image is extracted Identify the biometric information, compare the biometric information to be identified with the reference biometric information mapped to the category code segment in the identity coding sequence; query the target identity coding sequence according to the comparison result and the similarity calculation result to determine the target identity coding sequence Identify the identification code of the feed.
本说明书实施例实现了采用图像识别的方式,对图像中待识别豢养物的待识别生物特征信息进行采集,并将所述待识别生物特征信息与数据库中预先存储的豢养物的身份编码序列中不同编码段映射的基准生物特征信息进行比对以对待识别豢养物进行身份识别,提高了豢养物身份识别方法的可行性,并且通过拍摄图像并通过图像识别的方式识别豢养物的身份,不仅保障了豢养物的安全,还可以随时随地对豢养物的身份进行识别,提高了便利性。The embodiment of this specification realizes the use of image recognition to collect the biological characteristic information to be identified of the nutrient to be identified in the image, and combine the biological characteristic information to be identified with the identity coding sequence of the nutrient stored in advance in the database The benchmark biometric information mapped by different code segments is compared to identify the feeder to be identified, which improves the feasibility of the feeder identification method, and the identity of the feeder is identified by taking pictures and image recognition, which not only guarantees In order to ensure the safety of the feed, the identity of the feed can be identified anytime and anywhere, which improves the convenience.
附图说明Description of the drawings
图1是本说明书一个实施例提供的一种豢养物身份识别方法的处理流程图。Fig. 1 is a processing flow chart of a method for identification of feeders provided by an embodiment of this specification.
图2是本说明书一个实施例提供的一种豢养物身份识别方法应用于保险项目的处理流程图。Fig. 2 is a processing flow chart of a method for identifying the identity of the nourishment provided by an embodiment of the present specification applied to an insurance project.
图3是本说明书一个实施例提供的一种豢养物身份识别装置的示意图。Fig. 3 is a schematic diagram of an identity recognition device for feeders provided by an embodiment of the present specification.
图4是本说明书一个实施例提供的一种计算设备的结构框图。Fig. 4 is a structural block diagram of a computing device provided by an embodiment of this specification.
具体实施方式Detailed ways
在下面的描述中阐述了很多具体细节以便于充分理解本说明书。但是本说明书能够以很多不同于在此描述的其它方式来实施,本领域技术人员可以在不违背本说明书内涵的情况下做类似推广,因此本说明书不受下面公开的具体实施的限制。In the following description, many specific details are explained in order to fully understand this specification. However, this specification can be implemented in many other ways different from those described herein, and those skilled in the art can make similar promotion without violating the connotation of this specification. Therefore, this specification is not limited by the specific implementation disclosed below.
在本说明书一个或多个实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本说明书一个或多个实施例。在本说明书一个或多个实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本说明书一个或多个实施例中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terms used in one or more embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of this specification. The singular forms of "a", "said" and "the" used in one or more embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and/or" used in one or more embodiments of this specification refers to and includes any or all possible combinations of one or more associated listed items.
应当理解,尽管在本说明书一个或多个实施例中可能采用术语第一、第二等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本说明书一个或多个实施例范围的情况下,第一也可以被称为第二,类似地,第二也可以被称为第一。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, etc. may be used to describe various information in one or more embodiments of this specification, the information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein can be interpreted as "when" or "when" or "in response to determination".
在本说明书中,提供了一种豢养物身份识别方法,本说明书同时涉及一种豢养物身份识别装置,一种计算设备,以及一种计算机可读存储介质,在下面的实施例中逐一进行详细说明。In this specification, there is provided a method for recognizing the identity of the nourishment. This specification also relates to a device for recognizing the nourishment identity, a computing device, and a computer-readable storage medium. The details are described one by one in the following embodiments. Description.
图1示出了根据本说明书一个实施例提供的一种豢养物身份识别方法的流程图,包括步骤102至步骤108。Fig. 1 shows a flow chart of a method for identification of feeders provided according to an embodiment of the present specification, including steps 102 to 108.
步骤102,获取待识别豢养物的第一生物特征图像以及第二生物特征图像,并计算 所述第一生物特征图像与数据库中多个豢养物的基准生物特征图像的相似度。Step 102: Obtain the first biometric image and the second biometric image of the nutrient to be identified, and calculate the similarity between the first biometric image and the reference biometric image of the plurality of nutrient in the database.
本说明书实施例中,豢养即喂养、驯养或养育;豢养物包括用户所喂养或养育的动植物,包括动物宠物(宠物狗、宠物猫、宠物猪等)、植物宠物、茶宠宠物(金蟾、貔貅等)以及另类宠物(土拨鼠、兔、仓鼠、刺猬、蝙蝠等)等,除上述豢养宠物外,豢养物还包括家禽类,如鸡、鸭等。In the embodiments of this specification, feeding means feeding, domesticating or raising; feeding stuff includes animals and plants that are fed or raised by users, including animal pets (pet dogs, pet cats, pet pigs, etc.), plant pets, tea pet pets (Golden Toad) , Pixiu, etc.) and alternative pets (groundhogs, rabbits, hamsters, hedgehogs, bats, etc.). In addition to the above-mentioned pets, the feed also includes poultry, such as chickens and ducks.
本说明书实施例以所述待识别豢养物为豢养宠物为例进行说明,由于越来越多的用户选择豢养宠物,因此越来越多的豢养物服务机构随之应运而生,在豢养物服务机构接收用户针对豢养物发送的服务请求时,具体对豢养物进行投保或医疗诊断等过程中,若数据库中存储有预先建立的所述豢养物的档案信息,则在豢养物服务机构均需对豢养物进行身份识别,以查询其历史投保记录或历史医疗诊断记录等相关信息,以根据相关数据为用户推荐保险种类或进行准确诊断就治。The embodiment of this specification takes the food to be identified as a pet as an example for description. As more and more users choose to keep pets, more and more food service agencies have emerged as the times require. When an institution receives a service request from a user for a nutriment, during the specific process of insuring or medical diagnosis of the nutriment, if the pre-established file information of the nutriment is stored in the database, the nutriment service organization must check The nourishment is identified to inquire about its historical insurance records or historical medical diagnosis records and other related information, so as to recommend the types of insurance for users or make accurate diagnosis and treatment based on relevant data.
本说明书实施例提供的豢养物身份识别方法,在数据库中预先存储有所述待识别豢养物的档案信息的情况下,豢养物服务机构可通过获取所述待识别豢养物的生物特征图像并通过获取的生物特征图像对所述待识别豢养物进行身份识别。According to the method for identifying the feeder's identity provided by the embodiment of this specification, if the file information of the feeder to be identified is pre-stored in the database, the feeder service organization can obtain the biometric image of the feeder to be identified and pass it through The acquired biometric image is used to identify the nutrient to be identified.
本说明书实施例所述的待识别豢养物即为需要对其进行身份识别的豢养物,所述第一生物特征图像以及第二生物特征图像为所述待识别豢养物的生物特征图像,在接收到豢养物身份识别请求时进行采集或由发送豢养物身份识别请求的用户上传;所述基准生物特征图像为建立豢养物档案时所采集的豢养物的生物特征图像。The nutrient to be identified in the embodiment of this specification is the nutrient that needs to be identified. The first biometric image and the second biometric image are the biometric images of the nutrient to be identified. The collection is performed when the nourishment identity recognition request is made or uploaded by the user who sent the nourishment identity recognition request; the reference biometric image is the biological characteristic image of the nourishment collected when the nourishment file is established.
具体的,所述生物特征图像包括第一生物特征图像和第二生物特征图像,其中,所述第一生物特征图像包括所述待识别豢养物的豢养物的鼻纹特征图像,所述第二生物特征图像包括所述待识别豢养物的全身图像或面部图像;在接收到用户针对待识别豢养物发送的身份识别请求并获取所述待识别豢养物的第一生物特征图像后,将所述第一生物特征图像与数据库中预先存储的多个豢养物的基准生物特征图像进行相似度计算。Specifically, the biometric image includes a first biometric image and a second biometric image, wherein the first biometric image includes a nose print feature image of the nutrient to be identified, and the second biometric image The biometric image includes the whole body image or facial image of the nutrient to be identified; after receiving the identity recognition request sent by the user for the nutrient to be identified and obtaining the first biometric image of the nutrient to be identified, the The similarity calculation is performed between the first biometric image and the reference biometric image of a plurality of nutrients pre-stored in the database.
具体实施时,本说明书实施例所述的待识别豢养物是指豢养宠物,所述第一生物特征图像包括待识别豢养物的鼻纹、掌纹图像等;获取待识别豢养物的第一生物特征图像后,将第一生物特征图像与数据库中的多个豢养物的基准生物特征图像进行相似度计算,并根据相似度计算结果对待识别豢养物进行身份识别。In specific implementation, the food to be identified in the embodiments of this specification refers to a pet that is raised, and the first biometric image includes the image of the nose and palm prints of the food to be identified; the first creature to obtain the food to be identified After the characteristic image, the similarity calculation is performed between the first biological characteristic image and the reference biological characteristic images of the multiple nutrients in the database, and the identity of the nutriment to be identified is identified according to the similarity calculation result.
本说明书提供的一个实施例中,获得第一生物特征图像与数据库中多个豢养物的基准生物特征图像的相似度计算结果之后,还需判断所述相似度计算结果中是否存在任意 一个豢养物的基准生物特征图像与所述第一生物特征图像的相似度满足预设相似度阈值;若否,则将相似度计算结果中满足预设条件的基准生物特征图像作为目标图像,读取包含与所述目标图像对应的生物特征编码段的身份编码序列。In an embodiment provided in this specification, after obtaining the similarity calculation result between the first biometric image and the reference biometric image of multiple nutrients in the database, it is also necessary to determine whether there is any nutrient in the similarity calculation result. The similarity between the reference biometric image and the first biometric image meets the preset similarity threshold; if not, the reference biometric image that meets the preset conditions in the similarity calculation result is taken as the target image, and the read contains and The identity coding sequence of the biometric coding segment corresponding to the target image.
具体的,若根据判断结果确定存在任意一个基准生物特征图像与所述第一生物特征图像的相似度大于预设相似度阈值,则可确定所述待识别豢养物与所述基准生物特征图像中基准生物特征所属的豢养物一致,则可将基准生物特征图像对应的豢养物的身份编码序列作为所述待识别豢养物的身份识别码。Specifically, if it is determined according to the judgment result that there is a similarity between any reference biometric image and the first biometric image greater than the preset similarity threshold, it can be determined that the nutrient to be identified is in the reference biometric image. If the nutrient belonging to the reference biometrics is the same, the identity coding sequence of the nutrient corresponding to the reference biometric image can be used as the identification code of the nutrient to be identified.
若任意一个基准生物特征图像与所述第一生物特征图像的相似度均小于等于预设相似度阈值,则需根据相似度计算结果选取满足预设条件的n个相似度较大的基准生物特征图像作为目标图像,其中n为正整数,且n根据实际情况确定,在此不作限定,确定目标图像后,通过将第二生物特征图像中待识别生物特征信息与目标图像对应的身份特征编码段映射的基准生物特征信息进行比对。If the similarity between any reference biometric image and the first biometric image is less than or equal to the preset similarity threshold, it is necessary to select n reference biometrics with greater similarity that meet the preset conditions according to the similarity calculation result The image is used as the target image, where n is a positive integer, and n is determined according to the actual situation, which is not limited here. After the target image is determined, the biological characteristic information to be identified in the second biological characteristic image is coded with the identity characteristic code segment corresponding to the target image. The mapped reference biometric information is compared.
以用户为待识别豢养物(宠物pet1)投保的场景为例,该场景中的第一生物特征图像为鼻纹特征图像,保险服务机构获取宠物pet1的鼻纹特征图像后,将鼻纹特征图像与数据库中的多个宠物的基准生物特征图像进行相似度计算,若数据库中宠物pet2的基准生物特征图像与宠物pet1的鼻纹特征图像的相似度为97%,大于预设相似度阈值95%,则将宠物pet2的身份编码序列确定为宠物pet1的身份识别码;若数据库中任意一个宠物的基准生物特征图像与宠物pet1的鼻纹特征图像的相似度均小于等于预设相似度阈值95%,则将相似度计算结果按照由大到小的顺序进行排序,并选取排序结果中满足预设条件的前n位基准生物特征图像作为目标图像,并利用所述目标图像对宠物pet1进行身份识别。Take the scene where the user insures the animal (pet pet1) to be identified as an example. The first biometric image in this scene is the nose pattern characteristic image. After the insurance service agency obtains the nose pattern characteristic image of the pet pet1, the nose pattern characteristic image Calculate the similarity with the reference biometric images of multiple pets in the database. If the similarity between the reference biometric image of pet pet2 and the nose pattern feature image of pet pet1 in the database is 97%, which is greater than the preset similarity threshold of 95% , The identification code sequence of pet pet2 is determined as the identification code of pet pet1; if the similarity between the reference biometric image of any pet in the database and the nose pattern feature image of pet pet1 is less than or equal to the preset similarity threshold 95% , The similarity calculation results are sorted in descending order, and the top n benchmark biometric images that meet the preset conditions in the sorting results are selected as the target image, and the target image is used to identify the pet pet1 .
通过计算第一生物特征图像与数据库中多个豢养物的基准生物特征图像间的相似度,并根据计算结果筛选部分目标图像作为后续处理的比对对象,缩小了比对范围,有利于提高身份识别效率以及准确性。By calculating the similarity between the first biometric image and the reference biometric images of multiple nutrients in the database, and selecting part of the target image as the comparison object for subsequent processing according to the calculation result, the comparison range is narrowed and the identity is improved. Recognition efficiency and accuracy.
步骤104,将相似度计算结果中满足预设条件的基准生物特征图像作为目标图像,读取包含与所述目标图像对应的生物特征编码段的身份编码序列。Step 104: Taking a reference biometric image that meets a preset condition in the similarity calculation result as a target image, and reading an identity code sequence containing a biometric code segment corresponding to the target image.
本说明书实施例所述的身份编码序列为目标图像中基准生物特征信息所属豢养物的身份标识码,生物特征编码段为目标图像中基准生物特征信息映射的编码段,所述身份编码序列与生物特征编码序列为包含关系,身份编码序列中除包含生物特征编码序列外, 还可以包含其他编码段,如类别编码段。The identity coding sequence described in the embodiment of this specification is the identity code of the nourishment to which the reference biometric information in the target image belongs, the biometric coding segment is the coding segment of the reference biometric information mapping in the target image, and the identity coding sequence is related to the biological information. The characteristic coding sequence is an inclusive relationship. In addition to the biometric coding sequence, the identity coding sequence may also include other coding segments, such as category coding segments.
具体的,在获取第一生物特征图像与数据库中多个豢养物的基准生物特征图像的相似度计算结果的基础上,若根据相似度计算结果确定任意一个基准生物特征图像与所述第一生物特征图像的相似度均小于等于预设相似度阈值,则将相似度计算结果按照由大到小的顺序进行排序,并选取排序结果中满足预设条件的前n位基准生物特征图像作为目标图像,并读取包含与目标图像对应的生物特征编码段的身份编码序列。Specifically, on the basis of obtaining the similarity calculation result between the first biometric image and the reference biometric image of multiple nutrients in the database, if it is determined according to the similarity calculation result that any one of the reference biometric images and the first biological If the similarity of the feature images is less than or equal to the preset similarity threshold, the similarity calculation results are sorted in descending order, and the top n benchmark biometric images that meet the preset conditions in the sorting results are selected as the target image , And read the identity code sequence containing the biometric code segment corresponding to the target image.
仍以用户为待识别豢养物(宠物pet1)投保的场景为例,该场景中的第一生物特征图像为鼻纹特征图像,若根据相似度计算结果确定数据库中任意一个宠物的基准生物特征图像与宠物pet1的鼻纹特征图像的相似度均小于等于预设相似度阈值95%,则将相似度计算结果按照由大到小的顺序进行排序,并选取排序结果中满足预设条件的前n位基准生物特征图像作为目标图像,并读取n个分别包含与目标图像对应的生物特征编码段的身份编码序列。Still taking the scene where the user insures the animal to be identified (pet pet1) as an example, the first biometric image in this scene is the nose pattern feature image. If the reference biometric image of any pet in the database is determined according to the similarity calculation result If the similarity between the nose pattern feature image of pet pet1 is less than or equal to the preset similarity threshold of 95%, the similarity calculation results are sorted in descending order, and the top n of the sorting results that meet the preset conditions are selected. The reference biometric image is used as the target image, and n identity coding sequences respectively containing the biometric coding segments corresponding to the target image are read.
在读取n个身份编码序列后,通过将第二生物特征图像中待识别生物特征信息与身份特征编码序列中类别编码段映射的基准生物特征信息进行比对以确定待识别豢养物的身份识别码。After reading n identification code sequences, the identification of the nutrient to be identified is determined by comparing the biometric information to be identified in the second biometric image with the reference biometric information mapped by the category code segment in the identification code sequence code.
步骤106,提取所述第二生物特征图像的待识别生物特征信息,将所述待识别生物特征信息与所述身份编码序列中类别编码段映射的基准生物特征信息进行比对。Step 106: Extract the to-be-identified biological characteristic information of the second biological characteristic image, and compare the to-be-identified biological characteristic information with the reference biological characteristic information mapped by the category code segment in the identity coding sequence.
本说明书实施例所述的第二生物特征图像包括豢养物的全身图像,待识别生物特征信息即为待识别豢养物的第二生物特征图像中包含的与待识别豢养物的类别相关的生物特征信息;所述目标图像中包含的生物特征信息即为基准生物特征信息,基准生物特征信息与类别编码段存在映射关系。The second biometric image described in the embodiment of the present specification includes a full-body image of the nutrient to be identified, and the biometric information to be identified is the biological characteristic contained in the second biometric image of the nutrient to be identified and related to the category of the nutrient to be identified Information; the biological characteristic information contained in the target image is the reference biological characteristic information, and there is a mapping relationship between the reference biological characteristic information and the category code segment.
确定目标图像并读取包含与目标图像对应的生物特征编码段的身份编码序列后,通过将第二生物特征图像中待识别生物特征信息与所述身份特征编码序列中类别编码段映射的基准生物特征信息进行比对以确定待识别豢养物的身份识别码。After the target image is determined and the identity coding sequence containing the biometric coding segment corresponding to the target image is read, the biometric information to be identified in the second biometric image is mapped to the reference organism in the category coding segment in the identity coding sequence. The characteristic information is compared to determine the identification code of the feed to be identified.
本说明书提供的一个实施例中,所述待识别生物特征信息包括所述待识别豢养物的待识别种类信息,所述类别编码段包括种类编码段;将所述待识别生物特征信息与所述身份编码序列中类别编码段映射的基准生物特征信息进行比对,比对完成后,可根据比对结果以及相似度计算结果查询豢养物的身份识别码,具体的比对过程可通过如下方式实现:在数据库中读取预先根据各个基准生物特征信息与类别编码段的映射关系构建的 映射关系表;在所述映射关系表中查询所述种类编码段映射的基准种类信息;将所述待识别种类信息与所述种类编码段映射的基准种类信息进行比对。In an embodiment provided in this specification, the biological feature information to be identified includes the category information to be identified of the nutrient to be identified, and the category code segment includes a category code segment; and the biological feature information to be identified is combined with the category code segment. The reference biometric information mapped by the category code segment in the identity coding sequence is compared. After the comparison is completed, the identity identification code of the nourishment can be queried according to the comparison result and the similarity calculation result. The specific comparison process can be realized in the following ways : Read the mapping relationship table constructed in advance according to the mapping relationship between each reference biometric information and the category code segment in the database; query the reference category information mapped to the category code segment in the mapping relationship table; compare the to-be-identified The category information is compared with the reference category information mapped by the category code segment.
具体的,所述映射关系表由服务端预先建立并存储于数据库中,并且所述映射关系表中包含各个基准生物特征信息与类别编码段的映射关系,所述种类编码段为豢养物所属种类映射的编码段,由两个字符组成,所述字符包括字母、数字或特殊字符,本说明实施例中,豢养物所属种类包括爬行类、哺乳类、鱼类、两栖类以及昆虫类等。Specifically, the mapping relationship table is pre-established by the server and stored in the database, and the mapping relationship table contains the mapping relationship between each reference biometric information and the category code segment, and the category code segment is the category of the nutrient The mapped code segment consists of two characters. The characters include letters, numbers or special characters. In the embodiment of this description, the types of feeders include reptiles, mammals, fish, amphibians, and insects.
提取第二生物特征图像中待识别豢养物的待识别种类信息后,在映射关系表中查询n个身份编码序列中种类编码段映射的基准种类信息,并通过比对所述待识别种类信息与基准种类信息是否一致以确定所述待识别豢养物的身份识别码。After extracting the to-be-identified species information of the species to be identified in the second biometric image, query the mapping relationship table for the reference species information mapped by the species-coded segments in the n identity coding sequences, and compare the species-to-be-identified information with Whether the reference category information is consistent to determine the identification code of the feed to be identified.
以所述待识别豢养物为宠物狗pet D1为例,读取10个身份编码序列A1、A2、......、A10,提取第二生物特征图像的待识别种类信息,可确定宠物狗pet D1的种类为哺乳类,确定宠物狗pet D1的种类后,需将宠物狗pet D1的待识别种类信息(哺乳类)与10个身份编码序列中种类编码段映射的基准种类信息进行比对,本说明书实施例以获取的10个身份编码序列中的身份编码序列A1为例进行说明,身份编码序列A1中包含的种类编码段为02,在映射关系表中查询02映射的基准种类信息为哺乳类,则将待识别种类信息(哺乳类)与基准种类信息(哺乳类)进行比对获得的结果为比对一致。Take the pet dog pet D1 as an example, read 10 identification code sequences A1, A2,..., A10, extract the type information to be identified of the second biometric image, and determine the pet The type of dog pet D1 is mammalian. After determining the type of pet dog pet D1, the type information (mammals) of pet dog pet D1 to be identified needs to be compared with the reference type information mapped by the type code segment in the 10 identification code sequences. Yes, the embodiment of this specification takes the identity code sequence A1 in the 10 acquired identity code sequences as an example for description. The category code segment contained in the identity code sequence A1 is 02, and the reference category information mapped by 02 is queried in the mapping relationship table. If it is a mammal, the comparison result obtained by comparing the category information to be identified (mammals) with the reference category information (mammals) is consistent.
待识别种类信息与除身份编码序列A1外的其他身份编码序列包含的种类编码段映射的基准种类信息间的比较的具体实现类似,参照与身份编码序列A1中基准种类信息的比较的具体实现即可,在此不再赘述。The specific implementation of the comparison between the category information to be identified and the reference category information mapped from the category code segment contained in other identity coding sequences other than the identity code sequence A1 is similar. Refer to the specific implementation of the comparison with the reference category information in the identity code sequence A1. Yes, I won’t repeat them here.
进一步的,在比对豢养物的种类信息的基础上,还可通过比对品种信息以提高所述待识别豢养物的身份识别结果的准确性。Further, on the basis of comparing the species information of the nutrient, it is also possible to compare the species information to improve the accuracy of the identification result of the nutrient to be identified.
具体的,所述待识别生物特征信息还包括待识别品种信息,所述类别编码段还包括品种编码段;将所述待识别种类信息与所述种类编码段映射的基准种类信息进行比对并获得比对结果之后,将包含比对一致的基准种类信息映射的种类编码段的身份编码序列作为一个新的集合,并将所述待识别品种信息与新的身份编码序列集合中各个身份编码序列包含的品种编码段映射的基准品种信息进行比对,具体可通过以下步骤实现:根据比对结果筛选包含比对一致的种类编码段的身份编码序列作为第一身份编码序列集合;在所述映射关系表中查询所述第一身份编码序列集合中包含的各个身份编码序列中品种编码段映射的基准品种信息;将所述待识别品种信息与所述品种编码段映射的基准品 种信息进行比对。Specifically, the biological feature information to be identified further includes the species information to be identified, and the category code segment also includes a species code segment; the category information to be identified and the reference category information mapped by the category code segment are compared and combined. After the comparison result is obtained, the identity code sequence of the category code segment that contains the aligned reference category information mapping is taken as a new set, and the variety information to be identified is combined with each identity code sequence in the new identity code sequence set The comparison of the reference variety information of the included variety code segment mapping can be specifically achieved by the following steps: according to the comparison result, the identity encoding sequence containing the aligned category encoding segment is selected as the first identity encoding sequence set; Query the reference variety information mapped by the variety code segment in each identity encoding sequence contained in the first identity encoding sequence set in the relationship table; compare the variety information to be identified with the reference variety information mapped by the variety code segment .
具体的,在将待识别种类信息与基准种类信息进行比对之后,根据比对结果筛选包含比对一致的基准种类信息映射的种类编码段的身份编码序列作为第一身份编码序列集合,利用所述第一身份编码序列集合中身份编码序列包含的品种编码段映射的基准品种信息与待识别品种信息进行比对,以缩小比对范围,并且,本说明书实施例所述的品种编码段为豢养物所属品种映射的编码段,由三个字符组成,所述字符包括字母、数字或特殊字符。Specifically, after the category information to be identified is compared with the reference category information, the identity coding sequence containing the category code segment mapped by the reference category information that is consistent with the comparison is selected according to the comparison result as the first identity coding sequence set, and all The reference variety information mapped by the variety code segment contained in the identity encoding sequence in the first identity encoding sequence set is compared with the variety information to be identified, so as to narrow the scope of comparison, and the variety code segment described in the embodiment of this specification is for breeding The code segment of the species mapping of the thing is composed of three characters, and the characters include letters, numbers or special characters.
提取第二生物特征图像中待识别豢养物的待识别品种信息后,在映射关系表中查询第一身份编码序列集合中各个身份编码序列包含的品种编码段映射的基准品种信息,并通过比对所述待识别品种信息与基准品种信息是否一致以确定所述待识别豢养物的身份识别码。After extracting the to-be-identified species information of the nutrient to be identified in the second biometric image, query the mapping relationship table for the reference species information mapped by the species code segment contained in each identity coding sequence in the first identity coding sequence set, and compare it Whether the information of the species to be identified is consistent with the information of the reference species is used to determine the identification code of the nutrient to be identified.
沿用上例,所述待识别豢养物为宠物狗pet D1,则宠物狗的品种包括秋田犬、柴犬以及杜宾犬等,根据比对结果筛选包含比对一致的种类编码段的身份编码序列组成的第一身份编码序列集合S1={A1,A2,A5,A8,A10}。Following the previous example, the pet dog pet D1 to be identified is the pet dog pet D1, and the pet dog breeds include Akita, Shiba Inu, Doberman Pinscher, etc., according to the comparison result, the identity coding sequence composition containing the coding segment of the same species is selected according to the comparison The first identity coding sequence set S1={A1, A2, A5, A8, A10}.
提取第二生物特征图像的待识别种类信息,可确定所述豢养物(宠物狗pet D1)的品种为秋田犬,确定宠物狗pet D1的品种后,需将宠物狗pet D1的待识别品种信息(秋田犬)与第一身份编码序列集合中5个身份编码序列包含的品种编码段映射的基准品种信息进行比对,本说明书实施例以第一身份编码序列集合中的身份编码序列A2为例进行说明,身份编码序列A2包含的品种编码段为334,在映射关系表中查询334映射的基准品种信息为杜宾犬,则将待识别品种信息(秋田犬)与基准品种信息(杜宾犬)进行比对获得的结果为比对不一致。After extracting the information of the species to be identified from the second biometric image, it can be determined that the breed of the animal (pet D1) is an Akita. After determining the species of the pet dog pet D1, the information of the species to be identified of the pet dog pet D1 is required. (Akita Dog) Compare with the reference breed information mapped from the breed code segment contained in the 5 identity coding sequences in the first identity coding sequence set. The embodiment of this specification takes the identity coding sequence A2 in the first identity coding sequence set as an example To illustrate, the breed code segment contained in the identity code sequence A2 is 334, and the reference breed information mapped by 334 is queried in the mapping relationship table as Doberman, then the breed information to be identified (Akita) and the reference breed information (Doberman) ) The result of the comparison is inconsistent.
待识别生物特征信息与第一身份编码序列集合中其他身份编码序列包含的品种编码段映射的基准品种信息间的比较的具体实现类似,参照与身份编码序列A2中基准品种信息的比较的具体实现即可,在此不再赘述。The specific implementation of the comparison between the biometric information to be identified and the reference variety information mapped from the variety code segment contained in the other identity encoding sequences in the first identity encoding sequence set is similar. Refer to the specific implementation of the comparison with the reference variety information in the identity encoding sequence A2 That's it, I won't repeat it here.
更进一步的,在比对待识别豢养物的种类信息以及品种信息的基础上,还可通过比对性别信息以提高所述待识别豢养物的身份识别结果的准确性。Furthermore, on the basis of comparing the type information and species information of the nutrient to be identified, gender information can also be compared to improve the accuracy of the identification result of the nutrient to be identified.
具体的,所述待识别生物特征信息包括待识别性别信息,所述类别编码段包括性别编码段;将所述待识别品种信息与所述品种编码段映射的基准品种信息进行比对并获得比对结果之后,将包含比对一致的基准品种信息映射的品种编码段的身份编码序列作为 一个新的集合,并将所述待识别性别信息与新的身份编码序列集合中各个身份编码序列包含的性别编码段映射的基准性别信息进行比对,具体可通过以下步骤实现:根据比对结果在所述第一身份编码序列集合中筛选包含比对一致的品种编码段的身份编码序列作为第二身份编码序列集合;在所述映射关系表中查询所述第二身份编码序列集合中包含的各个身份编码序列中性别编码段映射的基准性别信息;将所述待识别性别信息与所述性别编码段映射的基准性别信息进行比对。Specifically, the biological feature information to be identified includes gender information to be identified, and the category encoding segment includes a gender encoding segment; the variety information to be identified and the reference variety information mapped by the variety encoding segment are compared and the comparison is obtained. After the results are matched, the identity code sequence of the variety code segment that contains the aligned reference variety information mapping is taken as a new set, and the gender information to be identified is combined with the identity code sequence contained in each identity code sequence in the new identity code sequence set. The comparison of the reference gender information mapped by the gender coding segment can be specifically achieved by the following steps: according to the comparison result, the first identity coding sequence set is selected from the first identity coding sequence set containing the identity coding sequence of the aligned variety coding segment as the second identity Coding sequence set; query the reference gender information mapped to the gender coding segment in each identity coding sequence contained in the second identity coding sequence set in the mapping relationship table; compare the gender information to be identified with the gender coding segment The mapped benchmark gender information is compared.
具体的,在将待识别品种信息与基准品种信息进行比对之后,根据比对结果筛选包含比对一致的基准品种信息映射的品种编码段的身份编码序列作为第二身份编码序列集合,利用所述第二身份编码序列集合中身份编码序列包含的性别编码段映射的基准性别信息与待识别性别信息进行比对,以缩小比对范围,并且,本说明书实施例所述的性别编码段为豢养物所属性别映射的编码段,由一个字符组成,字符X表示豢养物的性别为母、字符Y表示豢养物的性别为公、字符Z表示其他。Specifically, after the variety information to be identified is compared with the reference variety information, the identity coding sequence of the variety code segment containing the reference variety information mapping that is consistent with the comparison is selected according to the comparison result as the second identity coding sequence set, and all the identity coding sequences are used. The reference gender information mapped by the gender coding segment contained in the identity coding sequence in the second identity coding sequence set is compared with the gender information to be identified, so as to narrow the scope of comparison, and the gender coding segment described in the embodiment of the present specification is for cultivating The code segment of the gender mapping of the thing is composed of one character, the character X indicates that the gender of the nurture is female, the character Y indicates that the gender of the nurture is male, and the character Z indicates other.
提取第二生物特征图像中待识别豢养物的待识别性别信息后,在映射关系表中查询第二身份编码序列集合中各个身份编码序列包含的性别编码段映射的基准性别信息,并通过比对所述待识别性别信息与基准性别信息是否一致以确定所述待识别豢养物的身份识别码。After extracting the to-be-identified gender information of the to-be-identified animal in the second biometric image, query the mapping relationship table for the reference gender information mapped by the gender coding segments contained in each identity coding sequence in the second identity coding sequence set, and pass the comparison Whether the gender information to be identified is consistent with the reference gender information to determine the identification code of the nourishment to be identified.
沿用上例,所述待识别豢养物为宠物狗pet D1,则其性别包括公、母,根据比对结果筛选包含比对一致的品种编码段的身份编码序列组成的第二身份编码序列集合S1={A1,A5,A8,A10};提取第二生物特征图像的待识别种类信息,可确定宠物狗pet D1的性别为公,确定宠物狗pet D1的品种后,需将宠物狗pet D1的待识别性别信息(公)与第二身份编码序列集合中4个身份编码序列包含的性别编码段映射的基准性别信息进行比对,具体的比对过程与前述待识别种类信息与基准种类信息的比对过程类似,在此不再赘述。Following the above example, the animal to be identified is pet dog pet D1, and its gender includes male and female. According to the comparison result, the second identity coding sequence set S1 consisting of the identity coding sequences of the aligned breed coding segments is selected. ={A1, A5, A8, A10}; extract the type information to be recognized from the second biometric image to determine the gender of the pet dog pet D1 as male. After determining the breed of the pet dog pet D1, the pet dog pet D1's The gender information (public) to be identified is compared with the reference gender information mapped from the gender coding segments contained in the 4 identity coding sequences in the second identity coding sequence set. The specific comparison process is the same as the aforementioned information about the type to be identified and the reference type information. The comparison process is similar, so I won't repeat it here.
根据范围由大到小依次将种类信息、品种信息以及性别信息与基准信息进行比对,并且每次比对完成后,根据比对结果生成一个新的身份编码序列集合,有利于缩小下一次的比对范围,进一步提升豢养物的身份识别效率。According to the range from large to small, the category information, breed information, and gender information are compared with the benchmark information, and after each comparison is completed, a new set of identity coding sequences is generated according to the comparison result, which is beneficial to narrow the next time. The scope of comparison further improves the efficiency of identification of feeds.
除通过比对待识别豢养物的类别信息(种类信息、品种信息以及性别信息)外,还可通过比对属性信息以提高所述待识别豢养物的身份识别结果的准确性。In addition to comparing the category information (type information, variety information, and gender information) of the nutrient to be identified, the attribute information can also be compared to improve the accuracy of the identification result of the nutrient to be identified.
本说明书提供的一个实施例中,身份特征编码序列除包含生物特征编码段和类别编 码段外,还包括属性编码段;将所述待识别生物特征信息与所述类别编码段映射的基准生物特征信息进行比对并获得比对结果之后,将包含比对一致的基准生物特征信息映射的类别编码段的身份编码序列作为一个新的集合,并将所述待识别属性信息与新的身份编码序列集合中各个身份编码序列包含的属性编码段映射的基准属性信息进行比对,具体可通过以下步骤实现:根据比对结果筛选包含比对一致的类别编码段的身份编码序列作为第四身份编码序列集合;提取所述第一生物特征图像或所述第二生物特征图像的待识别属性信息,将所述待识别属性信息与所述第四身份编码序列集合中各个身份编码序列包含的属性编码段映射的基准属性信息进行比对。In an embodiment provided in this specification, the identity feature coding sequence includes not only a biometric coding segment and a category coding segment, but also an attribute coding segment; a reference biometric that maps the biological feature information to be identified with the category coding segment After the information is compared and the result of the comparison is obtained, the identity coding sequence of the category coding segment that contains the matched reference biometric information mapping is taken as a new set, and the attribute information to be identified is combined with the new identity coding sequence The comparison of the reference attribute information mapped to the attribute coding segments contained in each identity coding sequence in the set can be specifically achieved through the following steps: according to the comparison result, the identity coding sequence containing the aligned category coding segment is selected as the fourth identity coding sequence Set; extract the to-be-identified attribute information of the first biometric image or the second biometric image, and combine the to-be-identified attribute information with the attribute code segment contained in each identity coding sequence in the fourth identity coding sequence set The mapped base attribute information is compared.
具体的,提取第一生物特征图像或第二生物特征图像中待识别豢养物的待识别属性信息后,在映射关系表中查询第四身份编码序列集合中各个身份编码序列包含的属性编码段映射的基准属性信息,并通过比对所述待识别属性信息与基准属性信息是否一致以确定所述待识别豢养物的身份识别码。Specifically, after extracting the to-be-identified attribute information of the nourishment to be identified in the first biometric image or the second biometric image, query the mapping relationship table for the attribute code segment mapping contained in each identity code sequence in the fourth identity code sequence set And determine the identity identification code of the feeder to be identified by comparing whether the attribute information to be identified is consistent with the reference attribute information.
本说明书提供的一个实施例中,所述待识别属性信息包括待识别年龄信息,所述属性编码段包括年龄编码段;将所述待识别属性信息与所述身份编码序列中属性编码段映射的基准属性信息进行比对,具体可通过以下步骤实现:将所述第一生物特征图像或所述第二生物特征图像输入预先训练的年龄识别模型,获取输出的年龄识别结果作为所述待识别年龄信息;判断所述年龄编码段映射的基准年龄信息是否属于所述待识别年龄信息中包含的年龄区间;若是,则确定将所述待识别年龄信息与所述年龄编码段映射的基准年龄信息进行比对的比对结果为比对一致。In an embodiment provided in this specification, the attribute information to be identified includes age information to be identified, and the attribute encoding segment includes an age encoding segment; and the attribute information to be identified is mapped to the attribute encoding segment in the identity encoding sequence. The comparison of reference attribute information can be specifically achieved by the following steps: input the first biometric image or the second biometric image into a pre-trained age recognition model, and obtain the output age recognition result as the age to be recognized Information; determine whether the reference age information mapped by the age code segment belongs to the age range contained in the age information to be identified; if so, determine whether the age information to be identified and the reference age information mapped by the age code segment are mapped The comparison result of the comparison is consistent.
具体的,将第一生物特征图像或第二生物特征图像输入预先训练的年龄识别模型,获取模型输出的所述待识别豢养物的年龄区间,判断第四身份编码序列集合中各个身份编码序列包含的年龄编码段映射的基准年龄信息是否属于所述年龄区间,若是,则比对一致;并且,本说明书实施例所述的年龄编码段由8位数字组成,即由豢养物的出生年(前4位)月(第5至6位)日(第7至8位)组成。Specifically, the first biometric image or the second biometric image is input into a pre-trained age recognition model, the age range of the nourishment to be recognized output by the model is obtained, and it is determined that each identity code sequence in the fourth identity code sequence set contains Whether the reference age information mapped by the age code segment belongs to the age range, if so, the comparison is consistent; and the age code segment described in the embodiment of this specification is composed of 8 digits, that is, the birth year of the nurture (previous 4) month (5th to 6th) and day (7th to 8th).
沿用上例,所述待识别豢养物为宠物狗pet D1,年龄预测模型输出的宠物狗pet D1的年龄区间为3至4岁,第四身份编码序列中身份编码序列A10包含的年龄编码段映射的基准年龄信息为4岁,则待识别年龄信息与身份编码序列A10包含的年龄编码段映射的基准年龄信息进行比对的结果为比对一致;待识别年龄信息与第四身份编码序列集合中其他身份编码序列包含的年龄编码段映射的基准年龄信息间的比较的具体实现类似, 参照与身份编码序列A10中基准年龄信息的比较的具体实现即可,在此不再赘述。Following the previous example, the pet dog pet D1 to be identified is the pet dog pet D1, the age range of the pet dog pet D1 output by the age prediction model is 3 to 4 years old, and the age code segment mapping contained in the identity code sequence A10 in the fourth identity code sequence If the reference age information of is 4 years old, the comparison result of the comparison between the age information to be identified and the reference age information mapped by the age code segment contained in the identity code sequence A10 is consistent; the age information to be identified is in the fourth identity code sequence set The specific implementation of the comparison between the reference age information mapped by the age code segment included in other identity code sequences is similar, and the specific implementation of the comparison with the reference age information in the identity code sequence A10 can be referred to, which will not be repeated here.
除通过比对待识别豢养物的类别信息(种类信息、品种信息以及性别信息)以及年龄信息外,还可比对位置属性信息以提高所述待识别豢养物的身份识别结果的准确性。In addition to comparing the category information (category information, species information, and gender information) and age information of the feeder to be identified, the location attribute information can also be compared to improve the accuracy of the identification result of the feeder to be identified.
本说明书提供的一个实施例中,所述待识别属性信息还包括待识别位置属性信息,所述属性编码段包括位置编码段;将所述待识别年龄信息与所述年龄编码段映射的基准年龄信息进行比对并获得比对结果之后,将包含比对一致的基准年龄信息映射的年龄编码段的身份编码序列作为一个新的集合,并将所述待识别位置信息与新的集合中各个身份编码序列包含的位置编码段映射的基准位置信息进行比对,具体可通过以下步骤实现:根据比对结果筛选包含比对一致的年龄编码段的身份编码序列作为第五身份编码序列集合;检测所述第一生物特征图像或所述第二生物特征图像中是否携带位置属性信息;若是,则提取所述位置属性信息作为所述待识别位置属性信息,将所述待识别位置属性信息与所述第五身份编码序列集合中各个身份编码序列包含的位置编码段映射的基准位置属性信息进行比对。In an embodiment provided in this specification, the attribute information to be identified further includes attribute information of the location to be identified, and the attribute encoding segment includes a location encoding segment; the reference age for mapping the age information to be identified with the age encoding segment After the information is compared and the comparison result is obtained, the identity coding sequence of the age code segment mapped by the reference age information that is consistent with the comparison is taken as a new set, and the location information to be identified is compared with each identity in the new set. The comparison of the reference position information mapped by the position coding segment contained in the coding sequence can be specifically achieved by the following steps: screening the identity coding sequence containing the aligned age coding segment as the fifth identity coding sequence set according to the comparison result; Whether the first biometric image or the second biometric image carries location attribute information; if so, extract the location attribute information as the location attribute information to be identified, and combine the location attribute information to be identified with the In the fifth identity coding sequence set, the reference position attribute information mapped to the position coding segment contained in each identity coding sequence is compared.
具体的,在将待识别年龄信息与基准年龄信息进行比对之后,根据比对结果筛选包含比对一致的基准年龄信息映射的年龄编码段的身份编码序列作为第五身份编码序列集合,利用所述第五身份编码序列集合中身份编码序列包含的位置编码段映射的基准位置信息与待识别位置信息进行比对,以缩小比对范围。并且,本说明书实施例所述的位置编码段由6位数字组成,前两位为豢养物所在省(市)、中间两位为豢养物所在市(区)、最后两位为豢养物所在县。Specifically, after comparing the age information to be identified with the reference age information, the identity coding sequence containing the age coding segment mapped by the reference age information mapping consistent with the comparison is selected according to the comparison result as the fifth identity coding sequence set, using all The reference position information mapped to the position coding segment included in the identity coding sequence in the fifth identity coding sequence set is compared with the position information to be identified, so as to narrow the comparison scope. In addition, the position code segment described in the embodiment of this specification consists of 6 digits, the first two are the province (city) where the feed is located, the middle two are the city (district) where the feed is located, and the last two are the county where the feed is located. .
本说明书实施例中,位置属性信息可通过查询第一生物特征图像或第二生物特征图像的图像属性信息获取;并且图像属性信息中携带的位置信息多为位置坐标,在比对过程中需将位置坐标转化为具体的位置信息;在检测到第一生物特征图像或第二生物特征图像中携带位置信息后,提取位置信息,将位置信息作为待识别位置信息与第五身份编码序列集合中各个身份编码序列包含的位置编码段映射的基准位置信息进行比对,具体的比对过程与前述比对过程类似,在此不再赘述。In the embodiment of this specification, the position attribute information can be obtained by querying the image attribute information of the first biometric image or the second biometric image; and the position information carried in the image attribute information is mostly the position coordinates, which need to be compared during the comparison process. The position coordinates are converted into specific position information; after detecting that the first biometric image or the second biometric image carries the position information, the position information is extracted, and the position information is used as the position information to be identified and each of the fifth identity coding sequence set The reference position information mapped by the position coding segment included in the identity coding sequence is compared. The specific comparison process is similar to the foregoing comparison process, and will not be repeated here.
步骤108,根据所述身份编码序列中包含的比对一致的编码段数以及所述相似度计算结果查询目标身份编码序列,并将所述目标身份编码序列作为所述待识别豢养物的身份识别码。Step 108: Query the target identity coding sequence according to the number of aligned coding segments contained in the identity coding sequence and the similarity calculation result, and use the target identity coding sequence as the identity identification code of the nutrient to be identified .
具体的,身份编码序列中的编码段分别映射一种基准生物特征信息,比对完成后,将包含比对一致的基准生物特征信息映射的编码段数最多的身份编码序列确定为目标身份编码序列,若存在两个或两个以上身份编码序列中包含的比对一致的基准生物特征信息映射的编码段数最多且相等,则将包含相似度较大的目标图像对应的生物特征编码段的身份编码序列确定为目标身份编码序列。Specifically, the coding segments in the identity coding sequence are respectively mapped to a kind of reference biometric information, and after the comparison is completed, the identity coding sequence with the largest number of coding segments that contains the aligned reference biometric information mapping is determined as the target identity coding sequence, If there are two or more identity coding sequences that contain the most consistent and identical reference biometric information mapping coding segments, the identity coding sequence of the biometric coding segment corresponding to the target image with greater similarity will be included. Determined as the target identity coding sequence.
本说明书提供的一个实施例中,所述根据所述身份编码序列中包含的比对一致的编码段数以及所述相似度计算结果查询目标身份编码序列,具体可通过以下步骤实现:将所述身份编码序列中类别编码段映射的与所述待识别生物特征信息比对一致的生物特征信息的数目确定为所述身份编码序列中包含的比对一致的编码段数;筛选包含比对一致的编码段数最多的身份编码序列并基于筛选结果构建第三身份编码序列集合;判断所述第三身份编码序列集合中身份编码序列个数是否等于1;若是,则将所述第三身份编码序列集合中的身份编码序列确定为所述目标身份编码序列;若否,则将所述第三身份编码序列集合中包含与所述第一生物特征图像的相似度最高的目标图像对应的生物特征编码段的身份编码序列确定为所述目标身份编码序列。In an embodiment provided in this specification, the query of the target identity coding sequence based on the number of aligned coding segments contained in the identity coding sequence and the similarity calculation result can be specifically achieved by the following steps: The number of biometric information that is consistent with the comparison of the biological feature information to be identified mapped from the category coding segment in the coding sequence is determined as the number of aligned code segments included in the identity coding sequence; the number of code segments that contain the aligned consistency is selected. And construct a third set of identity coding sequences based on the screening results; determine whether the number of identity coding sequences in the third identity coding sequence set is equal to 1; if so, the third identity coding sequence set The identity coding sequence is determined as the target identity coding sequence; if not, the third identity coding sequence set includes the identity of the biometric coding segment corresponding to the target image with the highest similarity to the first biometric image The coding sequence is determined as the target identity coding sequence.
具体的,在上述将待识别性别信息与性别编码段映射的基准性别信息进行比对并获得比对结果的基础上,所述根据所述身份编码序列中包含的比对一致的编码段数以及所述相似度计算结果查询目标身份编码序列,并将所述目标身份编码序列作为所述待识别豢养物的身份识别码,即根据所述第二身份编码序列集合中各个身份编码序列包含的比对一致的编码段数以及所述相似度计算结果,在所述第二身份编码序列集合中查询所述目标身份编码序列,并将所述目标身份编码序列作为所述待识别豢养物的身份识别码。Specifically, on the basis of comparing the gender information to be identified with the reference gender information mapped to the gender code segment and obtaining a comparison result, the number of code segments that are consistent according to the comparison contained in the identity code sequence and all the code segments are compared. The similarity calculation result queries the target identity coding sequence, and uses the target identity coding sequence as the identity identification code of the food to be identified, that is, according to the alignment contained in each identity coding sequence in the second identity coding sequence set Consistent number of code segments and the similarity calculation result, query the target identity coding sequence in the second identity coding sequence set, and use the target identity coding sequence as the identity identification code of the nutrient to be identified.
在将待识别位置属性信息与第五身份编码序列集合中各个身份编码序列包含的位置编码段映射的基准位置属性信息进行比对并获得比对结果后,所述根据所述身份编码序列中包含的比对一致的编码段数以及所述相似度计算结果查询目标身份编码序列,并将所述目标身份编码序列作为所述待识别豢养物的身份识别码,即根据所述第五身份编码序列集合中各个身份编码序列包含的比对一致的编码段数以及所述相似度计算结果查询目标身份编码序列,并将所述目标身份编码序列作为所述待识别豢养物的身份识别码。After comparing the attribute information of the position to be identified with the reference position attribute information mapped from the position coding segment contained in each identity coding sequence in the fifth identity coding sequence set and obtaining the result of the comparison, the said identity coding sequence contains The number of coding segments consistent with the comparison and the similarity calculation result query the target identity coding sequence, and use the target identity coding sequence as the identity identification code of the nourishment to be identified, that is, according to the fifth identity coding sequence set The number of aligned coding segments contained in each identity coding sequence and the similarity calculation result query the target identity coding sequence, and use the target identity coding sequence as the identity identification code of the nutrient to be identified.
以最终确定的所述待识别豢养物的身份识别码为340827,20141019,02,334,X,100008为例,其中,前6位为豢养物主人身份证前6位,可用于表示豢养物所属位置;第7至14位为豢养物的出生日期,可用于表示豢养物的年龄;并且1至14位为属性信 息编码段;第15至16位表示豢养物所属种类;第17至19位表示豢养物所属品种;第20位表示豢养物的性别;并且第15至20位为类别编码段;第21至26位为豢养物的生物特征编码段;确定待识别豢养物的身份识别码后,保险服务机构可通过所述身份识别码查询待识别豢养物的历史投保记录以及历史医疗诊断信息以为待识别豢养物推荐合适的险种。Take the final identification code of the food to be identified as 340827, 20141019, 02,334, X, 100008 as an example, where the first 6 digits are the first 6 digits of the owner’s ID card, which can be used to indicate the identity of the food. Location; the 7th to 14th digits are the birth date of the feeder, which can be used to indicate the age of the feeder; and the 1st to 14th digits are the attribute information coding segment; the 15th to 16th digits represent the category of the feeder; the 17th to 19th digits represent The species to which the feed belongs; the 20th position represents the gender of the feed; and the 15th to 20th bits are the category code segment; the 21st to 26th bits are the biometric code segment of the feed; after the identification code of the feed to be identified is determined, The insurance service institution can query the historical insurance record and historical medical diagnosis information of the nutriment to be identified through the identification code to recommend suitable insurance types for the nutriment to be identified.
本说明书实施例采用图像识别的方式,对图像中豢养物的生物特征信息进行识别,并将所述生物特征信息与数据库中预先存储的豢养物的电子身份证的字段进行比对以对待识别豢养物进行身份识别,提高了豢养物身份识别方法的可行性,并且通过拍摄的方式识别豢养物的身份,不仅保障了豢养物的安全,还可以提升对豢养物的身份进行识别的便利性。The embodiment of this specification adopts the method of image recognition to identify the biometric information of the feeder in the image, and compares the biometric information with the field of the electronic ID card of the feeder pre-stored in the database to identify the feeder. The identification of the animal raises the feasibility of the method of identifying the animal, and the identification of the animal’s identity by shooting not only ensures the safety of the animal, but also improves the convenience of identifying the identity of the animal.
下述结合附图2,以本说明书提供的豢养物身份识别方法在保险项目的应用为例,对所述豢养物身份识别方法进行进一步说明。其中,图2示出了本说明书一个实施例提供的一种豢养物身份识别方法应用于保险项目的处理流程图,具体步骤包括步骤202至步骤218。In the following, in conjunction with FIG. 2, the application of the method for identifying the nutriment provided in this specification in insurance items is taken as an example to further illustrate the method for identifying the nutriment ID. Wherein, FIG. 2 shows a processing flow chart of a method for identification of a nourishment provided by an embodiment of the present specification applied to an insurance project. The specific steps include step 202 to step 218.
步骤202,获取宠物狗pet D1的第一生物特征图像以及第二生物特征图像,计算所述第一生物特征图像与数据库中多个宠物狗的基准生物特征图像的相似度。Step 202: Obtain the first biometric image and the second biometric image of the pet dog pet D1, and calculate the similarity between the first biometric image and reference biometric images of multiple pet dogs in the database.
具体的,在接收到用户针对宠物狗pet D1发送的投保请求时,需通过获取宠物狗pet D1的生物特征图像以对其进行身份识别,以确定宠物狗pet D1的历史投保记录以及历史就诊数据,并根据所述历史投保记录和历史就诊数据为宠物狗pet D1确定合适的投保险种。Specifically, when receiving the insurance request sent by the user for pet dog pet D1, it is necessary to obtain the biometric image of pet dog pet D1 to identify it to determine the pet dog pet D1's historical insurance record and historical medical treatment data , And determine the appropriate insurance type for pet D1 based on the historical insurance record and historical medical visit data.
步骤204,判断相似度计算结果是否满足预设相似度阈值。Step 204: Determine whether the similarity calculation result meets a preset similarity threshold.
具体的,判断所述相似度计算结果中是否存在宠物狗的基准生物特征图像与所述第一生物特征图像的相似度满足预设相似度阈值;若是,则执行步骤206;若否,则执行步骤208。Specifically, it is judged whether the similarity between the reference biometric image of the pet dog and the first biometric image meets the preset similarity threshold in the similarity calculation result; if yes, go to step 206; if not, go to Step 208.
步骤206,将包含所述基准生物图像对应的生物特征编码段的身份编码序列作为目标身份编码序列。Step 206: Use the identity coding sequence containing the biometric code segment corresponding to the reference biological image as the target identity coding sequence.
步骤208,将相似度计算结果中满足预设条件的基准生物特征图像作为目标图像,读取包含与所述目标图像对应的生物特征编码段的身份编码序列。Step 208: Taking the reference biometric image that meets the preset conditions in the similarity calculation result as the target image, and reading the identity coding sequence containing the biometric coding segment corresponding to the target image.
具体的,若任意一个基准生物特征图像与所述第一生物特征图像的相似度均小于等于预设相似度阈值,则需根据相似度计算结果选取满足预设条件的n个相似度较大的基准生物特征图像作为目标图像,其中n为正整数。Specifically, if the similarity between any reference biometric image and the first biometric image is less than or equal to the preset similarity threshold, it is necessary to select n larger similarities that meet the preset conditions according to the similarity calculation result. The reference biometric image is used as the target image, where n is a positive integer.
步骤210,提取所述第二生物特征图像的待识别生物特征信息,将所述待识别生物特征信息与所述身份编码序列中类别编码段映射的基准生物特征信息进行比对。Step 210: Extract the to-be-identified biological characteristic information of the second biological characteristic image, and compare the to-be-identified biological characteristic information with the reference biological characteristic information mapped by the category code segment in the identity coding sequence.
具体的,所述待识别生物特征信息包括待识别种类信息、待识别品种信息以及待识别性别信息;所述类别编码段包括种类编码段、品种编码段以及性别编码段。Specifically, the biological feature information to be identified includes category information to be identified, species information to be identified, and gender information to be identified; the category encoding segment includes a category encoding segment, a variety encoding segment, and a gender encoding segment.
步骤212,根据比对结果筛选包含比对一致的类别编码段的身份编码序列作为身份编码序列集合。Step 212: According to the comparison result, the identity coding sequence containing the aligned category coding segment is selected as the identity coding sequence set.
步骤214,提取所述第一生物特征图像或所述第二生物特征图像的待识别属性信息,将所述待识别属性信息与所述身份编码序列集合中各个身份编码序列包含的属性编码段映射的基准属性信息进行比对。Step 214: Extract the to-be-identified attribute information of the first biometric image or the second biometric image, and map the to-be-identified attribute information to the attribute code segment contained in each identity coding sequence in the identity coding sequence set The benchmark attribute information for comparison.
具体的,所述待识别属性信息包括待识别年龄信息以及待识别位置信息;所述属性编码段包括年龄编码段以及位置编码段。Specifically, the attribute information to be identified includes age information to be identified and location information to be identified; the attribute encoding segment includes an age encoding segment and a location encoding segment.
步骤216,根据所述身份编码序列中包含的比对一致的编码段数以及所述相似度计算结果查询目标身份编码序列,并将所述目标身份编码序列作为所述宠物狗pet D1的身份识别码。Step 216: Query the target identity coding sequence according to the number of aligned coding segments included in the identity coding sequence and the similarity calculation result, and use the target identity coding sequence as the identification code of the pet dog pet D1 .
具体的,身份编码序列中的编码段分别映射一种基准生物特征信息,比对完成后,将包含比对一致的基准生物特征信息映射的编码段数最多的身份编码序列确定为目标身份编码序列,若存在两个或两个以上身份编码序列中包含的比对一致的基准生物特征信息映射的编码段数最多且相等,则将包含相似度较大的目标图像对应的生物特征编码段的身份编码序列确定为目标身份编码序列,并将所述目标身份编码序列作为宠物狗的身份识别码。Specifically, the coding segments in the identity coding sequence are respectively mapped to a kind of reference biometric information, and after the comparison is completed, the identity coding sequence with the largest number of coding segments that contains the aligned reference biometric information mapping is determined as the target identity coding sequence, If there are two or more identity coding sequences that contain the most consistent and identical reference biometric information mapping coding segments, the identity coding sequence of the biometric coding segment corresponding to the target image with greater similarity will be included. It is determined as the target identity coding sequence, and the target identity coding sequence is used as the identification code of the pet dog.
步骤218,利用所述身份识别码查询宠物狗pet D1的历史投保记录以及历史就诊记录,根据所述历史投保记录以及历史就诊记录为宠物狗pet D1确定险种类型。Step 218: Use the identification code to query the historical insurance application records and medical visit records of the pet dog pet D1, and determine the insurance type for the pet dog pet D1 based on the historical insurance application records and historical medical visit records.
本说明书实施例采用图像识别的方式,对图像中宠物狗的生物特征信息进行识别,并将所述生物特征信息与数据库中预先存储的宠物狗的电子身份证的不同编码段映射的基准生物特征信息进行比对以对宠物狗进行身份识别,提高了宠物狗身份识别方法 的可行性,并且通过拍摄的方式识别宠物狗的身份,不仅保障了豢养物的安全,还可以提升对宠物狗的身份进行识别的便利性。The embodiment of this specification adopts the method of image recognition to identify the biometric information of the pet dog in the image, and maps the biometric information with the reference biometrics of the different code segments of the pet dog’s electronic ID card stored in the database. The information is compared to identify the pet dog, which improves the feasibility of the pet dog identification method, and the identification of the pet dog's identity by shooting, not only guarantees the safety of the feed, but also improves the identity of the pet dog Convenience of identification.
与上述方法实施例相对应,本说明书还提供了豢养物身份识别装置实施例,图3示出了本说明书一个实施例提供的一种豢养物身份识别装置的结构示意图。如图3所示,该装置包括:相似度计算模块302,被配置为获取待识别豢养物的第一生物特征图像以及第二生物特征图像,并计算所述第一生物特征图像与数据库中多个豢养物的基准生物特征图像的相似度;读取模块304,被配置为将相似度计算结果中满足预设条件的基准生物特征图像作为目标图像,读取包含与所述目标图像对应的生物特征编码段的身份编码序列;比对模块306,被配置为提取所述第二生物特征图像的待识别生物特征信息,将所述待识别生物特征信息与所述身份编码序列中类别编码段映射的基准生物特征信息进行比对;查询模块308,被配置为根据所述身份编码序列中包含的比对一致的编码段数以及所述相似度计算结果查询目标身份编码序列,并将所述目标身份编码序列作为所述待识别豢养物的身份识别码。Corresponding to the above-mentioned method embodiments, this specification also provides an embodiment of a feeder identification device, and FIG. 3 shows a schematic structural diagram of a feeder identification device provided by an embodiment of this specification. As shown in FIG. 3, the device includes: a similarity calculation module 302, configured to obtain a first biometric image and a second biometric image of the nutrient to be identified, and calculate the difference between the first biometric image and the database. The similarity of the reference biometric image of each nutrient; the reading module 304 is configured to use the reference biometric image that meets the preset conditions in the similarity calculation result as the target image, and read the biological image that contains the corresponding target image. The identity coding sequence of the characteristic coding segment; the comparison module 306 is configured to extract the biological characteristic information to be recognized of the second biological characteristic image, and map the biological characteristic information to be recognized with the category coding segment in the identity coding sequence Querying module 308 is configured to query the target identity coding sequence according to the number of aligned coding segments contained in the identity coding sequence and the similarity calculation result, and compare the target identity The coding sequence serves as the identification code of the nutrient to be identified.
可选地,所述待识别生物特征信息包括待识别种类信息,所述类别编码段包括种类编码段;相应的,所述比对模块306,包括:映射关系表读取子模块,被配置为在数据库中读取预先根据各个基准生物特征信息与类别编码段的映射关系构建的映射关系表;基准种类信息查询子模块,被配置为在所述映射关系表中查询所述种类编码段映射的基准种类信息;种类信息比对子模块,被配置为将所述待识别种类信息与所述种类编码段映射的基准种类信息进行比对。Optionally, the biometric information to be identified includes the category information to be identified, and the category code segment includes a category code segment; correspondingly, the comparison module 306 includes: a mapping relationship table reading sub-module configured to Read in the database a mapping relationship table constructed in advance based on the mapping relationship between each reference biometric information and the category code segment; the reference category information query sub-module is configured to query the category code segment mapping in the mapping relationship table Reference category information; a category information comparison sub-module configured to compare the category information to be identified with the reference category information mapped by the category code segment.
可选地,所述待识别生物特征信息还包括待识别品种信息,所述类别编码段还包括品种编码段;相应的,所述比对模块306,还包括:第一身份编码序列筛选子模块,被配置为根据比对结果筛选包含比对一致的种类编码段的身份编码序列作为第一身份编码序列集合;基准品种信息查询子模块,被配置为在所述映射关系表中查询所述第一身份编码序列集合中包含的各个身份编码序列中品种编码段映射的基准品种信息;品种信息比对子模块,被配置为将所述待识别品种信息与所述品种编码段映射的基准品种信息进行比对。Optionally, the biometric information to be identified further includes information about the species to be identified, and the category code segment also includes a species code segment; correspondingly, the comparison module 306 further includes: a first identity code sequence screening submodule , Is configured to screen the identity coding sequence containing the aligned category coding segment as the first identity coding sequence set according to the comparison result; the reference species information query sub-module is configured to query the first identity coding sequence in the mapping relationship table The reference variety information mapped to the variety code segment in each identity encoding sequence included in an identity encoding sequence set; the variety information comparison sub-module is configured to map the reference variety information to the variety code segment to be identified Compare.
可选地,所述待识别生物特征信息还包括待识别性别信息,所述类别编码段还包括性别编码段;相应的,所述比对模块306,还包括:第二身份编码序列筛选子模块,被配置为根据比对结果在所述第一身份编码序列集合中筛选包含比对一致的品种编码 段的身份编码序列作为第二身份编码序列集合;基准性别信息查询子模块,被配置为在所述映射关系表中查询所述第二身份编码序列集合中包含的各个身份编码序列中性别编码段映射的基准性别信息;性别信息比对子模块,被配置为将所述待识别性别信息与所述性别编码段映射的基准性别信息进行比对。Optionally, the biometric information to be identified further includes gender information to be identified, and the category code segment also includes a gender code segment; correspondingly, the comparison module 306 further includes: a second identity code sequence screening submodule , Configured to screen the first identity coding sequence set containing the identity coding sequence of the aligned variety coding segment as the second identity coding sequence set according to the comparison result; the reference gender information query sub-module is configured to The mapping relationship table is queried for reference gender information mapped to gender coding segments in each identity coding sequence contained in the second identity coding sequence set; a gender information comparison sub-module is configured to compare the gender information to be identified with The reference gender information mapped by the gender coding segment is compared.
可选地,所述查询模块308,包括:第一查询子模块,被配置为根据所述第二身份编码序列集合中各个身份编码序列包含的比对一致的编码段数以及所述相似度计算结果,在所述第二身份编码序列集合中查询所述目标身份编码序列,并将所述目标身份编码序列作为所述待识别豢养物的身份识别码。Optionally, the query module 308 includes: a first query sub-module configured to compare the number of identical coding segments contained in each identity coding sequence in the second identity coding sequence set and the similarity calculation result Query the target identity coding sequence in the second identity coding sequence set, and use the target identity coding sequence as the identity identification code of the food to be identified.
可选地,所述查询模块308,包括:确定子模块,被配置为将所述身份编码序列中类别编码段映射的与所述待识别生物特征信息比对一致的生物特征信息的数目确定为所述身份编码序列中包含的比对一致的编码段数;筛选子模块,被配置为筛选包含比对一致的编码段数最多的身份编码序列作为第三身份编码序列集合;判断子模块,被配置为判断所述第三身份编码序列集合中身份编码序列个数是否等于1;若所述判断子模块的执行结果为是,则运行第一目标身份编码序列确定子模块;所述第一目标身份编码序列确定子模块,被配置为将所述第三身份编码序列集合中的身份编码序列确定为所述目标身份编码序列;若所述判断子模块的执行结果为否,则运行第二目标身份编码序列确定子模块;所述第二目标身份编码序列确定子模块,被配置为将所述第三身份编码序列集合中包含与所述第一生物特征图像的相似度最高的目标图像对应的生物特征编码段的身份编码序列确定为所述目标身份编码序列。Optionally, the query module 308 includes: a determining sub-module configured to determine the number of biometric information that is consistent with the biometric information to be identified, which is mapped to the category code segment in the identity coding sequence, as The number of aligned coding segments contained in the identity coding sequence; a screening sub-module configured to screen the identity coding sequence containing the largest number of aligned coding segments as the third identity coding sequence set; the judging sub-module is configured to Determine whether the number of identity coding sequences in the third identity coding sequence set is equal to 1; if the execution result of the judgment submodule is yes, run the first target identity coding sequence determination submodule; the first target identity coding The sequence determination sub-module is configured to determine the identity coding sequence in the third identity coding sequence set as the target identity coding sequence; if the execution result of the judgment submodule is no, run the second target identity coding Sequence determination submodule; the second target identity coding sequence determination submodule is configured to include the biometric feature corresponding to the target image with the highest similarity to the first biometric image in the third identity coding sequence set The identity coding sequence of the coding segment is determined as the target identity coding sequence.
可选地,所述豢养物身份识别装置,还包括:判断模块,被配置为判断所述相似度计算结果中是否存在任意一个豢养物的基准生物特征图像与所述第一生物特征图像的相似度满足预设相似度阈值;若所述判断模块的执行结果为否,则运行所述读取模块。Optionally, the nutrient identity recognition device further includes: a judging module configured to determine whether there is a similarity between the reference biometric image of any nutrient and the first biometric image in the similarity calculation result The degree meets the preset similarity threshold; if the execution result of the judgment module is no, the reading module is run.
可选地,所述身份编码序列还包括属性编码段;相应的,所述豢养物身份识别装置,还包括:身份编码序列筛选模块,被配置为根据比对结果筛选包含比对一致的类别编码段的身份编码序列作为第四身份编码序列集合;属性信息比对模块,被配置为提取所述第一生物特征图像或所述第二生物特征图像的待识别属性信息,将所述待识别属性信息与所述第四身份编码序列集合中各个身份编码序列包含的属性编码段映射的基准属性信息进行比对。Optionally, the identity coding sequence further includes an attribute coding segment; correspondingly, the nurture identity recognition device further includes: an identity coding sequence screening module configured to screen the category codes that contain the alignment consistency according to the comparison result Segment of the identity coding sequence as the fourth identity coding sequence set; the attribute information comparison module is configured to extract the to-be-identified attribute information of the first biometric image or the second biometric image, and compare the to-be-identified attribute information The information is compared with the reference attribute information mapped by the attribute code segment contained in each identity code sequence in the fourth identity code sequence set.
可选地,所述待识别属性信息包括待识别年龄信息,所述属性编码段包括年龄编码段;相应的,所述属性信息比对模块,包括:待识别年龄信息确定子模块,被配置为将所述第一生物特征图像或所述第二生物特征图像输入预先训练的年龄识别模型,获取输出的年龄识别结果作为所述待识别年龄信息;年龄信息判断子模块,被配置为判断所述年龄编码段映射的基准年龄信息是否属于所述待识别年龄信息中包含的年龄区间;若所述年龄信息判断子模块的执行结果为是,则运行比对结果确定子模块;所述比对结果确定子模块,被配置为确定将所述待识别年龄信息与所述年龄编码段映射的基准年龄信息进行比对的比对结果为比对一致。Optionally, the attribute information to be identified includes age information to be identified, and the attribute code segment includes an age code segment; correspondingly, the attribute information comparison module includes: a submodule for determining age information to be identified, configured to The first biometric image or the second biometric image is input to a pre-trained age recognition model, and the output age recognition result is obtained as the age information to be recognized; the age information judgment sub-module is configured to judge the Whether the reference age information mapped by the age code segment belongs to the age range included in the age information to be identified; if the execution result of the age information judging submodule is yes, run the comparison result determination submodule; the comparison result The determining sub-module is configured to determine that the comparison result of the comparison between the to-be-identified age information and the reference age information mapped by the age code segment is consistent.
可选地,所述待识别属性信息还包括待识别位置属性信息,所述属性编码段包括位置编码段;相应的,所述属性信息比对模块,还包括:身份编码序列集合确定子模块,被配置为根据比对结果筛选包含比对一致的年龄编码段的身份编码序列作为第五身份编码序列集合;位置属性信息检测子模块,被配置为检测所述第一生物特征图像或所述第二生物特征图像中是否携带位置属性信息;若所述位置属性信息检测子模块的执行结果为是,则运行位置属性信息比对子模块;所述位置属性信息比对子模块,被配置为提取所述位置属性信息作为所述待识别位置属性信息,将所述待识别位置属性信息与所述第五身份编码序列集合中各个身份编码序列包含的位置编码段映射的基准位置属性信息进行比对。Optionally, the attribute information to be identified further includes attribute information of the location to be identified, and the attribute encoding segment includes a position encoding segment; correspondingly, the attribute information comparison module further includes: an identity encoding sequence set determining sub-module, Is configured to screen the identity coding sequence containing the aligned age coding segment as the fifth identity coding sequence set according to the comparison result; the position attribute information detection sub-module is configured to detect the first biometric image or the second 2. Whether the location attribute information is carried in the biometric image; if the execution result of the location attribute information detection sub-module is yes, then the location attribute information comparison sub-module is run; the location attribute information comparison sub-module is configured to extract The location attribute information is used as the location attribute information to be identified, and the location attribute information to be identified is compared with the reference location attribute information mapped from the location code segment included in each identity coding sequence in the fifth identity coding sequence set .
可选地,所述查询模块308,包括:第二目标身份编码序列查询子模块,被配置为根据所述第五身份编码序列集合中各个身份编码序列包含的比对一致的编码段数以及所述相似度计算结果查询目标身份编码序列,并将所述目标身份编码序列作为所述待识别豢养物的身份识别码。Optionally, the query module 308 includes: a second target identity coding sequence query sub-module configured to compare the number of identical coding segments contained in each identity coding sequence in the fifth identity coding sequence set and the The similarity calculation result queries the target identity coding sequence, and uses the target identity coding sequence as the identity identification code of the nutrient to be identified.
上述为本实施例的一种豢养物身份识别装置的示意性方案。需要说明的是,该豢养物身份识别装置的技术方案与上述的豢养物身份识别方法的技术方案属于同一构思,豢养物身份识别装置的技术方案未详细描述的细节内容,均可以参见上述豢养物身份识别方法的技术方案的描述。The foregoing is a schematic solution of a nutrient identity recognition device of this embodiment. It should be noted that the technical solution of the feeder identification device belongs to the same concept as the above-mentioned technical solution of the feeder identification method. For details that are not described in detail in the technical solution of the feeder identification device, please refer to the aforementioned feeder Description of the technical scheme of the identification method.
图4示出了根据本说明书一个实施例提供的一种计算设备400的结构框图。该计算设备400的部件包括但不限于存储器410和处理器420。处理器420与存储器410通过总线430相连接,数据库450用于保存数据。Fig. 4 shows a structural block diagram of a computing device 400 according to an embodiment of the present specification. The components of the computing device 400 include but are not limited to a memory 410 and a processor 420. The processor 420 and the memory 410 are connected through a bus 430, and the database 450 is used to store data.
计算设备400还包括接入设备440,接入设备440使得计算设备400能够经由一 个或多个网络460通信。这些网络的示例包括公用交换电话网(PSTN)、局域网(LAN)、广域网(WAN)、个域网(PAN)或诸如因特网的通信网络的组合。接入设备440可以包括有线或无线的任何类型的网络接口(例如,网络接口卡(NIC))中的一个或多个,诸如IEEE802.11无线局域网(WLAN)无线接口、全球微波互联接入(Wi-MAX)接口、以太网接口、通用串行总线(USB)接口、蜂窝网络接口、蓝牙接口、近场通信(NFC)接口,等等。The computing device 400 also includes an access device 440 that enables the computing device 400 to communicate via one or more networks 460. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 440 may include one or more of any type of wired or wireless network interface (for example, a network interface card (NIC)), such as IEEE802.11 wireless local area network (WLAN) wireless interface, global interconnection for microwave access ( Wi-MAX) interface, Ethernet interface, universal serial bus (USB) interface, cellular network interface, Bluetooth interface, near field communication (NFC) interface, etc.
在本说明书的一个实施例中,计算设备400的上述部件以及图4中未示出的其他部件也可以彼此相连接,例如通过总线。应当理解,图4所示的计算设备结构框图仅仅是出于示例的目的,而不是对本说明书范围的限制。本领域技术人员可以根据需要,增添或替换其他部件。In an embodiment of this specification, the aforementioned components of the computing device 400 and other components not shown in FIG. 4 may also be connected to each other, for example, via a bus. It should be understood that the structural block diagram of the computing device shown in FIG. 4 is only for the purpose of example, and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.
计算设备400可以是任何类型的静止或移动计算设备,包括移动计算机或移动计算设备(例如,平板计算机、个人数字助理、膝上型计算机、笔记本计算机、上网本等)、移动电话(例如,智能手机)、可佩戴的计算设备(例如,智能手表、智能眼镜等)或其他类型的移动设备,或者诸如台式计算机或PC的静止计算设备。计算设备400还可以是移动式或静止式的服务器。The computing device 400 can be any type of stationary or mobile computing device, including mobile computers or mobile computing devices (for example, tablet computers, personal digital assistants, laptop computers, notebook computers, netbooks, etc.), mobile phones (for example, smart phones). ), wearable computing devices (for example, smart watches, smart glasses, etc.) or other types of mobile devices, or stationary computing devices such as desktop computers or PCs. The computing device 400 may also be a mobile or stationary server.
其中,所述存储器410用于存储计算机可执行指令,处理器420用于执行如下计算机可执行指令:获取待识别豢养物的第一生物特征图像以及第二生物特征图像,并计算所述第一生物特征图像与数据库中多个豢养物的基准生物特征图像的相似度;将相似度计算结果中满足预设条件的基准生物特征图像作为目标图像,读取包含与所述目标图像对应的生物特征编码段的身份编码序列;提取所述第二生物特征图像的待识别生物特征信息,将所述待识别生物特征信息与所述身份编码序列中类别编码段映射的基准生物特征信息进行比对;根据所述身份编码序列中包含的比对一致的编码段数以及所述相似度计算结果查询目标身份编码序列,并将所述目标身份编码序列作为所述待识别豢养物的身份识别码。Wherein, the memory 410 is used to store computer-executable instructions, and the processor 420 is used to execute the following computer-executable instructions: obtain a first biometric image and a second biometric image of the nutrients to be identified, and calculate the first The similarity between the biometric image and the reference biometric image of multiple nutrients in the database; the reference biometric image that meets the preset conditions in the similarity calculation result is used as the target image, and the biometric feature corresponding to the target image is read The identity coding sequence of the coding segment; extracting the biometric information to be recognized of the second biometric image, and comparing the biometric information to be recognized with the reference biometric information mapped by the category coding segment in the identity coding sequence; The target identity coding sequence is queried according to the number of aligned coding segments contained in the identity coding sequence and the similarity calculation result, and the target identity coding sequence is used as the identity identification code of the nutrient to be identified.
上述为本实施例的一种计算设备的示意性方案。需要说明的是,该计算设备的技术方案与上述的豢养物身份识别方法的技术方案属于同一构思,计算设备的技术方案未详细描述的细节内容,均可以参见上述豢养物身份识别方法的技术方案的描述。The foregoing is a schematic solution of a computing device of this embodiment. It should be noted that the technical solution of the computing device belongs to the same concept as the technical solution of the above-mentioned nutrient identification method. For details that are not described in detail in the technical solution of the computing device, please refer to the technical solution of the above-mentioned nutrient identification method. description of.
本说明书一实施例还提供一种计算机可读存储介质,其存储有计算机指令,该指令被处理器执行时以用于实现所述豢养物身份识别方法的步骤。An embodiment of the present specification also provides a computer-readable storage medium, which stores computer instructions, which are used to implement the steps of the method for identifying food for food when the instructions are executed by a processor.
上述为本实施例的一种计算机可读存储介质的示意性方案。需要说明的是,该存储介质的技术方案与上述的豢养物身份识别方法的技术方案属于同一构思,存储介质的技术方案未详细描述的细节内容,均可以参见上述豢养物身份识别方法的技术方案的描述。The foregoing is a schematic solution of a computer-readable storage medium of this embodiment. It should be noted that the technical solution of the storage medium belongs to the same concept as the technical solution of the above-mentioned feeder identification method. For details that are not described in detail in the technical solution of the storage medium, please refer to the above-mentioned technical solution of the feeder identification method description of.
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing describes specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps described in the claims may be performed in a different order than in the embodiments and still achieve desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or sequential order shown in order to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
所述计算机指令包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。The computer instructions include computer program codes, and the computer program codes may be in the form of source code, object code, executable files, or some intermediate forms. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electrical carrier signal, telecommunications signal, and software distribution media, etc. It should be noted that the content contained in the computer-readable medium can be appropriately added or deleted according to the requirements of the legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to the legislation and patent practice, the computer-readable medium Does not include electrical carrier signals and telecommunication signals.
需要说明的是,对于前述的各方法实施例,为了简便描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本说明书实施例并不受所描述的动作顺序的限制,因为依据本说明书实施例,某些步骤可以采用其它顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定都是本说明书实施例所必须的。It should be noted that for the foregoing method embodiments, for simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should know that the embodiments of this specification are not subject to the described sequence of actions. Limitation, because according to the embodiments of this specification, some steps can be performed in other order or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the involved actions and modules are not necessarily all required by the embodiments of the specification.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own focus. For a part that is not described in detail in an embodiment, reference may be made to related descriptions of other embodiments.
以上公开的本说明书优选实施例只是用于帮助阐述本说明书。可选实施例并没有详尽叙述所有的细节,也不限制该发明仅为所述的具体实施方式。显然,根据本说明书实施例的内容,可作很多的修改和变化。本说明书选取并具体描述这些实施例,是为了更好地解释本说明书实施例的原理和实际应用,从而使所属技术领域技术人员能很好地理解和利用本说明书。本说明书仅受权利要求书及其全部范围和等效物的限制。The preferred embodiments of this specification disclosed above are only used to help explain this specification. The optional embodiments do not describe all the details in detail, nor do they limit the invention to only the specific implementations described. Obviously, many modifications and changes can be made according to the content of the embodiments of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the embodiments of this specification, so that those skilled in the art can understand and use this specification well. This description is only limited by the claims and their full scope and equivalents.

Claims (15)

  1. 一种豢养物身份识别方法,包括:A method for identification of foodstuffs, including:
    获取待识别豢养物的第一生物特征图像以及第二生物特征图像,并计算所述第一生物特征图像与数据库中多个豢养物的基准生物特征图像的相似度;Acquiring the first biometric image and the second biometric image of the nutrient to be identified, and calculating the similarity between the first biometric image and the reference biometric image of the plurality of nutrients in the database;
    将相似度计算结果中满足预设条件的基准生物特征图像作为目标图像,读取包含与所述目标图像对应的生物特征编码段的身份编码序列;Taking the reference biometric image that meets the preset conditions in the similarity calculation result as the target image, and reading the identity coding sequence containing the biometric coding segment corresponding to the target image;
    提取所述第二生物特征图像的待识别生物特征信息,将所述待识别生物特征信息与所述身份编码序列中类别编码段映射的基准生物特征信息进行比对;Extracting the biological characteristic information to be identified of the second biological characteristic image, and comparing the biological characteristic information to be identified with the reference biological characteristic information mapped by the category code segment in the identity coding sequence;
    根据所述身份编码序列中包含的比对一致的编码段数以及所述相似度计算结果查询目标身份编码序列,并将所述目标身份编码序列作为所述待识别豢养物的身份识别码。The target identity coding sequence is queried according to the number of aligned coding segments contained in the identity coding sequence and the similarity calculation result, and the target identity coding sequence is used as the identity identification code of the nutrient to be identified.
  2. 根据权利要求1所述的豢养物身份识别方法,所述待识别生物特征信息包括待识别种类信息,所述类别编码段包括种类编码段;The method for identifying the identity of the nourishment according to claim 1, wherein the biological feature information to be identified includes information about the type to be identified, and the category code segment includes a category code segment;
    相应的,所述将所述待识别生物特征信息与所述身份编码序列中类别编码段映射的基准生物特征信息进行比对,包括:Correspondingly, the comparing the biological characteristic information to be identified with the reference biological characteristic information mapped to the category code segment in the identity coding sequence includes:
    在数据库中读取预先根据各个基准生物特征信息与类别编码段的映射关系构建的映射关系表;Read the mapping relationship table constructed in advance according to the mapping relationship between each reference biometric information and the category code segment in the database;
    在所述映射关系表中查询所述种类编码段映射的基准种类信息;Query the reference category information mapped by the category code segment in the mapping relationship table;
    将所述待识别种类信息与所述种类编码段映射的基准种类信息进行比对。The category information to be identified is compared with the reference category information mapped by the category code segment.
  3. 根据权利要求2所述的豢养物身份识别方法,所述待识别生物特征信息还包括待识别品种信息,所述类别编码段还包括品种编码段;According to the method of claim 2, wherein the biometric information to be identified further includes information about the species to be identified, and the category code segment further includes a species code segment;
    相应的,所述将所述待识别种类信息与所述种类编码段映射的基准种类信息进行比对子步骤执行之后,还包括:Correspondingly, after the sub-step of comparing the category information to be identified with the reference category information mapped from the category code segment is performed, the method further includes:
    根据比对结果筛选包含比对一致的种类编码段的身份编码序列作为第一身份编码序列集合;According to the comparison result, select the identity coding sequence containing the aligned category coding segment as the first identity coding sequence set;
    在所述映射关系表中查询所述第一身份编码序列集合中包含的各个身份编码序列中品种编码段映射的基准品种信息;Inquiring in the mapping relationship table for the reference variety information mapped to the variety code segment in each identity encoding sequence contained in the first identity encoding sequence set;
    将所述待识别品种信息与所述品种编码段映射的基准品种信息进行比对。The variety information to be identified is compared with the reference variety information mapped by the variety code segment.
  4. 根据权利要求3所述的豢养物身份识别方法,所述待识别生物特征信息还包括待识别性别信息,所述类别编码段还包括性别编码段;According to the method for identifying the identity of the food of claim 3, the biological feature information to be identified further includes gender information to be identified, and the category code segment further includes a gender code segment;
    相应的,所述将所述待识别品种信息与所述品种编码段映射的基准品种信息进行比 对步骤执行之后,还包括:Correspondingly, after the step of comparing the to-be-identified variety information with the reference variety information mapped by the variety code segment is executed, the method further includes:
    根据比对结果在所述第一身份编码序列集合中筛选包含比对一致的品种编码段的身份编码序列作为第二身份编码序列集合;Screening, according to the comparison result, the identity coding sequences containing the aligned varieties coding segments from the first identity coding sequence set as the second identity coding sequence set;
    在所述映射关系表中查询所述第二身份编码序列集合中包含的各个身份编码序列中性别编码段映射的基准性别信息;Querying the mapping relationship table for reference gender information mapped to gender coding segments in each identity coding sequence included in the second identity coding sequence set;
    将所述待识别性别信息与所述性别编码段映射的基准性别信息进行比对。The gender information to be identified is compared with the reference gender information mapped by the gender coding segment.
  5. 根据权利要求4所述的豢养物身份识别方法,所述根据所述身份编码序列中包含的比对一致的编码段数以及所述相似度计算结果查询目标身份编码序列,并将所述目标身份编码序列作为所述待识别豢养物的身份识别码,包括:The method for identification of feedstuffs according to claim 4, wherein the target identity coding sequence is inquired according to the number of aligned coding segments contained in the identity coding sequence and the similarity calculation result, and the target identity is encoded The sequence, as the identification code of the nutrient to be identified, includes:
    根据所述第二身份编码序列集合中各个身份编码序列包含的比对一致的编码段数以及所述相似度计算结果,在所述第二身份编码序列集合中查询所述目标身份编码序列,并将所述目标身份编码序列作为所述待识别豢养物的身份识别码。According to the number of aligned coding segments contained in each identity coding sequence in the second identity coding sequence set and the similarity calculation result, the target identity coding sequence is queried in the second identity coding sequence set, and The target identity coding sequence is used as the identity identification code of the nutrient to be identified.
  6. 根据权利要求1所述的豢养物身份识别方法,所述根据所述身份编码序列中包含的比对一致的编码段数以及所述相似度计算结果查询目标身份编码序列,包括:The method for identifying the identity of feeder animals according to claim 1, wherein the query of the target identity coding sequence according to the number of aligned coding segments contained in the identity coding sequence and the similarity calculation result comprises:
    将所述身份编码序列中类别编码段映射的与所述待识别生物特征信息比对一致的生物特征信息的数目确定为所述身份编码序列中包含的比对一致的编码段数;Determining the number of biometric information that is consistent with the comparison of the biological feature information to be identified, which is mapped by the category code segment in the identity coding sequence, as the number of code segments that are included in the identity coding sequence and is consistent with the comparison;
    筛选包含比对一致的编码段数最多的身份编码序列并基于筛选结果构建第三身份编码序列集合;Screening the identity coding sequence with the largest number of aligned coding segments and constructing a third identity coding sequence set based on the screening result;
    判断所述第三身份编码序列集合中身份编码序列个数是否等于1;Judging whether the number of identity coding sequences in the third identity coding sequence set is equal to 1;
    若是,则将所述第三身份编码序列集合中的身份编码序列确定为所述目标身份编码序列;If yes, determine the identity coding sequence in the third identity coding sequence set as the target identity coding sequence;
    若否,则将所述第三身份编码序列集合中包含与所述第一生物特征图像的相似度最高的目标图像对应的生物特征编码段的身份编码序列确定为所述目标身份编码序列。If not, the third identity coding sequence set containing the identity coding sequence of the biometric coding segment corresponding to the target image with the highest similarity to the first biometric image is determined as the target identity coding sequence.
  7. 根据权利要求1所述的豢养物身份识别方法,所述获取待识别豢养物的第一生物特征图像以及第二生物特征图像,并计算所述第一生物特征图像与数据库中多个豢养物的基准生物特征图像的相似度步骤执行之后,所述将相似度计算结果中满足预设条件的基准生物特征图像作为目标图像,读取包含与所述目标图像对应的生物特征编码段的身份编码序列步骤执行之前,还包括:The method of claim 1, wherein the first biometric image and the second biometric image of the nutrient to be identified are acquired, and the difference between the first biometric image and the plurality of nutrients in the database is calculated. After the similarity step of the reference biometric image is executed, the reference biometric image that meets the preset conditions in the similarity calculation result is used as the target image, and the identity coding sequence containing the biometric coding segment corresponding to the target image is read Before the steps are executed, it also includes:
    判断所述相似度计算结果中是否存在任意一个豢养物的基准生物特征图像与所述第一生物特征图像的相似度满足预设相似度阈值;Judging whether the similarity between the reference biometric image of any nutrient and the first biometric image meets a preset similarity threshold in the similarity calculation result;
    若否,则执行所述将相似度计算结果中满足预设条件的基准生物特征图像作为目标图像,读取包含与所述目标图像对应的生物特征编码段的身份编码序列的步骤。If not, execute the step of using the reference biometric image satisfying the preset condition in the similarity calculation result as the target image, and reading the identity coding sequence containing the biometric coding segment corresponding to the target image.
  8. 根据权利要求1所述的豢养物身份识别方法,所述身份编码序列还包括属性编码段;The method for identifying the nourishment identity according to claim 1, wherein the identity coding sequence further comprises an attribute coding segment;
    相应的,所述提取所述第二生物特征图像的待识别生物特征信息,将所述待识别生物特征信息与所述身份编码序列中类别编码段映射的基准生物特征信息进行比对步骤执行之后,所述根据所述身份编码序列中包含的比对一致的编码段数以及所述相似度计算结果查询目标身份编码序列,并将所述目标身份编码序列作为所述待识别豢养物的身份识别码步骤执行之前,还包括:Correspondingly, after the step of extracting the biological characteristic information to be identified of the second biological characteristic image and comparing the biological characteristic information to be identified with the reference biological characteristic information mapped by the category code segment in the identity coding sequence is performed , Said querying the target identity coding sequence according to the number of aligned coding segments contained in the identity coding sequence and the similarity calculation result, and using the target identity coding sequence as the identity identification code of the food to be identified Before the steps are executed, it also includes:
    根据比对结果筛选包含比对一致的类别编码段的身份编码序列作为第四身份编码序列集合;According to the comparison result, the identity coding sequence that contains the aligned category coding segment is selected as the fourth identity coding sequence set;
    提取所述第一生物特征图像或所述第二生物特征图像的待识别属性信息,将所述待识别属性信息与所述第四身份编码序列集合中各个身份编码序列包含的属性编码段映射的基准属性信息进行比对。Extract the to-be-identified attribute information of the first biometric image or the second biometric image, and map the to-be-identified attribute information to the attribute code segment contained in each identity coding sequence in the fourth identity coding sequence set Baseline attribute information is compared.
  9. 根据权利要求8所述的豢养物身份识别方法,所述待识别属性信息包括待识别年龄信息,所述属性编码段包括年龄编码段;8. The method for identifying the identity of the nourishment according to claim 8, wherein the attribute information to be identified includes age information to be identified, and the attribute code segment includes an age code segment;
    相应的,所述提取所述第一生物特征图像或所述第二生物特征图像的待识别属性信息,将所述待识别属性信息与所述第四身份编码序列集合中各个身份编码序列包含的属性编码段映射的基准属性信息进行比对,包括:Correspondingly, said extracting the attribute information to be identified of the first biometric image or the second biometric image, and combining the attribute information to be identified with the information contained in each identity coding sequence in the fourth identity coding sequence set The reference attribute information mapped by the attribute code segment is compared, including:
    将所述第一生物特征图像或所述第二生物特征图像输入预先训练的年龄识别模型,获取输出的年龄识别结果作为所述待识别年龄信息;Inputting the first biometric image or the second biometric image into a pre-trained age recognition model, and obtaining the output age recognition result as the to-be-recognized age information;
    判断所述年龄编码段映射的基准年龄信息是否属于所述待识别年龄信息中包含的年龄区间;Judging whether the reference age information mapped by the age code segment belongs to the age range included in the age information to be identified;
    若是,则确定将所述待识别年龄信息与所述年龄编码段映射的基准年龄信息进行比对的比对结果为比对一致。If yes, it is determined that the comparison result of the comparison between the to-be-identified age information and the reference age information mapped by the age code segment is consistent.
  10. 根据权利要求9所述的豢养物身份识别方法,所述待识别属性信息还包括待识别位置属性信息,所述属性编码段包括位置编码段;The method for identifying the identity of the feeder animals according to claim 9, wherein the attribute information to be identified further includes attribute information of the location to be identified, and the attribute code segment includes a location code segment;
    相应的,所述确定将所述待识别年龄信息与所述年龄编码段映射的基准年龄信息进行比对的比对结果为比对一致步骤执行之后,还包括:Correspondingly, after the step of determining that the comparison result of comparing the to-be-identified age information with the reference age information mapped by the age coding segment is a consistent comparison step is performed, the method further includes:
    根据比对结果筛选包含比对一致的年龄编码段的身份编码序列作为第五身份编码 序列集合;According to the comparison result, the identity coding sequence containing the age coding segment that is consistent in the comparison is selected as the fifth identity coding sequence set;
    检测所述第一生物特征图像或所述第二生物特征图像中是否携带位置属性信息;Detecting whether the first biometric image or the second biometric image carries location attribute information;
    若是,则提取所述位置属性信息作为所述待识别位置属性信息,将所述待识别位置属性信息与所述第五身份编码序列集合中各个身份编码序列包含的位置编码段映射的基准位置属性信息进行比对。If yes, extract the location attribute information as the location attribute information to be identified, and map the location attribute information to the reference location attribute of the location code segment included in each identity code sequence in the fifth identity code sequence set Information is compared.
  11. 根据权利要求10所述的豢养物身份识别方法,所述根据所述身份编码序列中包含的比对一致的编码段数以及所述相似度计算结果查询目标身份编码序列,并将所述目标身份编码序列作为所述待识别豢养物的身份识别码,包括:The method for identification of feeder animals according to claim 10, wherein the target identity coding sequence is inquired according to the number of aligned coding segments contained in the identity coding sequence and the similarity calculation result, and the target identity is encoded The sequence, as the identification code of the nutrient to be identified, includes:
    根据所述第五身份编码序列集合中各个身份编码序列包含的比对一致的编码段数以及所述相似度计算结果查询目标身份编码序列,并将所述目标身份编码序列作为所述待识别豢养物的身份识别码。Query the target identity coding sequence according to the number of aligned coding segments contained in each identity coding sequence in the fifth identity coding sequence set and the similarity calculation result, and use the target identity coding sequence as the nutrient to be identified Identification code.
  12. 一种豢养物身份识别装置,包括:An identity recognition device for nourishment, including:
    相似度计算模块,被配置为获取待识别豢养物的第一生物特征图像以及第二生物特征图像,并计算所述第一生物特征图像与数据库中多个豢养物的基准生物特征图像的相似度;The similarity calculation module is configured to obtain the first biometric image and the second biometric image of the nutrient to be identified, and calculate the similarity between the first biometric image and the reference biometric image of multiple nutrients in the database ;
    读取模块,被配置为将相似度计算结果中满足预设条件的基准生物特征图像作为目标图像,读取包含与所述目标图像对应的生物特征编码段的身份编码序列;A reading module configured to use a reference biometric image that meets a preset condition in the similarity calculation result as a target image, and read an identity code sequence containing a biometric code segment corresponding to the target image;
    比对模块,被配置为提取所述第二生物特征图像的待识别生物特征信息,将所述待识别生物特征信息与所述身份编码序列中类别编码段映射的基准生物特征信息进行比对;The comparison module is configured to extract the biometric information to be identified from the second biometric image, and compare the biometric information to be identified with the reference biometric information mapped to the category code segment in the identity coding sequence;
    查询模块,被配置为根据所述身份编码序列中包含的比对一致的编码段数以及所述相似度计算结果查询目标身份编码序列,并将所述目标身份编码序列作为所述待识别豢养物的身份识别码。The query module is configured to query the target identity coding sequence according to the number of aligned coding segments contained in the identity coding sequence and the similarity calculation result, and use the target identity coding sequence as the nutrient to be identified Identification code.
  13. 根据权利要求12所述的豢养物身份识别装置,所述查询模块,包括:The device for identifying the nourishment identity according to claim 12, the query module comprises:
    确定子模块,被配置为将所述身份编码序列中类别编码段映射的与所述待识别生物特征信息比对一致的生物特征信息的数目确定为所述身份编码序列中包含的比对一致的编码段数;The determining sub-module is configured to determine the number of biometric information that is consistent with the comparison of the biometric information to be identified, which is mapped to the category code segment in the identity coding sequence, as the number of the biometric information included in the identity coding sequence that is consistent with the comparison Number of coding segments;
    筛选子模块,被配置为筛选包含比对一致的编码段数最多的身份编码序列作为第三身份编码序列集合;The screening sub-module is configured to screen the identity coding sequence containing the largest number of aligned coding segments as the third identity coding sequence set;
    判断子模块,被配置为判断所述第三身份编码序列集合中身份编码序列个数是否等 于1;The judging sub-module is configured to judge whether the number of identity code sequences in the third identity code sequence set is equal to 1;
    若所述判断子模块的执行结果为是,则运行第一目标身份编码序列确定子模块;If the execution result of the judgment sub-module is yes, run the first target identity coding sequence determination sub-module;
    所述第一目标身份编码序列确定子模块,被配置为将所述第三身份编码序列集合中的身份编码序列确定为所述目标身份编码序列;The first target identity coding sequence determining submodule is configured to determine the identity coding sequence in the third identity coding sequence set as the target identity coding sequence;
    若所述判断子模块的执行结果为否,则运行第二目标身份编码序列确定子模块;If the execution result of the judgment sub-module is no, run the second target identity coding sequence determination sub-module;
    所述第二目标身份编码序列确定子模块,被配置为将所述第三身份编码序列集合中包含与所述第一生物特征图像的相似度最高的目标图像对应的生物特征编码段的身份编码序列确定为所述目标身份编码序列。The second target identity coding sequence determining submodule is configured to encode the identity coding of the biometric coding segment corresponding to the target image with the highest similarity to the first biometric image in the third identity coding sequence set The sequence is determined as the target identity coding sequence.
  14. 一种计算设备,包括:A computing device including:
    存储器和处理器;Memory and processor;
    所述存储器用于存储计算机可执行指令,所述处理器用于执行所述计算机可执行指令:The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions:
    获取待识别豢养物的第一生物特征图像以及第二生物特征图像,并计算所述第一生物特征图像与数据库中多个豢养物的基准生物特征图像的相似度;Acquiring the first biometric image and the second biometric image of the nutrient to be identified, and calculating the similarity between the first biometric image and the reference biometric image of the plurality of nutrients in the database;
    将相似度计算结果中满足预设条件的基准生物特征图像作为目标图像,读取包含与所述目标图像对应的生物特征编码段的身份编码序列;Taking the reference biometric image that meets the preset conditions in the similarity calculation result as the target image, and reading the identity coding sequence containing the biometric coding segment corresponding to the target image;
    提取所述第二生物特征图像的待识别生物特征信息,将所述待识别生物特征信息与所述身份编码序列中类别编码段映射的基准生物特征信息进行比对;Extracting the biological characteristic information to be identified of the second biological characteristic image, and comparing the biological characteristic information to be identified with the reference biological characteristic information mapped by the category code segment in the identity coding sequence;
    根据所述身份编码序列中包含的比对一致的编码段数以及所述相似度计算结果查询目标身份编码序列,并将所述目标身份编码序列作为所述待识别豢养物的身份识别码。The target identity coding sequence is queried according to the number of aligned coding segments contained in the identity coding sequence and the similarity calculation result, and the target identity coding sequence is used as the identity identification code of the nutrient to be identified.
  15. 一种计算机可读存储介质,其存储有计算机指令,该指令被处理器执行时实现权利要求1至11中任意一项所述豢养物身份识别方法的步骤。A computer-readable storage medium, which stores computer instructions, which when executed by a processor, realizes the steps of the method for identifying the nourishment in any one of claims 1 to 11.
PCT/CN2020/111843 2019-11-25 2020-08-27 Identity identification method and device for house animals WO2021103707A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911168378.1A CN110929650B (en) 2019-11-25 2019-11-25 Method and device for identifying livestock and feed identity, computing equipment and readable storage medium
CN201911168378.1 2019-11-25

Publications (1)

Publication Number Publication Date
WO2021103707A1 true WO2021103707A1 (en) 2021-06-03

Family

ID=69851011

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/111843 WO2021103707A1 (en) 2019-11-25 2020-08-27 Identity identification method and device for house animals

Country Status (3)

Country Link
CN (1) CN110929650B (en)
TW (1) TWI775077B (en)
WO (1) WO2021103707A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110929650B (en) * 2019-11-25 2022-04-12 蚂蚁胜信(上海)信息技术有限公司 Method and device for identifying livestock and feed identity, computing equipment and readable storage medium
CN111831843A (en) * 2020-06-11 2020-10-27 广东工业大学 Block chain-based animal identity management method and system
CN112329573A (en) * 2020-10-27 2021-02-05 苏州中科先进技术研究院有限公司 Cat nasal print recognition method and device based on cat nasal print feature extraction model
CN112231672A (en) * 2020-10-30 2021-01-15 支付宝(杭州)信息技术有限公司 Identity recognition method and device
CN112214748A (en) * 2020-10-30 2021-01-12 支付宝(杭州)信息技术有限公司 Identity recognition system, method and device
CN112488109B (en) * 2020-12-10 2024-03-29 深圳市云辉牧联科技有限公司 Method and device for identifying livestock and poultry identification codes and computer readable storage medium
CN113312600B (en) * 2021-06-02 2024-02-09 蚂蚁胜信(上海)信息技术有限公司 Biological relation authentication processing method and device
CN115587896B (en) * 2022-10-13 2023-08-11 星宠王国(北京)科技有限公司 Method, device and equipment for processing canine medical insurance data

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040153477A1 (en) * 2000-12-22 2004-08-05 Meadows Louis B. Pet identification system and method
US20190080160A1 (en) * 2013-05-22 2019-03-14 Iscilab Corporation Device and method for recognizing animal's identity by using animal nose prints
CN109543663A (en) * 2018-12-28 2019-03-29 北京旷视科技有限公司 A kind of dog personal identification method, device, system and storage medium
CN109829381A (en) * 2018-12-28 2019-05-31 北京旷视科技有限公司 A kind of dog only identifies management method, device, system and storage medium
CN109948458A (en) * 2019-02-25 2019-06-28 广东智媒云图科技股份有限公司 Pet personal identification method, device, equipment and storage medium based on noseprint
CN110929650A (en) * 2019-11-25 2020-03-27 支付宝(杭州)信息技术有限公司 Method and device for identifying livestock and poultry

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010134910A (en) * 2008-11-07 2010-06-17 Fujifilm Corp Pet image detection system and method of controlling operation of the same
CN102592158A (en) * 2011-01-11 2012-07-18 郝明学 Identity card coding method for global pets and other artificial fed animals
US9084411B1 (en) * 2014-04-10 2015-07-21 Animal Biotech Llc Livestock identification system and method
JP6723909B2 (en) * 2016-12-09 2020-07-15 キヤノン株式会社 Image processing method, image processing apparatus, and program
CN107992903A (en) * 2017-09-20 2018-05-04 翔创科技(北京)有限公司 Livestock personal identification method, device, storage medium and electronic equipment
CN108460428A (en) * 2018-04-11 2018-08-28 波奇(上海)信息科技有限公司 A kind of method and apparatus of pet image recognition
CN108681611A (en) * 2018-06-04 2018-10-19 北京竞时互动科技有限公司 Pet management method and system
CN109255297B (en) * 2018-08-06 2022-12-13 百度在线网络技术(北京)有限公司 Animal state monitoring method, terminal device, storage medium and electronic device
CN109493873A (en) * 2018-11-13 2019-03-19 平安科技(深圳)有限公司 Livestock method for recognizing sound-groove, device, terminal device and computer storage medium
CN110334593A (en) * 2019-05-28 2019-10-15 浙江泽曦科技有限公司 Pet recognition algorithms and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040153477A1 (en) * 2000-12-22 2004-08-05 Meadows Louis B. Pet identification system and method
US20190080160A1 (en) * 2013-05-22 2019-03-14 Iscilab Corporation Device and method for recognizing animal's identity by using animal nose prints
CN109543663A (en) * 2018-12-28 2019-03-29 北京旷视科技有限公司 A kind of dog personal identification method, device, system and storage medium
CN109829381A (en) * 2018-12-28 2019-05-31 北京旷视科技有限公司 A kind of dog only identifies management method, device, system and storage medium
CN109948458A (en) * 2019-02-25 2019-06-28 广东智媒云图科技股份有限公司 Pet personal identification method, device, equipment and storage medium based on noseprint
CN110929650A (en) * 2019-11-25 2020-03-27 支付宝(杭州)信息技术有限公司 Method and device for identifying livestock and poultry

Also Published As

Publication number Publication date
TW202121234A (en) 2021-06-01
TWI775077B (en) 2022-08-21
CN110929650B (en) 2022-04-12
CN110929650A (en) 2020-03-27

Similar Documents

Publication Publication Date Title
WO2021103707A1 (en) Identity identification method and device for house animals
US11803962B2 (en) Animal health assessment
Eastham et al. Associations between age at first calving and subsequent lactation performance in UK Holstein and Holstein-Friesian dairy cows
Arbuckle et al. Data sharing reveals complexity in the westward spread of domestic animals across Neolithic Turkey
CN107992903A (en) Livestock personal identification method, device, storage medium and electronic equipment
Smith et al. Bag of class posteriors, a new multivariate time series classifier applied to animal behaviour identification
Li et al. Individual beef cattle identification using muzzle images and deep learning techniques
US11763920B2 (en) Mucus analysis for animal health assessments
Lu et al. An automatic splitting method for the adhesive piglets’ gray scale image based on the ellipse shape feature
Suriyamongkol et al. Feasibility of using computer-assisted software for recognizing individual Rio Grande Cooter (Pseudemys gorzugi)
KR102347017B1 (en) Method And System for Recommending Personalized Food Of Pet based on Artificial Intelligence
CN113420709A (en) Cattle face feature extraction model training method and system and cattle insurance method and system
Thapar et al. Accurate estimation of body weight of pigs through smartphone image measurement app
Maśko et al. Characteristics of the donkey’s dorsal profile in relation to its functional body condition assessment
CN110704646A (en) Method and device for establishing stored material file
CN106022942B (en) Registration authentication system and method for natural cultivation of live livestock
Yang et al. Automated Recognition and Classification of Cat Pain Through Deep Learning
Praba et al. Smart fish farming recommendation system using k-means algorithm
Hao et al. A novel method for Jinnan cattle individual classification based on deep mutual learning
WO2019119547A1 (en) Dairy cow classification method and device
KR102488264B1 (en) System for providing artificial intelligence based feeding management service using status information of pet
Powell et al. Growth trajectory analysis of Pacific whiteleg shrimp (Litopenaeus vannamei): Comparison of the specific growth rate, the thermal‐unit growth coefficient and its adaptations
Han et al. Image classification of forage grasses on Etuoke Banner using edge autoencoder network
Yu et al. Research on Automatic Recognition of Dairy Cow Daily Behaviors Based on Deep Learning
Islam et al. Socioeconomic impact of dairy cum fodder farming in some selected areas of Bangladesh

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20894477

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20894477

Country of ref document: EP

Kind code of ref document: A1