WO2023008571A1 - Individual identification system and individual identification method - Google Patents

Individual identification system and individual identification method Download PDF

Info

Publication number
WO2023008571A1
WO2023008571A1 PCT/JP2022/029346 JP2022029346W WO2023008571A1 WO 2023008571 A1 WO2023008571 A1 WO 2023008571A1 JP 2022029346 W JP2022029346 W JP 2022029346W WO 2023008571 A1 WO2023008571 A1 WO 2023008571A1
Authority
WO
WIPO (PCT)
Prior art keywords
animal
individual
feature amount
database
image
Prior art date
Application number
PCT/JP2022/029346
Other languages
French (fr)
Japanese (ja)
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 アニコム ホールディングス株式会社
Priority to JP2023538647A priority Critical patent/JPWO2023008571A1/ja
Publication of WO2023008571A1 publication Critical patent/WO2023008571A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A01AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
    • A01KANIMAL HUSBANDRY; CARE OF BIRDS, FISHES, INSECTS; FISHING; REARING OR BREEDING ANIMALS, NOT OTHERWISE PROVIDED FOR; NEW BREEDS OF ANIMALS
    • A01K11/00Marking of animals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis

Definitions

  • the present invention relates to an individual identification system and an individual identification method, and more particularly to a system and method for identifying individual animals from facial images of animals.
  • Pet animals such as dogs, cats, and rabbits, and livestock such as cows and pigs are irreplaceable existences for humans.
  • pet animals so-called pets, are increasingly treated in the same way as humans, and there is a growing need for individual identification of pets.
  • pet-friendly stores and services are becoming more familiar, such as trimming salons for pets, pet cafes that allow pets, dog runs, and lodging facilities that allow pets to stay together.
  • a fee is collected for each individual pet, or an individual pet is registered and the service is provided while referring to the past service provision history.
  • a pet search service may be requested.
  • the pet is searched for based on the photo of the pet provided by the owner. Since it is a problem to determine the identity between the individual in the photograph and the individual suspected to be the animal to be searched, individual identification from the photograph of the pet is required.
  • Patent Document 1 discloses a network camera, a presence detection sensor that detects whether or not a wild animal photographed by the camera still exists inside a capture facility, and a smartphone that can read e-mails received from the network camera. , a tablet terminal, a user information terminal such as a personal computer, etc., and a still image of an e-mail received only once or only once from the above network camera.
  • a network camera a presence detection sensor that detects whether or not a wild animal photographed by the camera still exists inside a capture facility
  • a smartphone that can read e-mails received from the network camera.
  • a tablet terminal a user information terminal such as a personal computer, etc.
  • a still image of an e-mail received only once or only once from the above network camera Disclosed is an individual identification wild animal capture system that allows remote control of network cameras and capture equipment while viewing.
  • a user terminal has a photographing means for producing a sound of a frequency that causes a photographed object to turn around when photographing, and an animal identification information registering means transmits photograph data of a photograph photographed by the photographing means to the user terminal. and registers the received photo data in the management DB as animal identification information, and the notification means sends the animal-related information specified by matching that compares the images of the photos and calculates the similarity to the user terminal
  • An animal search system that notifies is disclosed.
  • Patent Document 3 discloses a pet individual identification system that performs individual identification of a plurality of pets. Then, another image of the pet is acquired, the feature amount is extracted from the other image, and the feature amount is compared with the stored feature amount. If the identification result is judged to be incorrect, the user is prompted to correct it. , a pet individual identification system that updates the identification result when a user's correction is obtained, and registers at least one of the another image and the feature amount extracted from the other image in association with the pet identifier. ing.
  • Patent Documents 1 and 2 do not disclose means for identifying individuals from animal images using trained models. Further, the individual identification system described in Patent Document 3 prompts the user to correct the identification result when it is determined that the identification result is incorrect, updates the identification result when the user's correction is obtained, and At least one of the feature amount extracted from the image and another image is associated with the pet identifier and registered, and is premised on correction of the identification result from the user.
  • an object of the present invention to provide an individual animal identification system and an individual identification method for animals that include means for identifying individuals using animal images in a simple manner.
  • the present invention is the following [1] to [16].
  • [1] A database storing feature values extracted from animal face images using trained models and animal individual identification information; a receiving means for receiving an input of an animal face image; a feature quantity extracting means for extracting a feature quantity from the face image input to the receiving means using the learned model; By comparing the feature amount stored in the database and the feature amount extracted by the feature amount extraction means, the facial image of the animal input to the reception means is associated with the individual identification information stored in the database. and determination means for determining whether the image is of an individual that is the same as or similar to the animal individual.
  • the individual identification system according to any one of [1] to [5], which is a feature amount obtained by averaging feature amounts extracted from a plurality of captured images.
  • a database storing feature values extracted from animal face images using trained models and animal individual identification information; reception means for receiving an input of a facial image of an animal to enter or exit; a feature quantity extracting means for extracting a feature quantity from the face image input to the receiving means using the learned model; By comparing the feature amount stored in the database and the feature amount extracted by the feature amount extraction means, the facial image of the animal input to the reception means is associated with the individual identification information stored in the database.
  • An entrance/exit management system comprising: determination means for determining whether the image is of an individual that is the same as or similar to an animal individual.
  • a database storing feature values extracted from animal face images using trained models and animal individual identification information; a receiving means for receiving an input of a face image of an animal to be examined at a veterinary hospital; a feature quantity extracting means for extracting a feature quantity from the face image input to the receiving means using the learned model; By comparing the feature amount stored in the database and the feature amount extracted by the feature amount extraction means, the facial image of the animal input to the reception means is associated with the individual identification information stored in the database.
  • a medical examination management system comprising determination means for determining whether the image is of an individual that is the same as or similar to an animal individual.
  • a database storing feature amounts and individual identification information of animals extracted from facial images of animals using trained models; a receiving means for receiving an input of a facial image of an animal that is about to be trimmed or shampooed at a pet salon; a feature quantity extracting means for extracting a feature quantity from the face image input to the receiving means using the learned model; By comparing the feature amount stored in the database and the feature amount extracted by the feature amount extraction means, the facial image of the animal input to the reception means is associated with the individual identification information stored in the database.
  • a reception management system comprising a determination means for determining whether the image is of an individual that is the same as or similar to an animal individual.
  • a database storing feature amounts and individual identification information of animals extracted from facial images of animals using trained models; receiving means for receiving an input of a facial image of an animal that is a candidate for an animal to be searched; a feature quantity extracting means for extracting a feature quantity from the face image input to the receiving means using the learned model; By comparing the feature amount stored in the database and the feature amount extracted by the feature amount extraction means, the facial image of the animal input to the reception means is associated with the individual identification information stored in the database.
  • a search management system comprising a determination means for determining whether the image is of an individual that is the same as or similar to an animal individual.
  • the individual identification system according to any one of [1] to [6], wherein the image is of an individual that is the same as or similar to an individual animal associated with individual identification information stored in a database.
  • a database storing feature values extracted from face images of young animals using trained models and individual identification information of the young animals; a receiving means for receiving an input of a facial image of an adult animal; a feature extraction unit that includes a trained model and extracts a feature from the face image input to the reception unit using the trained model; By comparing the feature amount stored in the database with the feature amount extracted by the feature amount extraction means, the face image of the adult animal input to the reception means is obtained as the individual identification information stored in the database.
  • a database storing feature amounts extracted from facial images of adult animals using trained models and individual identification information of the adult animals; a receiving means for receiving an input of a facial image of a young animal; a feature extraction unit that includes a trained model and extracts a feature from the face image input to the reception unit using the trained model; By comparing the feature amount stored in the database and the feature amount extracted by the feature amount extraction means, the face image of the young animal input to the reception means is identified as the individual identification stored in the database. and determination means for determining whether or not the image is of an individual that is the same as or similar to an individual animal related to information.
  • an individual animal identification system and an individual identification method that include means for identifying individuals using animal images in a simple manner.
  • the individual identification system and individual identification method of the present invention can be used for individual identification when entering and exiting a dog run, breeder's kennel, playground, individual identification when receiving a hotel, hospital, or pet salon, individual identification when searching for a lost child, and the like.
  • Various applications are possible.
  • FIG. 1 is a schematic configuration diagram showing one embodiment of an individual identification system of the present invention
  • FIG. 1 is a schematic configuration diagram showing one embodiment of an entrance/exit management system of the present invention
  • FIG. It is a flowchart figure showing an example of the flow of entrance/exit management by the entrance/exit management system of this invention.
  • the individual identification system of the present invention includes a database that stores feature values extracted from animal face images using a trained model and individual animal identification information, a reception means that receives an input of an animal face image, and a trained model.
  • a feature amount extracting means including a model and extracting a feature amount from the face image input to the receiving means by the learned model; a feature amount stored in the database; and a feature extracted by the feature amount extracting means.
  • a similar individual means an individual whose appearance is similar to that of the target individual.
  • the database of the present invention stores feature amounts and individual identification information of animals extracted from facial images of animals using learned models.
  • the feature amount extracted from the facial image of the animal and the individual identification information of the individual animal related to the facial image are linked and stored.
  • individual identification information include species, breed, sex, age, weight, and body length of the animal.
  • the face image of the animal itself may be stored as the individual identification information.
  • an ID number may be assigned to each animal.
  • health-related information such as the animal's hospital visit history, surgery history, and drug administration history, and information related to pet salon usage history such as trimming history, shampoo history, nail clipping history, and the like may be attached to the individual identification information.
  • the individual identification information one or more tendencies selected from the group consisting of barking tendency, aggression, activity and sociability can be stored.
  • the database may be managed in the form of a database server, managed on a cloud server, or distributed.
  • Artificial intelligence is preferable as a trained model that extracts the feature values stored in the database.
  • Artificial Intelligence is a software or system that imitates the intellectual work of the human brain on a computer. A computer program, etc., that performs and learns from experience. Artificial intelligence may be general-purpose or specialized, and may be deep neural networks, convolutional neural networks, or the like, and open software can be used. It is preferable that the trained model for extracting the feature quantity stored in the database and the trained model included in the feature quantity extraction means described later are the same trained model.
  • the feature values stored in the database are automatically updated.
  • the trained model is updated, the image stored in the database and used to extract the feature quantity is searched, and the updated trained model is used to extract the feature quantity from the image again.
  • a program to The load on the system can be suppressed by executing this program during a time period when the system operation rate is low, for example, at night.
  • the feature values stored in the database are preferably obtained by averaging feature values extracted from multiple images of the same individual. By averaging the feature amounts, blurring of the feature amounts stored in the database can be suppressed.
  • the term "shake" as used herein refers to movement of the subject such as blinking and facial expression changes at the time of image capturing, and movement due to the environment such as light and focal position. By averaging the feature amounts in this way, it becomes possible to store the unique features of the individual in the database, and the determination accuracy can be improved.
  • the database only needs to store the averaged feature amount, and it is not necessary to store the feature amount of all images. Therefore, according to the present invention, the load on the database can also be reduced.
  • Averaging in the present invention refers to a method of deriving representative feature values from feature values extracted from multiple images. Therefore, in addition to the method of calculating the arithmetic mean and the geometric mean, which are general mean values, the method of obtaining the median value and the mode value is treated as averaging in the present invention.
  • outliers may be excluded before averaging. Determination accuracy can be improved by excluding outliers. In addition, it can be tested whether it is an outlier by a known method. For example, a test statistic obtained by dividing the deviation by the unbiased standard deviation is obtained, and whether or not this value is greater than the significance point is tested.
  • a weighted average may be performed by multiplying the feature amount by a weight according to the importance of the image. Determination accuracy can be improved by weighting the image. For example, an image with a natural expression and facing the front is given a larger weight, and a sideways image with a blink is given a smaller weight.
  • the determination accuracy can be improved by changing the count number according to the importance of the image. For example, a newly uploaded image is treated as two different images, and an old image is treated as a single image.
  • the receiving means of the present invention is means for receiving input of face images of animals other than humans.
  • an image of an individual to be determined as to whether it is the same or similar to an individual stored in the database is accepted.
  • the image may be a still image or a moving image.
  • image includes both still images and moving images.
  • a face image is a moving image in which a face is shown. It is sufficient if the moving image includes a scene in which the face is shown.
  • a moving image is a set of continuous still images and can be processed in the same way as for still images. Examples of animals include mammals such as dogs, cats, rabbits and ferrets, and pets such as birds and reptiles.
  • the image reception method may be any method such as scanning, inputting and transmitting image data, importing images taken on the spot, and uploading moving images taken in real time.
  • the format of the face image is not particularly limited, but the face image is preferably a photograph of the animal's face taken from the front, and more preferably a photograph showing the animal's face enlarged as shown in FIG. Such photographs include photographs such as those of a person's driver's license. Also preferred are images used on animal health insurance cards, as in FIG.
  • the reception means of the server receives the image. Individual identification at the time of entry and exit is possible.
  • the image may be black and white, grayscale, or color. Images that do not show the entire animal's face, images whose shape has been edited with image editing software, images that include multiple animals, images that have faces so small that their eyes and ears cannot be recognized, or images that are unclear. I don't like it. As for the image, it is preferable that the image is normalized and the resolution and the like are unified.
  • the feature amount extracting means of the present invention is means for extracting a feature amount from the face image input to the receiving means by using the learned model.
  • Artificial intelligence is preferred as the trained model.
  • Artificial Intelligence is a software or system that imitates the intellectual work of the human brain on a computer. A computer program, etc., that performs and learns from experience.
  • Artificial intelligence may be general-purpose or specialized, and may be deep neural networks, convolutional neural networks, or the like, and open software can be used.
  • Deep learning is a development of machine learning, and is characterized by automatically finding feature quantities.
  • the learning method for generating trained models is not particularly limited, and publicly available software can be used.
  • DIGITS the Deep Learning GPU Training System published by NVIDIA can be used.
  • learning may be performed by a known support vector machine method (Support Vector Machine method) published in "Introduction to Support Vector Machines" (Kyoritsu Shuppan).
  • Support vector machine method Small Vector Machine method
  • a public data set such as ImageNet can be used.
  • the training data for learning is animal face images and their breeds.
  • the face image of the animal as training data may be the same as or different from the face image described in the reception method.
  • As the facial image of the animal used as training data it is preferable to use an image of the entire face including the eyes, nose, mouth, ears, and outline of the face of the animal.
  • a neural network is preferable as a trained model, and a convolutional neural network is more preferable.
  • the trained model is one that has been specifically trained with images of animal species that are targets for individual identification.
  • the trained model for extracting the feature quantity stored in the database and the trained model included in the feature quantity extraction means are the same trained model. By using the same trained model, the same number of feature values are extracted through the trained model, which facilitates the calculation of the matching rate (cosine similarity, for example).
  • An example of a trained model is EfficientNet trained using ImageNet.
  • a trained model that can be trained to classify and estimate breeds, ages, and individual identification from facial images of dogs and extract features from facial images of dogs is available. preferable.
  • the determining means of the present invention compares the feature amount stored in the database with the feature amount extracted by the feature amount extracting means so that the facial image of the animal input to the receiving means is stored in the database. It is determined whether or not the image is of an individual that is the same as or similar to the individual animal associated with the individual identification information.
  • the judging means includes software that calculates, for example, the cosine similarity between the feature quantities, and judges that the individuals are the same or that they are similar when the value is equal to or greater than a predetermined value. include.
  • the cosine similarity it is also possible to obtain a barycentric feature amount, which is the barycenter of the feature amounts registered in the database, and to use a value obtained by subtracting the barycentric feature amount from each feature amount.
  • the normalized feature amount can be used for cosine similarity calculation. Further, it may include software for searching a database for individuals having a high cosine similarity with the feature quantity extracted by the feature quantity extracting means, and selecting identical or similar individual candidates.
  • Euclidean distance can be used instead of cosine similarity as a method for determining identical or similar individuals.
  • the determining means of the present invention receives a face image of an animal as input information, it determines the breed of the animal using the learned model.
  • the output format is not particularly limited. For example, on the screen of a personal computer, an individual that is the same as or similar to the individual in the image input to the input means is displayed with the image and individual identification information to display the individual identification result. can be output. If there are a plurality of individuals with similar matching rates of feature amounts in the database, a plurality of candidates for the same individual may be presented. When a plurality of candidates are presented, individual identification (identical individual determination) and similar individual determination are performed simultaneously. Moreover, as incidental information, the certainty of the individual identification result may be output at the same time. For example, "this child is ⁇ -chan (reliability: 80%)", "this child resembles ⁇ -chan".
  • the individual identification system of the present invention may additionally have output means for receiving the determination result from the determination means and outputting the determination result.
  • the age of the individual registered in the database and the age of the individual to be determined may be significantly different.
  • similar individuals may be determined from images of puppies, taking into account growth factors of the puppies.
  • the lost individual can be searched for by using the photo of the puppy. It becomes possible to determine whether the candidate individual is the same as or similar to the individual to be searched.
  • learning is performed using images of puppies and images of growing up as trained models. It is preferred to use a ready-made model.
  • a preferred aspect of the present invention includes the following individual identification system.
  • a database storing feature values extracted from face images of young animals using trained models and individual identification information of the young animals; a receiving means for receiving an input of a facial image of an adult animal; a feature quantity extracting means for extracting a feature quantity from the face image input to the receiving means using the learned model; By comparing the feature amount stored in the database and the feature amount extracted by the feature amount extraction means, the face image of the adult animal input to the reception means is obtained as the individual identification information stored in the database. and determination means for determining whether or not the image is of an individual that is the same as or similar to the individual animal.
  • Early age is preferably 1 year or younger, more preferably 6 months or younger.
  • An adult preferably refers to an individual who is over the age of 6 months or over the age of 1 year, and specifically includes over 6 months of age, over 1 year of age, and the like.
  • judging whether the images are of the same or similar individuals means that the juvenile individuals currently registered in the database and the adult individuals input to the receiving means are the same or similar. It may be determined whether or not the individual is an individual, and it may be determined whether or not the grown-up appearance of a juvenile individual registered in the database is similar to the adult individual input to the reception means. .
  • this aspect of the individual identification system for example, when an image of an adult animal is input, it is possible to pick up individual juvenile animals that may resemble the adult animal in the future.
  • the face image and individual identification information of the individual to be sold, and the face are registered in a database, and the person who wishes to purchase the pet uploads the adult image of the individual he/she likes to the website.
  • the image of the adult individual uploaded to the website is accepted by the acceptance means of the individual identification system, the feature amount is extracted by the trained model, the feature amount is compared by the determination means, and grows into a similar individual in the future.
  • Images of juvenile individuals likely to be are picked up and presented to prospective pet purchasers. This makes it possible, for example, to purchase juvenile individuals that may become individuals similar to widowed individuals from pet shops or breeders.
  • the image of the puppy is registered in the database, and the individual identification information and the face are registered. If the feature values extracted by the trained model from the images are also registered in the database, when searching for a lost individual, a candidate individual can be found and photographed.
  • the information is received by the receiving means, the feature amount is extracted by the trained model, the feature amount is compared by the determination means, and it is determined whether or not the candidate individual is the same as or similar to the lost individual. This makes it possible to search for a lost child even if there is only a photo of the puppy.
  • Still another preferred aspect is the following individual identification system.
  • a database storing feature amounts extracted from facial images of adult animals using trained models and individual identification information of the adult animals; a receiving means for receiving an input of a facial image of a young animal; a feature quantity extracting means for extracting a feature quantity from the face image input to the receiving means using the learned model; By comparing the feature amount stored in the database and the feature amount extracted by the feature amount extraction means, the face image of the young animal input to the reception means is identified as the individual identification stored in the database. and determination means for determining whether or not the image is of an individual that is the same as or similar to an individual animal related to information.
  • Early age is preferably 1 year or younger, more preferably 6 months or younger.
  • An adult preferably refers to an individual who is over the age of 6 months or over the age of 1 year, and specifically includes over 6 months of age, over 1 year of age, and the like.
  • determining whether the images are of the same or similar individuals means that the adult individuals currently registered in the database and the juvenile individuals input to the receiving means are the same or similar. It may be determined whether or not the individual is an individual, or whether or not the adult individual registered in the database resembles the growth figure of the young individual input to the reception means. .
  • the individual identification system of this aspect for example, when an image of a juvenile animal is input, it is possible to pick up an adult animal individual that may resemble the juvenile animal when it grows up in the future. can.
  • the face of an adult individual is previously sold separately from the juvenile individual. Images, individual identification information, and features extracted from facial images by trained models are registered in a database. Then, when a person who wishes to purchase a pet animal selects an infant individual posted on the website, the face image of the infant individual is received by the acceptance means of the individual identification system, and the characteristics are determined by the trained model.
  • the amount is extracted, the feature amount is compared by the judging means, and the image of the adult individual that the selected juvenile individual may resemble in the future is picked up. This enables the prospective purchaser to have a concrete image of what kind of individual the young animal to be considered for purchase will be when it grows up in the future, by means of images of similar individuals.
  • the database 12 stores in advance facial images, feature amounts extracted from the facial images using trained models, and individual identification information for a plurality of individual animals.
  • An image including the animal's face is captured by a capturing means 16 such as a camera installed at the entrance of the area where entry/exit of the animal is desired to be managed. Then, the photographed image is input to the receiving means 15 through the network.
  • the processing calculation unit 17 uses the feature amount extraction means (learned model) 18 to extract the feature amount from the image input to the reception means 15 .
  • the processing operation unit 17 refers to the database 12, and uses the determination unit 11 to match the feature amount related to the animal face image stored in the database 12 with the feature amount obtained from the received image. Calculate the rate and determine whether or not they are the same individual. The judgment is repeated for each of the animal face images stored in the database 12, and if it is judged that they are the same individual, the face image of the animal and the individual identification information of the animal are output by the output means 14. Output on the screen of the terminal 13 .
  • the terminal 13 is, for example, a terminal installed at the entrance of an area where entry/exit of animals is desired to be managed.
  • Examples of the terminal 13 include a personal computer and a tablet terminal.
  • the terminal 13 includes a processing unit such as a CPU, a storage unit such as a hard disk, ROM or RAM, a display unit such as a liquid crystal panel, an input unit such as a mouse, keyboard, touch panel, etc., and a communication unit such as a network adapter. .
  • an image of an animal is photographed by a photographing means such as a camera, and individual identification is performed. It is also possible to use a camera to photograph the face of the target animal, and input and transmit the photograph.
  • the user takes a photograph of the face of the animal to be insured according to instructions displayed on the screen of the terminal 13 , and sends it to the reception means 15 when an appropriate photograph is taken.
  • the server is separately provided with a photographing assistance means consisting of an image determination program, and the photographing assistance means is an image of the individual, such as that the entire face of the animal is imaged, or that the animal's face is photographed from the front. It may be determined whether or not the photograph is suitable for identity determination, and the determination result may be transmitted to the user through an interface or terminal.
  • the server is configured by a computer in this embodiment, it may be any device as long as it has the functions of the present invention.
  • the server may be a server on the cloud.
  • the determination means and reception means are stored in the server and connected to the terminal via connection means such as the Internet or LAN, but the present invention is not limited to this.
  • a mode in which the means and the interface unit are stored in one server or device, or a mode in which a separate terminal is not required may be employed.
  • the storage unit 10 is composed of, for example, a ROM, a RAM, or a hard disk.
  • the storage unit 10 stores an information processing program for operating each unit of the server, and particularly stores the determination unit 11 .
  • the determination means 11 is software that calculates the matching rate of the feature amount for each image and determines whether or not the individuals are the same individual based on the matching rate value.
  • the processing calculation unit 17 executes identity determination using the determination means 11 stored in the storage unit.
  • the interface unit (communication unit) includes reception means 15 and output means 14, for example, receives a face image of an animal from a photographing means, and transmits to the terminal the determination result of identity or similarity, and the photographed individual. Output individual identification information about the same or similar individuals.
  • the entrance/exit management system of the present invention includes a database storing feature values extracted from animal facial images using a trained model and animal individual identification information, and an input of an animal's facial image entering or exiting.
  • Receiving means for receiving feature quantity extracting means for extracting a feature quantity from the face image input to the receiving means, including a trained model, feature quantity stored in the database, and the feature quantity extracting means for extracting
  • the face image of the animal input to the reception means is an image of an individual that is the same as or similar to the individual animal associated with the individual identification information stored in the database. and determination means.
  • the entrance/exit management system of the present invention can be used, for example, in pet hotels, dog runs, pet cafes, etc., where it is desired to grasp and manage the entrance and exit of animals to specific areas or rooms.
  • the database preferably stores, as individual identification information, one or more tendencies selected from the group consisting of barking tendency, aggression, activity and sociability.
  • the determining means determines that an animal about to enter or exit is an individual identical or similar to an individual having a predetermined propensity stored in the database, It is preferable to further have alert means for alerting. Alert means is not particularly limited.
  • the reception means is not limited, and for example, it is possible to receive, through the network, images captured by photography means such as a surveillance camera fixed in the room, a network camera, or a camera attached to a smartphone.
  • the database, feature quantity extraction means, determination means, and output means are the same as above.
  • FIG. 4 An example of an embodiment of the entrance/exit management system of the present invention will be described with reference to FIG. 4 using a case of a pet hotel.
  • the user of the pet hotel registers as a member on the website of the pet hotel through the terminal 13, and then registers the species, breed, name, date of birth, weight, sex, and vaccination status of the pet to be accommodated at the pet hotel.
  • the face image of the pet is registered together with the individual identification information such as.
  • the individual identification information of the registered pet is stored in the database 12 managed by the pet hotel.
  • a feature amount is extracted from the face image registered using the trained model, and stored in the database in association with the individual identification information.
  • the user makes a reservation for the pet hotel on the website through the terminal 13, and visits the pet hotel with the pet on the reserved date and time.
  • An employee of the pet hotel photographs the pet by a photographing means 16 such as a camera installed in the pet hotel.
  • the photographed image is input to the receiving means 15 through the network.
  • the processing calculation unit 17 uses the feature amount extraction means (learned model) 18 to extract the feature amount from the image input to the reception means 15 .
  • the processing operation unit 17 refers to the database 12, and uses the determination unit 11 to match the feature amount related to the face image of the pet stored in the database 12 with the feature amount obtained from the received image. Calculate the rate and determine whether or not they are the same individual.
  • the determination is repeated for each face image of the pet stored in the database 12, and when it is determined that they are the same individual, the face image of the pet and the individual identification information of the pet are output by the output means 14. Output on the screen of the hotel terminal.
  • the determination result may also be output to the terminal 13 owned by the user of the pet hotel.
  • the pet hotel employee uses the output determination result and pet individual identification information to determine that the pet trying to use the pet hotel is the same individual as the pet registered as a member. and allow the pet to enter.
  • a terminal 13 is a terminal used by a user.
  • Examples of the terminal 13 include a personal computer and a tablet terminal.
  • the terminal 13 includes a processing unit such as a CPU, a storage unit such as a hard disk, ROM or RAM, a display unit such as a liquid crystal panel, an input unit such as a mouse, keyboard, touch panel, etc., and a communication unit such as a network adapter. .
  • the user may use a smartphone camera to take a picture of the target animal's face on the spot, enter and send it.
  • the user takes a photograph of the face of the animal to be insured according to the instructions displayed on the screen of the terminal 13 and sends it to the database 12 when an appropriate photograph is taken.
  • the server is separately provided with a photographing assistance means consisting of an image determination program, and the photographing assistance means is an image of the individual, such as that the entire face of the animal is imaged, or that the animal's face is photographed from the front. It may be determined whether or not the photograph is suitable for identity/similarity determination, and the determination result may be transmitted to the user through an interface or a terminal.
  • the server is configured by a computer in this embodiment, it may be any device as long as it has the functions of the present invention.
  • the server may be a server on the cloud.
  • the storage unit 10 is composed of, for example, a ROM, a RAM, or a hard disk.
  • the storage unit 10 stores an information processing program for operating each unit of the server, and particularly stores the determination unit 11 .
  • the determination means 11 is software that calculates the matching rate of the feature amount for each image and determines whether the individuals are the same individual or similar individuals based on the matching rate value.
  • the processing calculation unit 17 uses the determination means 11 stored in the storage unit to perform identity/similarity determination.
  • the interface unit includes reception means 15 and output means 14. For example, the face image of the animal is received from the photographing means, and the determination result of identity/similarity and the identity of the photographed individual are sent to the terminal. Or output individual identification information about similar individuals.
  • the pet hotel can easily determine that the pet brought by the user is the same individual as the pet registered as a member, and the reception of the pet hotel. can be done smoothly.
  • Fig. 5 shows a flowchart of individual identification based on the embodiment of the entrance/exit management system of the present invention.
  • An employee of the pet hotel uses a photographing means to photograph the face of the pet brought by the user, and inputs it to the reception means of the server using a terminal (step S1).
  • the processing operation unit of the server compares the feature amount of the uploaded face image and the face image of the animal registered in advance in the database using the determination means, and determines whether or not they are the same individual or similar. It is determined whether or not the object is an individual (step S2).
  • the output means outputs the judgment result by displaying it on the terminal screen, etc., and presents it to the employee of the pet hotel (step S3).
  • the medical examination management system of the present invention includes a database storing feature amounts extracted from animal facial images using learned models and individual identification information of animals, and facial images of animals to be examined at a veterinary hospital.
  • Receiving means for receiving input feature quantity extracting means for extracting a feature quantity from the face image input to the receiving means, the feature quantity being stored in the database; By comparing the extracted feature amounts, it is determined whether or not the face image of the animal input to the receiving means is the image of an individual that is the same as or similar to the individual animal associated with the individual identification information stored in the database. and determination means for determining.
  • the medical examination management system of the present invention can be used, for example, when a pet insurance provider wants to know whether a pet covered by pet insurance has been examined.
  • the reception management system of the present invention includes a database storing feature values extracted from animal face images using learned models and animal individual identification information, and a face of an animal about to be trimmed or shampooed at a pet salon.
  • Receiving means for receiving an input of an image; feature quantity extracting means for extracting a feature quantity from the face image input to the receiving means, including a trained model; feature quantity stored in the database; By comparing the feature values extracted by the extracting means, it is determined whether or not the facial image of the animal input to the receiving means is the image of an individual that is the same as or similar to the individual animal associated with the individual identification information stored in the database.
  • a reception management system comprising: determination means for determining whether the facial image of the animal input to the receiving means is the image of an individual that is the same as or similar to the individual animal associated with the individual identification information stored in the database.
  • a reception management system comprising: determination means for determining whether the
  • the reception management system of the present invention can be used, for example, when a pet salon wants to know whether a pet to be serviced is a pet registered as a member and the past service provision history.
  • the management system of the present invention includes a database storing feature values extracted from animal face images using a trained model and animal individual identification information, and face images of animals that are candidates for animals to be searched.
  • a feature extraction means for extracting a feature from the face image input to the acceptance means including a trained model; a feature stored in the database; and the feature extraction By comparing the feature values extracted by the means, whether or not the face image of the animal input to the receiving means is an image of an individual that is the same as or similar to the individual animal associated with the individual identification information stored in the database. and determination means for determining the.
  • the animal management system of the present invention can be used, for example, when searching for a lost pet and wanting to check whether the found animal is the pet to be searched.
  • the individual identification method of the present invention includes a step of receiving an input of an animal face image, a feature extraction step of extracting a feature from the face image input to the receiving means using a trained model, and an animal face By comparing the feature amount extracted from the image using the trained model and the feature amount stored in a database storing the individual identification information of the animal and the feature amount extracted by the feature amount extraction means, the reception a determination step of determining whether the face image of the animal input to the means is an image of an individual that is the same as or similar to the individual animal associated with the individual identification information stored in the database.
  • the step of accepting an input of an animal's facial image is, for example, a step of accepting an input of an animal's facial image using the accepting means described above.
  • the feature quantity extraction step is a step of extracting a feature quantity from the face image input to the reception means using the learned model.
  • the trained model is the same as the trained model described in the individual identification system above.
  • the determination step the feature amount extracted from the face image of the animal using the trained model and the feature amount stored in the database storing the individual identification information of the animal, and the feature amount extracted by the feature amount extraction means. It is a step of determining whether or not the face image of the animal input to the reception means is the image of an individual that is the same as or similar to the individual animal associated with the individual identification information stored in the database. For example, it is the step of calculating the matching rate of the feature amount using the above determination means and determining whether the individuals are the same or similar.
  • Example 1 Face images of each of nine miniature dachshunds (images showing only the eyes and their surroundings. As an example, the color photographs of FIGS. 6(A) to (C). They were unified to 500 ⁇ 500 pixels.) were prepared. . Each image was input to the trained model and the feature amount was extracted. A model with ImageNet weights in EfficientNetB7 was used as a trained model. Next, a face image A of a miniature dachshund (individual to be identified; FIG. 7) for which individual identification is to be performed was prepared, and feature amounts were extracted using the above-described trained model. The same individual as the identification target individual is included in the above nine animals.
  • the cosine similarity with the feature value of the face image A is calculated, and the softmax function of the scaled cosine similarity is used so that the sum of the nine images is 100%. adjusted to As a result, it was found that the individual with the highest facial image match rate of 93% among the nine individuals was the image of the same individual as the individual to be identified.
  • Example 2 A plurality of face images similar to those in Example 1 were prepared for each of nine individuals (miniature dachshunds A to I). These images are called “database images”. Using the same trained model as in Example 1, feature amounts were extracted from each face image. Averaging (arithmetic mean) was performed on the feature amounts of multiple face images for each of the nine individuals. As shown in Table 1, the number of face images used for averaging was changed to 2, 4, 8, 16, 32, 64, and 128, and averaging was performed. rice field. In Table 1, the number of images used for averaging is "1", which is an example in which one image is used and no averaging is performed. The feature quantity obtained for each of the nine individuals is defined as the "average feature quantity".
  • the percentage of correct answers out of a total of 90 images of 9 individuals ⁇ 10 images was defined as the “correct answer rate”.
  • Table 1 shows the relationship between the number of sheets used for averaging and the accuracy rate. As is clear from Table 1, the accuracy rate can be increased by averaging the feature values.
  • Example 3 (Similar individual determination) One face image was prepared for each of 452 puppies. The puppies are 3-6 month old puppies whose breed is specified by pedigree or DNA test, and the images are 500 ⁇ 500 pixel color images showing at least the face and its surroundings. In addition, although the breed was not limited in this test, Toy Poodle, Chihuahua, Miniature Dachshund, Shiba, Pomeranian, Miniature Schnauzer, England Terrier, Shih Tzu, Papillon and French - Including bulldogs. Each image was input to the trained model and the feature amount was extracted. For EfficientNetB4, we used a model fine-tuned from a trained model with ImageNet weights. Next, one face image was prepared for each of 100 adult dogs, and the feature amount was extracted using the learned model. Puppies and adult dogs are separate individuals.

Abstract

Provided is an individual identification system or an individual identification method for an animal, the system comprising a means which identifies, by means of a simple method, an individual by using an image of the animal. The individual identification system comprises: a database which stores feature amounts extracted by using a trained model from face images of animals and pieces of individual identification information about the animals; a reception means which receives an input of a face image of an animal; a feature amount extraction means which includes the trained model and extracts feature amounts from the face image input to the reception means; and a determination means which, by comparing the feature amounts stored in the database and the feature amounts extracted by the feature amount extraction means, determines whether the face image of the animal input to the reception means is an image of an individual identical or similar to an animal individual related to the individual identification information stored in the database.

Description

個体識別システム及び個体識別方法Individual identification system and individual identification method
 本発明は、個体識別システム及び個体識別方法に関し、詳しくは、動物の顔の画像から、動物の個体を識別するシステム及び方法に関する。 The present invention relates to an individual identification system and an individual identification method, and more particularly to a system and method for identifying individual animals from facial images of animals.
 犬や猫、ウサギを始めとする愛玩動物、牛や豚を始めとする家畜は、人間にとってかけがえのない存在である。近年、愛玩動物いわゆるペットが人間と同じように扱われることが増えており、ペットの個体識別へのニーズが高まっている。 Pet animals such as dogs, cats, and rabbits, and livestock such as cows and pigs are irreplaceable existences for humans. In recent years, pet animals, so-called pets, are increasingly treated in the same way as humans, and there is a growing need for individual identification of pets.
 例えば、ペット用のトリミングサロン、ペットが同伴できるペットカフェ、ドッグラン、ペットとともに宿泊できる宿泊施設など、ペットが利用できる店舗やサービスが身近になってきている。このようなペットが利用できる店舗やサービスを運営しようとする場合、ペットの個体ごとに料金を徴収したり、ペットの個体を登録し、過去のサービス提供履歴を参照しながらサービスを提供したりする場合に、ペットの個体を識別し、判別することに対するニーズがある。 For example, pet-friendly stores and services are becoming more familiar, such as trimming salons for pets, pet cafes that allow pets, dog runs, and lodging facilities that allow pets to stay together. When trying to operate a store or service that can be used by such pets, a fee is collected for each individual pet, or an individual pet is registered and the service is provided while referring to the past service provision history. In some cases, there is a need to identify and distinguish individual pets.
 また、ペットが行方不明になった場合、ペット捜索サービスに依頼することがあるが、行方不明になったペットを探す場合、飼い主から提供されたペットの写真を元に、ペットの捜索が行われるのが一般的であり、当該写真に映った個体と、捜索対象の動物であると疑われている個体との同一性判断が問題となることから、ペットの写真からの個体識別が求められる。 In addition, when a pet goes missing, a pet search service may be requested. When searching for a missing pet, the pet is searched for based on the photo of the pet provided by the owner. Since it is a problem to determine the identity between the individual in the photograph and the individual suspected to be the animal to be searched, individual identification from the photograph of the pet is required.
 また、ペット保険を提供する場合、保険がかけられているペットとそうではないペットとを識別する必要がある。例えば、ペット保険の保険証を契約者に提供し、契約者が当該保険証を動物病院の窓口で提示することで保険金の支払いを受けられるようにするためには、当該保険証に記載されているペットの個体が、実際に診療を受けたペットの個体と同一でなくてはならない。現状では、このようなペット保険を提供しようとする場合、ペット保険運営会社がペットの顔写真付きの保険証を契約者に発行し、契約者が、動物病院の受付において、当該保険証を提示し、動物病院が、保険証に掲載されているペットの写真と診察を受けたペットとを目視で比較し、個体の同一性を判断せざるを得ない。 Also, when providing pet insurance, it is necessary to distinguish between insured pets and uninsured pets. For example, in order to provide a policyholder with an insurance card for pet insurance so that the policyholder can receive insurance payment by presenting the insurance card at the window of a veterinary hospital, The individual pet being treated must be the same as the individual pet actually undergoing medical care. Currently, when trying to provide such pet insurance, the pet insurance management company issues an insurance card with a photo of the pet's face to the policyholder, and the policyholder presents the insurance card at the reception of the animal hospital. However, veterinary hospitals have no choice but to visually compare the photograph of the pet on the insurance card with the pet that has undergone a medical examination to determine the identity of the individual.
 そこで、簡易な方法で、ペットの個体を識別できる手段が求められている。 Therefore, there is a need for a simple method for identifying individual pets.
 特許文献1には、ネットワークカメラと、そのカメラにより撮影した野生動物が、未だ捕獲設備の内部に現存するか否かを検知する現存検知センサーと、上記ネットワークカメラから受信した電子メールを閲覧できるスマートフォンやタブレット端末、パソコンなどのユーザ情報端末とを備え、捕獲設備の据付け現場から遠く離れた遠隔地に居る監視者が、上記ネットワークカメラから1回だけ又は1枚だけ受信した電子メールの静止画を閲覧しつつ、ネットワークカメラや捕獲設備を遠隔操作できる個体識別式の野生動物捕獲システムが開示されている。 Patent Document 1 discloses a network camera, a presence detection sensor that detects whether or not a wild animal photographed by the camera still exists inside a capture facility, and a smartphone that can read e-mails received from the network camera. , a tablet terminal, a user information terminal such as a personal computer, etc., and a still image of an e-mail received only once or only once from the above network camera. Disclosed is an individual identification wild animal capture system that allows remote control of network cameras and capture equipment while viewing.
 また、特許文献2には、ユーザ端末が撮影の際に撮影対象が振り向く周波数の音を出す撮影手段を有し、動物識別情報登録手段が、撮影手段により撮影された写真の写真データをユーザ端末から受信して、受信した写真データを動物識別情報として管理DBに登録し、通知手段が、写真の画像を比較して類似度を算出するマッチングにより特定された前記動物関連情報を前記ユーザ端末に通知する動物探索システムが開示されている。 Further, in Japanese Patent Laid-Open No. 2002-200003, a user terminal has a photographing means for producing a sound of a frequency that causes a photographed object to turn around when photographing, and an animal identification information registering means transmits photograph data of a photograph photographed by the photographing means to the user terminal. and registers the received photo data in the management DB as animal identification information, and the notification means sends the animal-related information specified by matching that compares the images of the photos and calculates the similarity to the user terminal An animal search system that notifies is disclosed.
 また、特許文献3には、複数のペットの個体識別を行うペットの個体識別システムであって、ペット画像から特徴量を抽出して、ペットの識別子と対応付けて保存し、個体識別を行う為にペットの別の画像を取得し、当該別の画像から特徴量を抽出して、保存されている特徴量と比較して、識別結果が正しくないと判断される場合にはユーザに訂正を促し、ユーザの訂正を取得した場合は前記識別結果を更新し、前記別の画像および別の画像から抽出された特徴量の少なくとも一方をペットの識別子に関連付けて登録するペットの個体識別システムが開示されている。 Further, Patent Document 3 discloses a pet individual identification system that performs individual identification of a plurality of pets. Then, another image of the pet is acquired, the feature amount is extracted from the other image, and the feature amount is compared with the stored feature amount. If the identification result is judged to be incorrect, the user is prompted to correct it. , a pet individual identification system that updates the identification result when a user's correction is obtained, and registers at least one of the another image and the feature amount extracted from the other image in association with the pet identifier. ing.
 しかしながら、特許文献1や2には、学習済みモデルを用いて、動物の画像から個体を識別する手段は開示されていない。また、特許文献3に記載された個体識別システムは、識別結果が正しくないと判断される場合にはユーザに訂正を促し、ユーザの訂正を取得した場合は前記識別結果を更新し、前記別の画像および別の画像から抽出された特徴量の少なくとも一方をペットの識別子に関連付けて登録するというものであり、ユーザからの識別結果の訂正を前提とするものである。 However, Patent Documents 1 and 2 do not disclose means for identifying individuals from animal images using trained models. Further, the individual identification system described in Patent Document 3 prompts the user to correct the identification result when it is determined that the identification result is incorrect, updates the identification result when the user's correction is obtained, and At least one of the feature amount extracted from the image and another image is associated with the pet identifier and registered, and is premised on correction of the identification result from the user.
特開2019-4703号公報Japanese Patent Application Laid-Open No. 2019-4703 特開2016-224640号公報JP 2016-224640 A 特開2019-71895号公報JP 2019-71895 A
 そこで、本発明は、簡易な方法で、動物の画像を用いて個体を識別する手段を備える動物の個体識別システムや個体識別方法を提供することを目的とする。 Therefore, it is an object of the present invention to provide an individual animal identification system and an individual identification method for animals that include means for identifying individuals using animal images in a simple manner.
 動物を対象とする健康保険、いわゆるペット保険を運営する保険会社には、膨大な数の動物の画像と、その動物の個体に関する情報が蓄積されており、本発明者らは、これらを用いて上記課題が解決できないかを検討してきた。その結果、動物の画像から学習済みモデルを用いて抽出した特徴量を比較することで、簡易に個体識別が可能となることを見出し、本発明を完成するに至った。 Insurance companies that operate health insurance for animals, so-called pet insurance, have accumulated a huge number of images of animals and information on individual animals, and the inventors of the present invention use these images. I have been trying to find out if the above problem can be solved. As a result, the inventors have found that individual identification can be easily performed by comparing features extracted from animal images using trained models, and have completed the present invention.
 すなわち、本発明は以下の[1]~[16]である。
[1]動物の顔画像から学習済みモデルを用いて抽出された特徴量及び動物の個体識別情報を記憶したデータベースと、
 動物の顔画像の入力を受け付ける受付手段と、
 学習済みモデルを含み、前記受付手段に入力された顔画像から前記学習済みモデルによって特徴量を抽出する特徴量抽出手段と、
 前記データベースに記憶されている特徴量と、前記特徴量抽出手段が抽出した特徴量を比較することにより、前記受付手段に入力された動物の顔画像が、データベースに記憶された個体識別情報に係る動物個体と同一又は類似の個体の画像であるか否かを判定する判定手段と、を備える個体識別システム。
[2]前記学習済みモデルが、ニューラルネットワークである[1]の個体識別システム。
[3]前記学習済みモデルが、畳み込みニューラルネットワークである[2]の個体識別システム。
[4]前記特徴量抽出手段に含まれる学習済みモデルが、前記データベースに記憶される特徴量を抽出するのに用いられる学習済みモデルと同一の学習済みモデルである[1]~[3]のいずれかの個体識別システム。
[5]前記データベースが記憶する特徴量が、同一個体を撮影した複数の画像から抽出された特徴量を平均化して得られる特徴量である[1]~[4]のいずれかの個体識別システム。
[6]前記特徴量抽出手段が、同一個体を撮影した複数の画像から特徴量を抽出し、前記判定手段においてデータベースに記憶されている特徴量との比較に用いられる特徴量が、同一個体を撮影した複数の画像から抽出した特徴量を平均化して得られる特徴量である[1]~[5]のいずれかの個体識別システム。
[7]動物の顔画像から学習済みモデルを用いて抽出された特徴量及び動物の個体識別情報を記憶したデータベースと、
 入場又は退場しようとする動物の顔画像の入力を受け付ける受付手段と、
 学習済みモデルを含み、前記受付手段に入力された顔画像から前記学習済みモデルによって特徴量を抽出する特徴量抽出手段と、
 前記データベースに記憶されている特徴量と、前記特徴量抽出手段が抽出した特徴量を比較することにより、前記受付手段に入力された動物の顔画像が、データベースに記憶された個体識別情報に係る動物個体と同一又は類似の個体の画像であるか否かを判定する判定手段と、を備える入退場管理システム。
[8]前記データベースは、個体識別情報として、吠え傾向、攻撃性、活発性及び社交性からなる群から選ばれる一つ以上の性向を記憶する[7]の入退場管理システム。
[9]入場又は退場しようとする動物が、所定の性向を有することがデータベースに記憶されている個体と同一の個体であると判定手段が判定した場合、アラートをするアラート手段をさらに有する[8]の入退場管理システム。
[10]動物の顔画像から学習済みモデルを用いて抽出された特徴量及び動物の個体識別情報を記憶したデータベースと、
 動物病院において診察を受けようとする動物の顔画像の入力を受け付ける受付手段と、
 学習済みモデルを含み、前記受付手段に入力された顔画像から前記学習済みモデルによって特徴量を抽出する特徴量抽出手段と、
 前記データベースに記憶されている特徴量と、前記特徴量抽出手段が抽出した特徴量を比較することにより、前記受付手段に入力された動物の顔画像が、データベースに記憶された個体識別情報に係る動物個体と同一又は類似の個体の画像であるか否かを判定する判定手段と、を備える診察管理システム。
[11]動物の顔画像から学習済みモデルを用いて抽出された特徴量及び動物の個体識別情報を記憶したデータベースと、
 ペットサロンにおいてトリミング又はシャンプーを受けようとする動物の顔画像の入力を受け付ける受付手段と、
 学習済みモデルを含み、前記受付手段に入力された顔画像から前記学習済みモデルによって特徴量を抽出する特徴量抽出手段と、
 前記データベースに記憶されている特徴量と、前記特徴量抽出手段が抽出した特徴量を比較することにより、前記受付手段に入力された動物の顔画像が、データベースに記憶された個体識別情報に係る動物個体と同一又は類似の個体の画像であるか否かを判定する判定手段と、を備える受付管理システム。
[12]動物の顔画像から学習済みモデルを用いて抽出された特徴量及び動物の個体識別情報を記憶したデータベースと、
 捜索対象となっている動物の候補となる動物の顔画像の入力を受け付ける受付手段と、
 学習済みモデルを含み、前記受付手段に入力された顔画像から前記学習済みモデルによって特徴量を抽出する特徴量抽出手段と、
 前記データベースに記憶されている特徴量と、前記特徴量抽出手段が抽出した特徴量を比較することにより、前記受付手段に入力された動物の顔画像が、データベースに記憶された個体識別情報に係る動物個体と同一又は類似の個体の画像であるか否かを判定する判定手段と、を備える捜索管理システム。
[13]動物の顔画像の入力を受け付けるステップと、
 学習済みモデルを用いて、前記受付手段に入力された顔画像から特徴量を抽出する特徴量抽出ステップと、
 動物の顔画像から学習済みモデルを用いて抽出された特徴量及び動物の個体識別情報を記憶したデータベースに記憶されている特徴量と、前記特徴量抽出手段が抽出した特徴量を比較することにより、前記受付手段に入力された動物の顔画像が、データベースに記憶された個体識別情報に係る動物個体と同一又は類似の個体の画像であるか否かを判定する判定ステップと、を備える個体識別方法。
[14]前記判定手段が、前記データベースに記憶されている特徴量と、前記特徴量抽出手段が抽出した特徴量のコサイン類似度を比較することにより、前記受付手段に入力された動物の顔画像が、データベースに記憶された個体識別情報に係る動物個体と同一又は類似の個体の画像であるか否かを判定するものである[1]~[6]のいずれかの個体識別システム。
[15]幼齢の動物の顔画像から学習済みモデルを用いて抽出された特徴量及び前記幼齢の動物の個体識別情報を記憶したデータベースと、
 成体の動物の顔画像の入力を受け付ける受付手段と、
 学習済みモデルを含み、前記受付手段に入力された顔画像から前記学習済みモデルによって特徴量を抽出する特徴量抽出手段と、
 前記データベースに記憶されている特徴量と、前記特徴量抽出手段が抽出した特徴量を比較することにより、前記受付手段に入力された成体の動物の顔画像が、データベースに記憶された個体識別情報に係る動物個体と同一又は類似の個体の画像であるか否かを判定する判定手段と、を備える個体識別システム。
[16]成体の動物の顔画像から学習済みモデルを用いて抽出された特徴量及び前記成体の動物の個体識別情報を記憶したデータベースと、
 幼齢の動物の顔画像の入力を受け付ける受付手段と、
 学習済みモデルを含み、前記受付手段に入力された顔画像から前記学習済みモデルによって特徴量を抽出する特徴量抽出手段と、
 前記データベースに記憶されている特徴量と、前記特徴量抽出手段が抽出した特徴量を比較することにより、前記受付手段に入力された幼齢の動物の顔画像が、データベースに記憶された個体識別情報に係る動物個体と同一又は類似の個体の画像であるか否かを判定する判定手段と、を備える個体識別システム。
That is, the present invention is the following [1] to [16].
[1] A database storing feature values extracted from animal face images using trained models and animal individual identification information;
a receiving means for receiving an input of an animal face image;
a feature quantity extracting means for extracting a feature quantity from the face image input to the receiving means using the learned model;
By comparing the feature amount stored in the database and the feature amount extracted by the feature amount extraction means, the facial image of the animal input to the reception means is associated with the individual identification information stored in the database. and determination means for determining whether the image is of an individual that is the same as or similar to the animal individual.
[2] The individual identification system of [1], wherein the trained model is a neural network.
[3] The individual identification system of [2], wherein the trained model is a convolutional neural network.
[4] of [1] to [3], wherein the trained model included in the feature quantity extraction means is the same trained model as the trained model used to extract the feature quantity stored in the database; Any individual identification system.
[5] The individual identification system according to any one of [1] to [4], wherein the feature amount stored in the database is a feature amount obtained by averaging feature amounts extracted from multiple images of the same individual. .
[6] The feature quantity extraction means extracts a feature quantity from a plurality of images of the same individual, and the feature quantity used for comparison with the feature quantity stored in the database in the determination means is the same individual. The individual identification system according to any one of [1] to [5], which is a feature amount obtained by averaging feature amounts extracted from a plurality of captured images.
[7] A database storing feature values extracted from animal face images using trained models and animal individual identification information;
reception means for receiving an input of a facial image of an animal to enter or exit;
a feature quantity extracting means for extracting a feature quantity from the face image input to the receiving means using the learned model;
By comparing the feature amount stored in the database and the feature amount extracted by the feature amount extraction means, the facial image of the animal input to the reception means is associated with the individual identification information stored in the database. An entrance/exit management system, comprising: determination means for determining whether the image is of an individual that is the same as or similar to an animal individual.
[8] The entrance/exit management system of [7], wherein the database stores, as individual identification information, one or more tendencies selected from the group consisting of barking tendency, aggression, activity and sociability.
[9] further comprising alert means for issuing an alert when the determining means determines that the animal about to enter or leave is the same individual as the individual stored in the database as having a predetermined propensity [8] ] entry/exit management system.
[10] A database storing feature values extracted from animal face images using trained models and animal individual identification information;
a receiving means for receiving an input of a face image of an animal to be examined at a veterinary hospital;
a feature quantity extracting means for extracting a feature quantity from the face image input to the receiving means using the learned model;
By comparing the feature amount stored in the database and the feature amount extracted by the feature amount extraction means, the facial image of the animal input to the reception means is associated with the individual identification information stored in the database. A medical examination management system, comprising determination means for determining whether the image is of an individual that is the same as or similar to an animal individual.
[11] A database storing feature amounts and individual identification information of animals extracted from facial images of animals using trained models;
a receiving means for receiving an input of a facial image of an animal that is about to be trimmed or shampooed at a pet salon;
a feature quantity extracting means for extracting a feature quantity from the face image input to the receiving means using the learned model;
By comparing the feature amount stored in the database and the feature amount extracted by the feature amount extraction means, the facial image of the animal input to the reception means is associated with the individual identification information stored in the database. A reception management system comprising a determination means for determining whether the image is of an individual that is the same as or similar to an animal individual.
[12] A database storing feature amounts and individual identification information of animals extracted from facial images of animals using trained models;
receiving means for receiving an input of a facial image of an animal that is a candidate for an animal to be searched;
a feature quantity extracting means for extracting a feature quantity from the face image input to the receiving means using the learned model;
By comparing the feature amount stored in the database and the feature amount extracted by the feature amount extraction means, the facial image of the animal input to the reception means is associated with the individual identification information stored in the database. A search management system comprising a determination means for determining whether the image is of an individual that is the same as or similar to an animal individual.
[13] accepting an input of an animal face image;
a feature quantity extraction step of extracting a feature quantity from the face image input to the reception means using the learned model;
By comparing the feature amount extracted from the face image of the animal using the trained model and the feature amount stored in a database storing individual identification information of the animal and the feature amount extracted by the feature amount extraction means and a determination step of determining whether or not the face image of the animal input to the receiving means is an image of an individual that is the same as or similar to the individual animal associated with the individual identification information stored in the database. Method.
[14] The face image of the animal input to the receiving means by the determining means comparing the cosine similarity between the feature quantity stored in the database and the feature quantity extracted by the feature quantity extracting means. The individual identification system according to any one of [1] to [6], wherein the image is of an individual that is the same as or similar to an individual animal associated with individual identification information stored in a database.
[15] A database storing feature values extracted from face images of young animals using trained models and individual identification information of the young animals;
a receiving means for receiving an input of a facial image of an adult animal;
a feature extraction unit that includes a trained model and extracts a feature from the face image input to the reception unit using the trained model;
By comparing the feature amount stored in the database with the feature amount extracted by the feature amount extraction means, the face image of the adult animal input to the reception means is obtained as the individual identification information stored in the database. and determination means for determining whether or not the image is of an individual that is the same as or similar to the individual animal.
[16] a database storing feature amounts extracted from facial images of adult animals using trained models and individual identification information of the adult animals;
a receiving means for receiving an input of a facial image of a young animal;
a feature extraction unit that includes a trained model and extracts a feature from the face image input to the reception unit using the trained model;
By comparing the feature amount stored in the database and the feature amount extracted by the feature amount extraction means, the face image of the young animal input to the reception means is identified as the individual identification stored in the database. and determination means for determining whether or not the image is of an individual that is the same as or similar to an individual animal related to information.
 本発明により、簡易な方法で、動物の画像を用いて個体を識別する手段を備える動物の個体識別システムや個体識別方法を提供することが可能となる。本発明の個体識別システム及び個体識別方法は、ドッグランやブリーダーの犬舎、運動場の出入りの際の個体識別、ホテル、病院、ペットサロンの受付時の個体識別、迷子の捜索の際の個体識別など様々な応用が可能である。 According to the present invention, it is possible to provide an individual animal identification system and an individual identification method that include means for identifying individuals using animal images in a simple manner. The individual identification system and individual identification method of the present invention can be used for individual identification when entering and exiting a dog run, breeder's kennel, playground, individual identification when receiving a hotel, hospital, or pet salon, individual identification when searching for a lost child, and the like. Various applications are possible.
好適な動物の顔画像の一例を表す図である。It is a figure showing an example of the suitable face image of an animal. 好適な動物の顔画像の一例を表す図である。It is a figure showing an example of the suitable face image of an animal. 本発明の個体識別システムの一実施態様を表す構成概略図である。1 is a schematic configuration diagram showing one embodiment of an individual identification system of the present invention; FIG. 本発明の入退場管理システムの一実施態様を表す構成概略図である。1 is a schematic configuration diagram showing one embodiment of an entrance/exit management system of the present invention; FIG. 本発明の入退場管理システムによる入退場管理の流れの一例を表すフローチャート図である。It is a flowchart figure showing an example of the flow of entrance/exit management by the entrance/exit management system of this invention. 実施例で用いた動物の顔画像の一例である。It is an example of an animal face image used in the example. 実施例で用いた動物の顔画像の一例である。It is an example of an animal face image used in the example.
<個体識別システム>
 本発明の個体識別システムは、動物の顔画像から学習済みモデルを用いて抽出された特徴量及び動物の個体識別情報を記憶したデータベースと、動物の顔画像の入力を受け付ける受付手段と、学習済みモデルを含み、前記受付手段に入力された顔画像から前記学習済みモデルによって特徴量を抽出する特徴量抽出手段と、前記データベースに記憶されている特徴量と、前記特徴量抽出手段が抽出した特徴量を比較することにより、前記受付手段に入力された動物の顔画像が、データベースに記憶された個体識別情報に係る動物個体と同一又は類似の個体の画像であるか否かを判定する判定手段と、を備える。なお、類似の個体とは、対象となる個体と外見が似ている個体のことをいう。
<Individual identification system>
The individual identification system of the present invention includes a database that stores feature values extracted from animal face images using a trained model and individual animal identification information, a reception means that receives an input of an animal face image, and a trained model. A feature amount extracting means including a model and extracting a feature amount from the face image input to the receiving means by the learned model; a feature amount stored in the database; and a feature extracted by the feature amount extracting means. Determining means for determining whether or not the face image of the animal input to the receiving means is an image of an individual that is the same as or similar to the individual animal associated with the individual identification information stored in the database, by comparing the amounts. And prepare. A similar individual means an individual whose appearance is similar to that of the target individual.
[データベース]
 本発明のデータベースは、動物の顔画像から学習済みモデルを用いて抽出された特徴量及び動物の個体識別情報を記憶するものである。好ましくは、動物の顔画像から抽出された特徴量と当該顔画像に係る動物の個体の個体識別情報を紐付けて記憶、格納する。個体識別情報としては、例えば、当該動物の種、品種、性別、年齢、体重、体長が挙げられる。また、動物の顔画像そのものを個体識別情報として記憶していてもよい。その他、動物ごとにIDナンバーを付してもよい。さらに、当該動物の通院歴、手術歴、薬の投与歴といった健康に関する情報や、トリミング履歴、シャンプー履歴、爪切り履歴といったペットサロンの利用履歴に関する情報などを個体識別情報に付してもよい。また、個体識別情報として、吠え傾向、攻撃性、活発性及び社交性からなる群から選ばれる一つ以上の性向を記憶することもできる。データベースは、データベースサーバの形で管理してもよく、クラウドサーバ上で管理してもよく、分散データベースとしてもよい。
[Database]
The database of the present invention stores feature amounts and individual identification information of animals extracted from facial images of animals using learned models. Preferably, the feature amount extracted from the facial image of the animal and the individual identification information of the individual animal related to the facial image are linked and stored. Examples of individual identification information include species, breed, sex, age, weight, and body length of the animal. Also, the face image of the animal itself may be stored as the individual identification information. Alternatively, an ID number may be assigned to each animal. Furthermore, health-related information such as the animal's hospital visit history, surgery history, and drug administration history, and information related to pet salon usage history such as trimming history, shampoo history, nail clipping history, and the like may be attached to the individual identification information. Also, as the individual identification information, one or more tendencies selected from the group consisting of barking tendency, aggression, activity and sociability can be stored. The database may be managed in the form of a database server, managed on a cloud server, or distributed.
 データベースが記憶する特徴量を抽出する学習済みモデルとしては、人工知能(AI)が好ましい。人工知能(AI)とは、人間の脳が行っている知的な作業をコンピュータで模倣したソフトウェアやシステムであり、具体的には、人間の使う自然言語を理解したり、論理的な推論を行ったり、経験から学習したりするコンピュータプログラムなどのことをいう。人工知能としては、汎用型、特化型のいずれであってもよく、ディープニューラルネットワーク、畳み込みニューラルネットワーク等のいずれであってもよく、公開されているソフトウェアを使用することができる。データベースに記憶される特徴量を抽出する学習済みモデルと、後述する特徴量抽出手段が含む学習済みモデルは、同一の学習済みモデルであることが好ましい。 Artificial intelligence (AI) is preferable as a trained model that extracts the feature values stored in the database. Artificial Intelligence (AI) is a software or system that imitates the intellectual work of the human brain on a computer. A computer program, etc., that performs and learns from experience. Artificial intelligence may be general-purpose or specialized, and may be deep neural networks, convolutional neural networks, or the like, and open software can be used. It is preferable that the trained model for extracting the feature quantity stored in the database and the trained model included in the feature quantity extraction means described later are the same trained model.
 また、学習済みモデルを更新した場合に、データベースが記憶する特徴量が自動的に更新されることが好ましい。具体的には、学習済みモデルが更新された際に、データベースが記憶する特徴量の抽出に利用された画像を探索し、更新された学習済みモデルを用いて、当該画像から改めて特徴量の抽出を行うプログラムを有することが好ましい。なお、このプログラムをシステム稼働率の低い時間帯、例えば夜間に実行させることで、システムの負荷を抑制することができる。 Also, when the learned model is updated, it is preferable that the feature values stored in the database are automatically updated. Specifically, when the trained model is updated, the image stored in the database and used to extract the feature quantity is searched, and the updated trained model is used to extract the feature quantity from the image again. preferably have a program to The load on the system can be suppressed by executing this program during a time period when the system operation rate is low, for example, at night.
 データベースに記憶される特徴量は、同一の個体を撮影した複数の画像からそれぞれ抽出された特徴量を平均化して得られたものであることが好ましい。特徴量を平均化することで、データベースに記憶される特徴量のブレを抑えることができる。ここでいうブレとは、画像撮影時点での瞬きや表情変化といった被写体の動きおよび光や焦点位置といった環境に依る動きをいう。このように特徴量を平均化することで、その個体の持つ固有の特徴をデータベースに記憶することが可能となり、判定精度を向上させることができる。また、データベースには平均化された特徴量のみを記憶させておけばよく、すべての画像の特徴量を記憶させておく必要はない。したがって、本発明によれば、データベースの負荷を軽減することもできる。 The feature values stored in the database are preferably obtained by averaging feature values extracted from multiple images of the same individual. By averaging the feature amounts, blurring of the feature amounts stored in the database can be suppressed. The term "shake" as used herein refers to movement of the subject such as blinking and facial expression changes at the time of image capturing, and movement due to the environment such as light and focal position. By averaging the feature amounts in this way, it becomes possible to store the unique features of the individual in the database, and the determination accuracy can be improved. In addition, the database only needs to store the averaged feature amount, and it is not necessary to store the feature amount of all images. Therefore, according to the present invention, the load on the database can also be reduced.
 本発明における平均化とは、複数の画像からそれぞれ抽出した特徴量から、代表的な特徴量を導き出す手法を指す。したがって、一般的な平均値である相加平均や相乗平均を計算する手法に加えて、中央値や最頻値を求める手法も本発明における平均化として扱う。 Averaging in the present invention refers to a method of deriving representative feature values from feature values extracted from multiple images. Therefore, in addition to the method of calculating the arithmetic mean and the geometric mean, which are general mean values, the method of obtaining the median value and the mode value is treated as averaging in the present invention.
 また、それぞれの特徴量を平均化する際に外れ値を除外してから平均化してもよい。外れ値を除外することで判定精度を向上させることができる。なお、既知の方法で外れ値かどうかを検定できる。例えば、偏差を不偏標準偏差で割った検定統計量を求め、この値が有意点より大きいかどうかで検定する。 Also, when averaging each feature amount, outliers may be excluded before averaging. Determination accuracy can be improved by excluding outliers. In addition, it can be tested whether it is an outlier by a known method. For example, a test statistic obtained by dividing the deviation by the unbiased standard deviation is obtained, and whether or not this value is greater than the significance point is tested.
 また、それぞれの特徴量を平均化する際に画像の重要度に応じた重さを特徴量に乗じる加重平均をしてもよい。画像の重みづけを施すことで判定精度を向上させることができる。例えば、自然な表情かつ正面を向いた画像については重さを大きくし、瞬きをしている横を向いた画像については重さを小さくするといった操作を行う。 Also, when averaging each feature amount, a weighted average may be performed by multiplying the feature amount by a weight according to the importance of the image. Determination accuracy can be improved by weighting the image. For example, an image with a natural expression and facing the front is given a larger weight, and a sideways image with a blink is given a smaller weight.
 なお、平均値として中央値や最頻値を用いる場合には、加重平均をすることはできないが、画像の重要性に応じて、カウント数を変更することによって判定精度を向上させることができる。例えば、新しくアップロードされた画像については、異なる2枚の画像として扱い、古い画像については1枚の画像として扱うといった操作を行う。  If the median value or the mode value is used as the average value, weighted averaging cannot be performed, but the determination accuracy can be improved by changing the count number according to the importance of the image. For example, a newly uploaded image is treated as two different images, and an old image is treated as a single image. 
[受付手段]
 本発明の受付手段は、ヒトを除く動物の顔画像の入力を受け付ける手段である。好ましくは、データベースに記憶されている個体と同一又は類似の個体であるかどうかの判定の対象となる個体の画像を受け付ける。画像としては静止画であっても、動画であってもよい。本明細書において「画像」といった場合、静止画と動画の双方を含む。動画の場合、顔画像とは、顔が写っている動画である。動画の中に顔が写っている場面が含まれていればよい。動画は連続した静止画の集合であり、静止画と同様の処理が可能である。動物としては、犬、猫、ウサギ、フェレット等の哺乳類、鳥類、爬虫類等の愛玩動物が挙げられ、哺乳類が好ましく、犬及び猫がより好ましい。画像の受付方法は、スキャン、画像データの入力、送信、その場で撮影しての画像取り込み、リアルタイムで撮影された動画のアップロードなどいずれの方法であってもよい。顔画像のフォーマットは特に限定されないが、顔画像は、動物の顔を正面から撮影した写真であることが好ましく、図1に表すような動物の顔が大きく写っている写真がより好ましい。そのような写真として、ヒトの運転免許証の写真のような写真が挙げられる。図2のように、動物の健康保険証に用いられる画像も好ましい。また、入退場を管理したい区画の入り口に設置したカメラが、動物を撮影し、得られた静止画又は動画をサーバにアップロードすることによりサーバの受付手段が画像を受け付けるという構成であれば、動物の入退場の際の個体識別が可能となる。
[Receiving means]
The receiving means of the present invention is means for receiving input of face images of animals other than humans. Preferably, an image of an individual to be determined as to whether it is the same or similar to an individual stored in the database is accepted. The image may be a still image or a moving image. In this specification, the term "image" includes both still images and moving images. In the case of moving images, a face image is a moving image in which a face is shown. It is sufficient if the moving image includes a scene in which the face is shown. A moving image is a set of continuous still images and can be processed in the same way as for still images. Examples of animals include mammals such as dogs, cats, rabbits and ferrets, and pets such as birds and reptiles. Mammals are preferred, and dogs and cats are more preferred. The image reception method may be any method such as scanning, inputting and transmitting image data, importing images taken on the spot, and uploading moving images taken in real time. The format of the face image is not particularly limited, but the face image is preferably a photograph of the animal's face taken from the front, and more preferably a photograph showing the animal's face enlarged as shown in FIG. Such photographs include photographs such as those of a person's driver's license. Also preferred are images used on animal health insurance cards, as in FIG. In addition, if a camera installed at the entrance of a section for which entry/exit is to be managed captures an image of the animal and uploads the resulting still image or moving image to the server, the reception means of the server receives the image. Individual identification at the time of entry and exit is possible.
 画像は、白黒、グレースケール、カラーのいずれであってもよい。動物の顔全体が写っていない画像、画像編集ソフトウェアで形状が編集された画像、複数の動物が写っている画像、目や耳が判別出来ないほど顔が小さく写っている画像あるいは不鮮明な画像は好ましくない。画像については、ノーマライゼーションが施され、解像度等が統一されたものが好ましい。 The image may be black and white, grayscale, or color. Images that do not show the entire animal's face, images whose shape has been edited with image editing software, images that include multiple animals, images that have faces so small that their eyes and ears cannot be recognized, or images that are unclear. I don't like it. As for the image, it is preferable that the image is normalized and the resolution and the like are unified.
[特徴量抽出手段]
 本発明の特徴量抽出手段は、学習済みモデルを含み、前記受付手段に入力された顔画像から前記学習済みモデルによって特徴量を抽出する手段である。学習済みモデルとしては、人工知能(AI)が好ましい。人工知能(AI)とは、人間の脳が行っている知的な作業をコンピュータで模倣したソフトウェアやシステムであり、具体的には、人間の使う自然言語を理解したり、論理的な推論を行ったり、経験から学習したりするコンピュータプログラムなどのことをいう。人工知能としては、汎用型、特化型のいずれであってもよく、ディープニューラルネットワーク、畳み込みニューラルネットワーク等のいずれであってもよく、公開されているソフトウェアを使用することができる。
[Feature quantity extraction means]
The feature amount extracting means of the present invention is means for extracting a feature amount from the face image input to the receiving means by using the learned model. Artificial intelligence (AI) is preferred as the trained model. Artificial Intelligence (AI) is a software or system that imitates the intellectual work of the human brain on a computer. A computer program, etc., that performs and learns from experience. Artificial intelligence may be general-purpose or specialized, and may be deep neural networks, convolutional neural networks, or the like, and open software can be used.
 学習済みモデルを生成するために、人工知能を教師データを用いて学習させる。学習としては、機械学習であっても、ディープラーニング(深層学習)であってもよいが、ディープラーニングが好ましい。ディープラーニングは、機械学習を発展させたものであり、特徴量を自動的に見つけ出す点に特徴がある。 In order to generate a trained model, let artificial intelligence learn using teacher data. Learning may be machine learning or deep learning, but deep learning is preferred. Deep learning is a development of machine learning, and is characterized by automatically finding feature quantities.
 学習済みモデルを生成するための学習方法としては、特に制限されず、公開されているソフトウェアを用いることができる。例えば、NVIDIAが公開しているDIGITS (the Deep Learning GPU Training System)を用いることができる。その他、例えば、「サポートベクターマシン入門」(共立出版)等において公開されている公知のサポートベクターマシン法(Support Vector Machine法)等によって学習させてもよい。学習用のデータセットとしては、ImageNetなど公開されているデータセットを用いることができる。 The learning method for generating trained models is not particularly limited, and publicly available software can be used. For example, DIGITS (the Deep Learning GPU Training System) published by NVIDIA can be used. In addition, for example, learning may be performed by a known support vector machine method (Support Vector Machine method) published in "Introduction to Support Vector Machines" (Kyoritsu Shuppan). As a training data set, a public data set such as ImageNet can be used.
 学習のための教師データは、動物の顔画像とその動物の品種である。教師データとしての動物の顔画像は、上記受付方法で説明した顔画像と同様であっても異なっていてもよい。教師データとして用いる動物の顔画像としては、動物の眼、鼻、口、耳及び顔の輪郭を含む顔全体の画像を用いることが好ましい。 The training data for learning is animal face images and their breeds. The face image of the animal as training data may be the same as or different from the face image described in the reception method. As the facial image of the animal used as training data, it is preferable to use an image of the entire face including the eyes, nose, mouth, ears, and outline of the face of the animal.
 学習済みモデルとしては、ニューラルネットワークが好ましく、畳み込みニューラルネットワークがさらに好ましい。学習済みモデルは、個体識別の対象となる動物種の画像を特に学習したものであることが好ましい。また、データベースに記憶される特徴量を抽出する学習済みモデルと、特徴量抽出手段が含む学習済みモデルは、同一の学習済みモデルであることが好ましい。同一の学習済みモデルを用いることで、学習済みモデルを通じて抽出される特徴量の数が同じになり、一致率(例えばコサイン類似度)の計算が容易になる。学習済みモデルの例としては、ImageNetを使って学習を行ったEfficientNetが挙げられる。また、公開されているニューラルネットワークを用いて、犬の顔画像から品種、年齢、個体識別といった分類や推定ができるように学習させ、犬の顔画像から特徴量を抽出できるような学習済みモデルが好ましい。 A neural network is preferable as a trained model, and a convolutional neural network is more preferable. It is preferable that the trained model is one that has been specifically trained with images of animal species that are targets for individual identification. Further, it is preferable that the trained model for extracting the feature quantity stored in the database and the trained model included in the feature quantity extraction means are the same trained model. By using the same trained model, the same number of feature values are extracted through the trained model, which facilitates the calculation of the matching rate (cosine similarity, for example). An example of a trained model is EfficientNet trained using ImageNet. In addition, using a publicly available neural network, a trained model that can be trained to classify and estimate breeds, ages, and individual identification from facial images of dogs and extract features from facial images of dogs is available. preferable.
[判定手段]
 本発明の判定手段は、データベースに記憶されている特徴量と、前記特徴量抽出手段が抽出した特徴量を比較することにより、前記受付手段に入力された動物の顔画像が、データベースに記憶された個体識別情報に係る動物個体と同一又は類似の個体の画像であるか否かを判定するものである。判定手段は、例えば、特徴量同士のコサイン類似度を計算し、その値が所定値以上になった場合に、同一の個体であるとの判定又は類似の個体であるとの判定を行うソフトウェアを含む。コサイン類似度を計算する際には、データベースに登録されている特徴量の重心である重心特徴量を求め、各特徴量から重心特徴量を除したものを用いることもできる。また、正規化した特徴量をコサイン類似度の計算に用いることもできる。さらに、特徴量抽出手段が抽出した特徴量とのコサイン類似度が高い個体をデータベースの中から検索し、同一又は類似の個体の候補を選択するというソフトウェアを含むものであってもよい。加えて、同一又は類似の個体の判定手法として、コサイン類似度の代わりにユークリッド距離を用いることもできる。
[Determination means]
The determining means of the present invention compares the feature amount stored in the database with the feature amount extracted by the feature amount extracting means so that the facial image of the animal input to the receiving means is stored in the database. It is determined whether or not the image is of an individual that is the same as or similar to the individual animal associated with the individual identification information. The judging means includes software that calculates, for example, the cosine similarity between the feature quantities, and judges that the individuals are the same or that they are similar when the value is equal to or greater than a predetermined value. include. When calculating the cosine similarity, it is also possible to obtain a barycentric feature amount, which is the barycenter of the feature amounts registered in the database, and to use a value obtained by subtracting the barycentric feature amount from each feature amount. Also, the normalized feature amount can be used for cosine similarity calculation. Further, it may include software for searching a database for individuals having a high cosine similarity with the feature quantity extracted by the feature quantity extracting means, and selecting identical or similar individual candidates. In addition, Euclidean distance can be used instead of cosine similarity as a method for determining identical or similar individuals.
[出力]
 本発明の判定手段は、入力情報として、動物の顔画像を受け付けると、上記学習済みモデルによって、当該動物の品種の判定を行う。
 出力の形式は特に限定されず、例えば、パソコンの画面上において、入力手段に入力された画像にかかる個体と同一又は類似の個体を、画像と個体識別情報とを表示をすることで個体識別結果を出力することができる。特徴量の一致率が近い個体がデータベース内に複数存在する場合は、同一個体の候補を複数提示してもよい。候補を複数提示した場合には、個体識別(同一個体判定)と、類似個体判定を同時に実施したことになる。また、付随的な情報として、個体識別結果の確実性を同時に出力してもよい。例えば、「この子は○○ちゃん(信頼度:80%)」、「この子は、△△ちゃんに似ています」といった具合である。
 本発明の個体識別システムは、判定手段から判定結果を受信し、判定結果を出力する出力手段を別途有していてもよい。
[output]
When the determining means of the present invention receives a face image of an animal as input information, it determines the breed of the animal using the learned model.
The output format is not particularly limited. For example, on the screen of a personal computer, an individual that is the same as or similar to the individual in the image input to the input means is displayed with the image and individual identification information to display the individual identification result. can be output. If there are a plurality of individuals with similar matching rates of feature amounts in the database, a plurality of candidates for the same individual may be presented. When a plurality of candidates are presented, individual identification (identical individual determination) and similar individual determination are performed simultaneously. Moreover, as incidental information, the certainty of the individual identification result may be output at the same time. For example, "this child is ○○-chan (reliability: 80%)", "this child resembles △△-chan".
The individual identification system of the present invention may additionally have output means for receiving the determination result from the determination means and outputting the determination result.
 また、類似個体判定については、データベースに登録されている個体の年齢と、判定対象となる個体の年齢とが大きくずれていてもよい。例えば仔犬の画像から、当該仔犬の成長する要素を加味したうえで、類似個体を判定するものであってもよい。このような構成とすることにより、例えば、迷子となった個体を探す際に仔犬時代の写真しか手元に残っていない場合、その仔犬時代の写真を利用して、迷子となった個体を探し、候補個体が捜索対象の個体と同一又は類似の個体かどうかを判定することが可能となる。仔犬の画像から、当該仔犬の成長する要素を加味したうえで、類似個体を判定するためには、学習済みモデルとして、仔犬時代の画像と、成長時の画像とを用いて学習をさせた学習済みモデルを用いることが好ましい。また、仔犬の画像から、当該仔犬の成長する要素を加味したうえで、類似個体を判定するという構成とすることにより、例えば、ブリーダーやペットショップが販売している仔犬の画像を用いて、将来その仔犬が成長したときに、どのような姿となるのかを類似する個体の画像を提示することによって購入希望者に示すということも可能となる。 In addition, regarding similar individual determination, the age of the individual registered in the database and the age of the individual to be determined may be significantly different. For example, similar individuals may be determined from images of puppies, taking into account growth factors of the puppies. With such a configuration, for example, when searching for a lost individual, if only a photo of the puppy remains at hand, the lost individual can be searched for by using the photo of the puppy. It becomes possible to determine whether the candidate individual is the same as or similar to the individual to be searched. In order to determine similar individuals from images of puppies, taking into account the growing factors of the puppies, learning is performed using images of puppies and images of growing up as trained models. It is preferred to use a ready-made model. In addition, by adopting a configuration in which a similar individual is determined from the image of the puppy after taking into consideration the growth factor of the puppy, for example, using the image of the puppy sold by a breeder or a pet shop, future It is also possible to show the prospective purchaser what the puppy will look like when it grows up by presenting an image of a similar individual.
 すなわち、本発明の好適な一態様として、以下の個体識別システムが挙げられる。
 幼齢の動物の顔画像から学習済みモデルを用いて抽出された特徴量及び前記幼齢の動物の個体識別情報を記憶したデータベースと、
 成体の動物の顔画像の入力を受け付ける受付手段と、
 学習済みモデルを含み、前記受付手段に入力された顔画像から前記学習済みモデルによって特徴量を抽出する特徴量抽出手段と、
 前記データベースに記憶されている特徴量と、前記特徴量抽出手段が抽出した特徴量を比較することにより、前記受付手段に入力された成体の動物の顔画像が、データベースに記憶された個体識別情報に係る動物個体と同一又は類似の個体の画像であるか否かを判定する判定手段と、を備える個体識別システム。
That is, a preferred aspect of the present invention includes the following individual identification system.
a database storing feature values extracted from face images of young animals using trained models and individual identification information of the young animals;
a receiving means for receiving an input of a facial image of an adult animal;
a feature quantity extracting means for extracting a feature quantity from the face image input to the receiving means using the learned model;
By comparing the feature amount stored in the database and the feature amount extracted by the feature amount extraction means, the face image of the adult animal input to the reception means is obtained as the individual identification information stored in the database. and determination means for determining whether or not the image is of an individual that is the same as or similar to the individual animal.
 幼齢とは好ましくは1歳以下、より好ましくは生後6ヶ月以下である。成体とは好ましくは幼齢を超える月例又は年齢の個体のことをいい、具体的には、生後6ヶ月超、1歳超等が挙げられる。  Early age is preferably 1 year or younger, more preferably 6 months or younger. An adult preferably refers to an individual who is over the age of 6 months or over the age of 1 year, and specifically includes over 6 months of age, over 1 year of age, and the like.
 この態様において、同一又は類似の個体の画像であるか否かを判定するとは、現時点でデータベースに登録されている幼齢の個体と、受付手段に入力された成体の個体とが同一又は類似の個体であるかどうかを判定することでもよく、データベースに登録されている幼齢の個体の成長後の姿と、受付手段に入力された成体の個体とが類似するかどうかを判定することでもよい。 In this aspect, judging whether the images are of the same or similar individuals means that the juvenile individuals currently registered in the database and the adult individuals input to the receiving means are the same or similar. It may be determined whether or not the individual is an individual, and it may be determined whether or not the grown-up appearance of a juvenile individual registered in the database is similar to the adult individual input to the reception means. .
 この態様の個体識別システムを用いることで、例えば、成体の動物の画像を入力すると、将来その成体の動物に類似する可能性のある幼齢の動物の個体をピックアップすることができる。具体的には、この態様の個体識別システムが組み込まれたペットショップのウェブサイトやブリーダー直販の愛玩動物の販売サイトにおいて、予め、販売される幼齢の個体の顔画像や個体識別情報、および顔画像から学習済みモデルによって抽出された特徴量をデータベースに登録しておき、愛玩動物の購入希望者が、好んでいる個体の成体の画像をウェブサイトにアップロードする。そうすると、ウェブサイトにアップロードされた成体の個体の画像が、個体識別システムの受付手段に受け付けられ、学習済みモデルによって特徴量が抽出され、判定手段によって特徴量が比較され、将来類似する個体に成長する可能性のある幼齢の個体の画像がピックアップされ、愛玩動物の購入希望者に提示される。これにより、例えば、死別してしまった個体と似た個体になる可能性のある幼齢の個体をペットショップやブリーダーから購入することが可能となる。 By using this aspect of the individual identification system, for example, when an image of an adult animal is input, it is possible to pick up individual juvenile animals that may resemble the adult animal in the future. Specifically, on the website of a pet shop incorporating the individual identification system of this aspect or the sales site of pet animals directly sold by breeders, the face image and individual identification information of the individual to be sold, and the face The features extracted from the images by the trained model are registered in a database, and the person who wishes to purchase the pet uploads the adult image of the individual he/she likes to the website. Then, the image of the adult individual uploaded to the website is accepted by the acceptance means of the individual identification system, the feature amount is extracted by the trained model, the feature amount is compared by the determination means, and grows into a similar individual in the future. Images of juvenile individuals likely to be are picked up and presented to prospective pet purchasers. This makes it possible, for example, to purchase juvenile individuals that may become individuals similar to widowed individuals from pet shops or breeders.
 また、この態様の個体識別システムを用いることで、例えば、迷子になった個体の仔犬時代の画像しか飼主の手元にない場合、その仔犬時代の画像をデータベースに登録し、個体識別情報、および顔画像から学習済みモデルによって抽出された特徴量もデータベースに登録しておくと、迷子になった個体を捜索するなかで候補の個体を発見し、撮影すると、当該撮影された画像が個体識別システムの受付手段に受け付けられ、学習済みモデルによって特徴量が抽出され、判定手段によって特徴量が比較され、候補の個体が、迷子になった個体と同一又は類似の個体かどうかが判定される。これによって、仔犬時代の写真しかなくとも、迷子の捜索を行うことが可能となる。 In addition, by using the individual identification system of this aspect, for example, when the owner has only an image of the lost individual when it was a puppy, the image of the puppy is registered in the database, and the individual identification information and the face are registered. If the feature values extracted by the trained model from the images are also registered in the database, when searching for a lost individual, a candidate individual can be found and photographed. The information is received by the receiving means, the feature amount is extracted by the trained model, the feature amount is compared by the determination means, and it is determined whether or not the candidate individual is the same as or similar to the lost individual. This makes it possible to search for a lost child even if there is only a photo of the puppy.
 さらに別の好適な一態様として、以下の個体識別システムが挙げられる。
 成体の動物の顔画像から学習済みモデルを用いて抽出された特徴量及び前記成体の動物の個体識別情報を記憶したデータベースと、
 幼齢の動物の顔画像の入力を受け付ける受付手段と、
 学習済みモデルを含み、前記受付手段に入力された顔画像から前記学習済みモデルによって特徴量を抽出する特徴量抽出手段と、
 前記データベースに記憶されている特徴量と、前記特徴量抽出手段が抽出した特徴量を比較することにより、前記受付手段に入力された幼齢の動物の顔画像が、データベースに記憶された個体識別情報に係る動物個体と同一又は類似の個体の画像であるか否かを判定する判定手段と、を備える個体識別システム。
Still another preferred aspect is the following individual identification system.
a database storing feature amounts extracted from facial images of adult animals using trained models and individual identification information of the adult animals;
a receiving means for receiving an input of a facial image of a young animal;
a feature quantity extracting means for extracting a feature quantity from the face image input to the receiving means using the learned model;
By comparing the feature amount stored in the database and the feature amount extracted by the feature amount extraction means, the face image of the young animal input to the reception means is identified as the individual identification stored in the database. and determination means for determining whether or not the image is of an individual that is the same as or similar to an individual animal related to information.
 幼齢とは好ましくは1歳以下、より好ましくは生後6ヶ月以下である。成体とは好ましくは幼齢を超える月例又は年齢の個体のことをいい、具体的には、生後6ヶ月超、1歳超等が挙げられる。  Early age is preferably 1 year or younger, more preferably 6 months or younger. An adult preferably refers to an individual who is over the age of 6 months or over the age of 1 year, and specifically includes over 6 months of age, over 1 year of age, and the like.
 この態様において、同一又は類似の個体の画像であるか否かを判定するとは、現時点でデータベースに登録されている成体の個体と、受付手段に入力された幼齢の個体とが同一又は類似の個体であるかどうかを判定することでもよく、データベースに登録されている成体の個体と、受付手段に入力された幼齢の個体の成長後の姿とが類似するかどうかを判定することでもよい。 In this aspect, determining whether the images are of the same or similar individuals means that the adult individuals currently registered in the database and the juvenile individuals input to the receiving means are the same or similar. It may be determined whether or not the individual is an individual, or whether or not the adult individual registered in the database resembles the growth figure of the young individual input to the reception means. .
 この態様の個体識別システムを用いることで、例えば、幼齢の動物の画像を入力すると、将来その幼齢の動物が成長した際に類似する可能性のある成体の動物の個体をピックアップすることができる。具体的には、この態様の個体識別システムが組み込まれたペットショップのウェブサイトやブリーダー直販の愛玩動物の販売サイトにおいて、予め、販売されている幼齢の個体とは別に、成体の個体の顔画像や個体識別情報、および顔画像から学習済みモデルによって抽出された特徴量をデータベースに登録しておく。そして、愛玩動物の購入希望者が、ウェブサイト上に掲載されている幼齢の個体を選択すると、当該幼齢の個体の顔画像が個体識別システムの受付手段に受け付けられ、学習済みモデルによって特徴量が抽出され、判定手段によって特徴量の比較がされ、選択された幼齢の個体が、将来似る可能性のある成体の個体の画像がピックアップされる。これにより、購入希望者は、購入を検討する幼齢の動物が将来成長した際にどのような個体になるのかを、類似する個体の画像によって具体的にイメージすることが可能となる。 By using the individual identification system of this aspect, for example, when an image of a juvenile animal is input, it is possible to pick up an adult animal individual that may resemble the juvenile animal when it grows up in the future. can. Specifically, on the website of a pet shop in which the individual identification system of this aspect is incorporated, or on the sales site of pet animals directly sold by breeders, the face of an adult individual is previously sold separately from the juvenile individual. Images, individual identification information, and features extracted from facial images by trained models are registered in a database. Then, when a person who wishes to purchase a pet animal selects an infant individual posted on the website, the face image of the infant individual is received by the acceptance means of the individual identification system, and the characteristics are determined by the trained model. The amount is extracted, the feature amount is compared by the judging means, and the image of the adult individual that the selected juvenile individual may resemble in the future is picked up. This enables the prospective purchaser to have a concrete image of what kind of individual the young animal to be considered for purchase will be when it grows up in the future, by means of images of similar individuals.
 本発明の個体識別システムの実施形態の一例を図3によって説明する。
 データベース12には、予め、複数の個体の動物について、顔画像、学習済みモデルを用いて顔画像から抽出された特徴量、及び、個体識別情報が記憶されている。
 動物の入退場を管理したい区域の入り口などに設置されているカメラ等の撮影手段16によって、動物の顔を含む画像が撮影される。そうすると、撮影された画像がネットワークを通じて受付手段15に入力される。
 処理演算部17は、特徴量抽出手段(学習済みモデル)18を用いて、受付手段15に入力された画像から特徴量を抽出する。その後、処理演算部17は、データベース12を参照し、データベース12に記憶されている動物の顔画像に係る特徴量と当該受け付けられた画像から得られた特徴量について、判定手段11を用いて一致率を計算し、同一の個体であるか否かを判定する。データベース12に記憶されている動物の顔画像それぞれについて、判定を繰り返し、同一の個体であると判定された場合には、当該動物の顔画像とともに、当該動物の個体識別情報を出力手段14により、端末13の画面上に出力する。
An example of an embodiment of the individual identification system of the present invention will be described with reference to FIG.
The database 12 stores in advance facial images, feature amounts extracted from the facial images using trained models, and individual identification information for a plurality of individual animals.
An image including the animal's face is captured by a capturing means 16 such as a camera installed at the entrance of the area where entry/exit of the animal is desired to be managed. Then, the photographed image is input to the receiving means 15 through the network.
The processing calculation unit 17 uses the feature amount extraction means (learned model) 18 to extract the feature amount from the image input to the reception means 15 . After that, the processing operation unit 17 refers to the database 12, and uses the determination unit 11 to match the feature amount related to the animal face image stored in the database 12 with the feature amount obtained from the received image. Calculate the rate and determine whether or not they are the same individual. The judgment is repeated for each of the animal face images stored in the database 12, and if it is judged that they are the same individual, the face image of the animal and the individual identification information of the animal are output by the output means 14. Output on the screen of the terminal 13 .
 図3中、端末13は、例えば、動物の入退場を管理したい区域の入り口などに設置された端末である。端末13は、例えばパーソナルコンピュータやタブレット端末などが挙げられる。端末13は、CPUなどの処理部、ハードディスク、ROMあるいはRAMなどの記憶部、液晶パネルなどの表示部、マウス、キーボード、タッチパネルなどの入力部、ネットワークアダプタなどの通信部などを含んで構成される。 In FIG. 3, the terminal 13 is, for example, a terminal installed at the entrance of an area where entry/exit of animals is desired to be managed. Examples of the terminal 13 include a personal computer and a tablet terminal. The terminal 13 includes a processing unit such as a CPU, a storage unit such as a hard disk, ROM or RAM, a display unit such as a liquid crystal panel, an input unit such as a mouse, keyboard, touch panel, etc., and a communication unit such as a network adapter. .
 本実施形態では、カメラなどの撮影手段によって動物の画像を撮影し、個体識別を行う態様を説明したが、利用者が、ドッグラン、ペットサロン、ペット保険などの利用申込み時に、その場でスマートフォンのカメラを使って対象となる動物の顔写真を撮影し、それを入力、送信するという態様であってもよい。例えば、ユーザは、端末13の画面上に表示される指示に従って保険対象となる動物の顔写真を撮影し、適切な写真が撮れたらそれを受付手段15に送信する。このとき、サーバが、別途、画像判定プログラムからなる写真撮影補助手段を備え、写真撮影補助手段が、動物の顔全体が撮像されていること、動物の顔の正面からの写真であるといった、個体の同一性判定に好適な写真であるかどうかを判定し、その判定結果をインターフェースや端末を通じてユーザに伝達するという構成を備えていてもよい。 In the present embodiment, an image of an animal is photographed by a photographing means such as a camera, and individual identification is performed. It is also possible to use a camera to photograph the face of the target animal, and input and transmit the photograph. For example, the user takes a photograph of the face of the animal to be insured according to instructions displayed on the screen of the terminal 13 , and sends it to the reception means 15 when an appropriate photograph is taken. At this time, the server is separately provided with a photographing assistance means consisting of an image determination program, and the photographing assistance means is an image of the individual, such as that the entire face of the animal is imaged, or that the animal's face is photographed from the front. It may be determined whether or not the photograph is suitable for identity determination, and the determination result may be transmitted to the user through an interface or terminal.
 本実施形態においては、サーバはコンピュータによって構成されるが、本発明にかかる機能を有する限りにおいて、どのような装置であってもよい。サーバは、クラウド上にあるサーバであってもよい。また、本実施形態では、判定手段や受付手段がサーバに格納され、端末とインターネットやLAN等の接続手段で接続される態様を説明したが、本発明はこれに限定されず、判定手段、受付手段、インターフェース部が一つのサーバや装置内に格納される態様や、端末を別途必要としない態様等であってもよい。 Although the server is configured by a computer in this embodiment, it may be any device as long as it has the functions of the present invention. The server may be a server on the cloud. In addition, in the present embodiment, an embodiment has been described in which the determination means and reception means are stored in the server and connected to the terminal via connection means such as the Internet or LAN, but the present invention is not limited to this. A mode in which the means and the interface unit are stored in one server or device, or a mode in which a separate terminal is not required may be employed.
 記憶部10は、例えばROM、RAMあるいはハードディスクなどから構成される。記憶部10には、サーバの各部を動作させるための情報処理プログラムが記憶され、特に、判定手段11が記憶される。 The storage unit 10 is composed of, for example, a ROM, a RAM, or a hard disk. The storage unit 10 stores an information processing program for operating each unit of the server, and particularly stores the determination unit 11 .
 判定手段11は、上記のように、各画像に係る特徴量の一致率を計算し、一致率の値から同一個体であるか否かを判定するソフトウェアである。 As described above, the determination means 11 is software that calculates the matching rate of the feature amount for each image and determines whether or not the individuals are the same individual based on the matching rate value.
 処理演算部17は、記憶部に記憶された判定手段11を用いて、同一性判定を実行する。 The processing calculation unit 17 executes identity determination using the determination means 11 stored in the storage unit.
 インターフェース部(通信部)は、受付手段15と出力手段14を備え、例えば撮影手段から、動物の顔画像を受け付け、端末に対して、同一性又は類似性の判定結果や、撮影された個体と同一又は類似の個体に関する個体識別情報を出力する。 The interface unit (communication unit) includes reception means 15 and output means 14, for example, receives a face image of an animal from a photographing means, and transmits to the terminal the determination result of identity or similarity, and the photographed individual. Output individual identification information about the same or similar individuals.
<入退場管理システム>
 本発明の入退場管理システムは、動物の顔画像から学習済みモデルを用いて抽出された特徴量及び動物の個体識別情報を記憶したデータベースと、入場又は退場しようとする動物の顔画像の入力を受け付ける受付手段と、学習済みモデルを含み、前記受付手段に入力された顔画像から特徴量を抽出する特徴量抽出手段と、前記データベースに記憶されている特徴量と、前記特徴量抽出手段が抽出した特徴量を比較することにより、前記受付手段に入力された動物の顔画像が、データベースに記憶された個体識別情報に係る動物個体と同一又は類似の個体の画像であるか否かを判定する判定手段と、を備えるものである。
<Entrance control system>
The entrance/exit management system of the present invention includes a database storing feature values extracted from animal facial images using a trained model and animal individual identification information, and an input of an animal's facial image entering or exiting. Receiving means for receiving, feature quantity extracting means for extracting a feature quantity from the face image input to the receiving means, including a trained model, feature quantity stored in the database, and the feature quantity extracting means for extracting By comparing the obtained feature amounts, it is determined whether or not the face image of the animal input to the reception means is an image of an individual that is the same as or similar to the individual animal associated with the individual identification information stored in the database. and determination means.
 本発明の入退場管理システムは、例えば、ペットホテル、ドッグラン、ペットカフェなど、特定の領域や部屋への動物の入退場を把握、管理したい場合に使用することができる。
 前記データベースは、個体識別情報として、吠え傾向、攻撃性、活発性及び社交性からなる群から選ばれる一つ以上の性向を記憶する事が好ましい。また、本発明の入退場管理システムは、入場又は退場しようとする動物が、所定の性向を有することがデータベースに記憶されている個体と同一又は類似の個体であると判定手段が判定した場合、アラートをするアラート手段をさらに有することが好ましい。アラート手段は特に限定されない。
INDUSTRIAL APPLICABILITY The entrance/exit management system of the present invention can be used, for example, in pet hotels, dog runs, pet cafes, etc., where it is desired to grasp and manage the entrance and exit of animals to specific areas or rooms.
The database preferably stores, as individual identification information, one or more tendencies selected from the group consisting of barking tendency, aggression, activity and sociability. In addition, in the entrance/exit management system of the present invention, when the determining means determines that an animal about to enter or exit is an individual identical or similar to an individual having a predetermined propensity stored in the database, It is preferable to further have alert means for alerting. Alert means is not particularly limited.
 受付手段は、限定されず、例えば、室内に固定された監視カメラ、ネットワークカメラ、スマートフォンに備え付けのカメラ等の撮影手段によって撮影された画像をネットワークを通じて受け付けることができる。 The reception means is not limited, and for example, it is possible to receive, through the network, images captured by photography means such as a surveillance camera fixed in the room, a network camera, or a camera attached to a smartphone.
 データベース、特徴量抽出手段、判定手段、出力手段については上記と同様である。 The database, feature quantity extraction means, determination means, and output means are the same as above.
 本発明の入退場管理システムの実施形態の一例を図4によってペットホテルの事例で説明する。
 まず、ペットホテルの利用者は、端末13を通じてペットホテルのウェブサイト上で会員登録を行い、ペットホテルに宿泊させたいペットの種、品種、名前、生年月日、体重、性別、予防接種の有無等の個体識別情報とともに、ペットの顔画像を登録する。登録されたペットの個体識別情報は、ペットホテルが管理するデータベース12に格納される。また、学習済みモデルを用いて登録された顔画像から特徴量が抽出され、個体識別情報と紐付けられてデータベースに記憶される。
 次に、利用者は、端末13を通じてウェブサイト上でペットホテルの予約を行い、予約された日時にペットを連れてペットホテルを訪れる。
 ペットホテルの従業員が、ペットホテルに備え付けられたカメラ等の撮影手段16によって、ペットを撮影する。そうすると、撮影された画像がネットワークを通じて受付手段15に入力される。
 処理演算部17は、特徴量抽出手段(学習済みモデル)18を用いて、受付手段15に入力された画像から特徴量を抽出する。その後、処理演算部17は、データベース12を参照し、データベース12に記憶されているペットの顔画像に係る特徴量と当該受け付けられた画像から得られた特徴量について、判定手段11を用いて一致率を計算し、同一の個体であるか否かを判定する。データベース12に記憶されているペットの顔画像それぞれについて、判定を繰り返し、同一の個体であると判定された場合には、当該ペットの顔画像とともに、当該ペットの個体識別情報を出力手段14により、ホテルの端末の画面上に出力する。ペットホテルの利用者の所有する端末13にも判定結果を出力してもよい。
 このとき、ペットホテルの従業員は、出力された判定結果とペットの個体識別情報を利用して、ペットホテルを利用しようとするペットが、会員登録されたペットと同一の個体であることを判断し、当該ペットを入場させることができる。
An example of an embodiment of the entrance/exit management system of the present invention will be described with reference to FIG. 4 using a case of a pet hotel.
First, the user of the pet hotel registers as a member on the website of the pet hotel through the terminal 13, and then registers the species, breed, name, date of birth, weight, sex, and vaccination status of the pet to be accommodated at the pet hotel. The face image of the pet is registered together with the individual identification information such as. The individual identification information of the registered pet is stored in the database 12 managed by the pet hotel. Also, a feature amount is extracted from the face image registered using the trained model, and stored in the database in association with the individual identification information.
Next, the user makes a reservation for the pet hotel on the website through the terminal 13, and visits the pet hotel with the pet on the reserved date and time.
An employee of the pet hotel photographs the pet by a photographing means 16 such as a camera installed in the pet hotel. Then, the photographed image is input to the receiving means 15 through the network.
The processing calculation unit 17 uses the feature amount extraction means (learned model) 18 to extract the feature amount from the image input to the reception means 15 . After that, the processing operation unit 17 refers to the database 12, and uses the determination unit 11 to match the feature amount related to the face image of the pet stored in the database 12 with the feature amount obtained from the received image. Calculate the rate and determine whether or not they are the same individual. The determination is repeated for each face image of the pet stored in the database 12, and when it is determined that they are the same individual, the face image of the pet and the individual identification information of the pet are output by the output means 14. Output on the screen of the hotel terminal. The determination result may also be output to the terminal 13 owned by the user of the pet hotel.
At this time, the pet hotel employee uses the output determination result and pet individual identification information to determine that the pet trying to use the pet hotel is the same individual as the pet registered as a member. and allow the pet to enter.
 図4中、端末13は、利用者(ユーザ)が利用する端末である。端末13は、例えばパーソナルコンピュータやタブレット端末などが挙げられる。端末13は、CPUなどの処理部、ハードディスク、ROMあるいはRAMなどの記憶部、液晶パネルなどの表示部、マウス、キーボード、タッチパネルなどの入力部、ネットワークアダプタなどの通信部などを含んで構成される。 In FIG. 4, a terminal 13 is a terminal used by a user. Examples of the terminal 13 include a personal computer and a tablet terminal. The terminal 13 includes a processing unit such as a CPU, a storage unit such as a hard disk, ROM or RAM, a display unit such as a liquid crystal panel, an input unit such as a mouse, keyboard, touch panel, etc., and a communication unit such as a network adapter. .
 利用者は、申込み時や会員登録時に、その場でスマートフォンのカメラを使って対象となる動物の顔写真を撮影し、それを入力、送信するという態様であってもよい。例えば、ユーザは、端末13の画面上に表示される指示に従って保険対象となる動物の顔写真を撮影し、適切な写真が撮れたらそれをデータベース12に送信する。このとき、サーバが、別途、画像判定プログラムからなる写真撮影補助手段を備え、写真撮影補助手段が、動物の顔全体が撮像されていること、動物の顔の正面からの写真であるといった、個体の同一性・類似性判定に好適な写真であるかどうかを判定し、その判定結果をインターフェースや端末を通じてユーザに伝達するという構成を備えていてもよい。 When applying or registering as a member, the user may use a smartphone camera to take a picture of the target animal's face on the spot, enter and send it. For example, the user takes a photograph of the face of the animal to be insured according to the instructions displayed on the screen of the terminal 13 and sends it to the database 12 when an appropriate photograph is taken. At this time, the server is separately provided with a photographing assistance means consisting of an image determination program, and the photographing assistance means is an image of the individual, such as that the entire face of the animal is imaged, or that the animal's face is photographed from the front. It may be determined whether or not the photograph is suitable for identity/similarity determination, and the determination result may be transmitted to the user through an interface or a terminal.
 本実施形態においては、サーバはコンピュータによって構成されるが、本発明にかかる機能を有する限りにおいて、どのような装置であってもよい。サーバは、クラウド上にあるサーバであってもよい。 Although the server is configured by a computer in this embodiment, it may be any device as long as it has the functions of the present invention. The server may be a server on the cloud.
 記憶部10は、例えばROM、RAMあるいはハードディスクなどから構成される。記憶部10には、サーバの各部を動作させるための情報処理プログラムが記憶され、特に、判定手段11が記憶される。 The storage unit 10 is composed of, for example, a ROM, a RAM, or a hard disk. The storage unit 10 stores an information processing program for operating each unit of the server, and particularly stores the determination unit 11 .
 判定手段11は、上記のように、各画像に係る特徴量の一致率を計算し、一致率の値から同一個体であるか否か又は類似個体であるか否かを判定するソフトウェアである。 As described above, the determination means 11 is software that calculates the matching rate of the feature amount for each image and determines whether the individuals are the same individual or similar individuals based on the matching rate value.
 処理演算部17は、記憶部に記憶された判定手段11を用いて、同一性・類似性判定を実行する。 The processing calculation unit 17 uses the determination means 11 stored in the storage unit to perform identity/similarity determination.
 インターフェース部(通信部)は、受付手段15と出力手段14を備え、例えば撮影手段から、動物の顔画像を受け付け、端末に対して、同一・類似性の判定結果や、撮影された個体と同一又は類似の個体に関する個体識別情報を出力する。 The interface unit (communication unit) includes reception means 15 and output means 14. For example, the face image of the animal is received from the photographing means, and the determination result of identity/similarity and the identity of the photographed individual are sent to the terminal. Or output individual identification information about similar individuals.
 本実施形態の入退場管理システムにより、ペットホテルは、簡易な方法で、利用者が連れてきたペットが会員登録されたペットと同一の個体であることを判断することができ、ペットホテルの受付をスムーズに行うことができる。 With the entrance/exit management system of this embodiment, the pet hotel can easily determine that the pet brought by the user is the same individual as the pet registered as a member, and the reception of the pet hotel. can be done smoothly.
 本発明の入退場管理システムの実施態様に基づく個体識別のフローチャートを図5に示す。ペットホテルの従業員が撮影手段を用いて、利用者が連れてきたペットの顔写真を撮影し、それを端末を用いて、サーバの受付手段に入力する(ステップS1)。サーバの処理演算部は、判定手段を用いて、アップロードされた顔画像と、予めデータベースに登録された動物の顔画像について、特徴量の比較を行い、同一の個体であるか否か又は類似の個体であるか否かを判定する(ステップS2)。出力手段は、判定結果を端末画面に表示するなどして出力し、ペットホテルの従業員に提示する(ステップS3)。 Fig. 5 shows a flowchart of individual identification based on the embodiment of the entrance/exit management system of the present invention. An employee of the pet hotel uses a photographing means to photograph the face of the pet brought by the user, and inputs it to the reception means of the server using a terminal (step S1). The processing operation unit of the server compares the feature amount of the uploaded face image and the face image of the animal registered in advance in the database using the determination means, and determines whether or not they are the same individual or similar. It is determined whether or not the object is an individual (step S2). The output means outputs the judgment result by displaying it on the terminal screen, etc., and presents it to the employee of the pet hotel (step S3).
<診察管理システム>
 本発明の診察管理システムは、動物の顔画像から学習済みモデルを用いて抽出された特徴量及び動物の個体識別情報を記憶したデータベースと、動物病院において診察を受けようとする動物の顔画像の入力を受け付ける受付手段と、学習済みモデルを含み、前記受付手段に入力された顔画像から特徴量を抽出する特徴量抽出手段と、前記データベースに記憶されている特徴量と、前記特徴量抽出手段が抽出した特徴量を比較することにより、前記受付手段に入力された動物の顔画像が、データベースに記憶された個体識別情報に係る動物個体と同一又は類似の個体の画像であるか否かを判定する判定手段と、を備えるものである。
<Medical examination management system>
The medical examination management system of the present invention includes a database storing feature amounts extracted from animal facial images using learned models and individual identification information of animals, and facial images of animals to be examined at a veterinary hospital. Receiving means for receiving input; feature quantity extracting means for extracting a feature quantity from the face image input to the receiving means, the feature quantity being stored in the database; By comparing the extracted feature amounts, it is determined whether or not the face image of the animal input to the receiving means is the image of an individual that is the same as or similar to the individual animal associated with the individual identification information stored in the database. and determination means for determining.
 本発明の診察管理システムは、例えば、ペット保険の提供者が、ペット保険の対象となっているペットが診察を受けたかどうかを把握したい場合に使用することができる。 The medical examination management system of the present invention can be used, for example, when a pet insurance provider wants to know whether a pet covered by pet insurance has been examined.
<受付管理システム>
 本発明の受付管理システムは、動物の顔画像から学習済みモデルを用いて抽出された特徴量及び動物の個体識別情報を記憶したデータベースと、ペットサロンにおいてトリミング又はシャンプーを受けようとする動物の顔画像の入力を受け付ける受付手段と、学習済みモデルを含み、前記受付手段に入力された顔画像から特徴量を抽出する特徴量抽出手段と、前記データベースに記憶されている特徴量と、前記特徴量抽出手段が抽出した特徴量を比較することにより、前記受付手段に入力された動物の顔画像が、データベースに記憶された個体識別情報に係る動物個体と同一又は類似の個体の画像であるか否かを判定する判定手段と、を備える受付管理システム。
<Reception management system>
The reception management system of the present invention includes a database storing feature values extracted from animal face images using learned models and animal individual identification information, and a face of an animal about to be trimmed or shampooed at a pet salon. Receiving means for receiving an input of an image; feature quantity extracting means for extracting a feature quantity from the face image input to the receiving means, including a trained model; feature quantity stored in the database; By comparing the feature values extracted by the extracting means, it is determined whether or not the facial image of the animal input to the receiving means is the image of an individual that is the same as or similar to the individual animal associated with the individual identification information stored in the database. A reception management system comprising: determination means for determining whether the
 本発明の受付管理システムは、例えば、ペットサロンが、サービスの対象となるペットが会員登録されているペットかどうかや、過去のサービス提供履歴を把握したい場合に使用することができる。 The reception management system of the present invention can be used, for example, when a pet salon wants to know whether a pet to be serviced is a pet registered as a member and the past service provision history.
<捜索管理システム>
 本発明の管理システムは、動物の顔画像から学習済みモデルを用いて抽出された特徴量及び動物の個体識別情報を記憶したデータベースと、捜索対象となっている動物の候補となる動物の顔画像の入力を受け付ける受付手段と、学習済みモデルを含み、前記受付手段に入力された顔画像から特徴量を抽出する特徴量抽出手段と、前記データベースに記憶されている特徴量と、前記特徴量抽出手段が抽出した特徴量を比較することにより、前記受付手段に入力された動物の顔画像が、データベースに記憶された個体識別情報に係る動物個体と同一又は類似の個体の画像であるか否かを判定する判定手段と、を備えるものである。
<Search management system>
The management system of the present invention includes a database storing feature values extracted from animal face images using a trained model and animal individual identification information, and face images of animals that are candidates for animals to be searched. a feature extraction means for extracting a feature from the face image input to the acceptance means including a trained model; a feature stored in the database; and the feature extraction By comparing the feature values extracted by the means, whether or not the face image of the animal input to the receiving means is an image of an individual that is the same as or similar to the individual animal associated with the individual identification information stored in the database. and determination means for determining the.
 本発明の動物の管理システムは、例えば、迷子になったペットを捜索する際に、見つかった動物が捜索対象となっているペットかどうかを確認したい場合に使用することができる。 The animal management system of the present invention can be used, for example, when searching for a lost pet and wanting to check whether the found animal is the pet to be searched.
<個体識別方法>
 本発明の個体識別方法は、動物の顔画像の入力を受け付けるステップと、学習済みモデルを用いて、前記受付手段に入力された顔画像から特徴量を抽出する特徴量抽出ステップと、動物の顔画像から学習済みモデルを用いて抽出された特徴量及び動物の個体識別情報を記憶したデータベースに記憶されている特徴量と、前記特徴量抽出手段が抽出した特徴量を比較することにより、前記受付手段に入力された動物の顔画像が、データベースに記憶された個体識別情報に係る動物個体と同一又は類似の個体の画像であるか否かを判定する判定ステップと、を備えるものである。
<Individual identification method>
The individual identification method of the present invention includes a step of receiving an input of an animal face image, a feature extraction step of extracting a feature from the face image input to the receiving means using a trained model, and an animal face By comparing the feature amount extracted from the image using the trained model and the feature amount stored in a database storing the individual identification information of the animal and the feature amount extracted by the feature amount extraction means, the reception a determination step of determining whether the face image of the animal input to the means is an image of an individual that is the same as or similar to the individual animal associated with the individual identification information stored in the database.
 動物の顔画像の入力を受け付けるステップは、例えば、上記の受付手段を用いて動物の顔画像の入力を受け付けるステップである。
 特徴量抽出ステップは、学習済みモデルを用いて、前記受付手段に入力された顔画像から特徴量を抽出するステップである。学習済みモデルは、上記の個体識別システムにおいて説明した学習済みモデルと同様である。
 判定ステップは、動物の顔画像から学習済みモデルを用いて抽出された特徴量及び動物の個体識別情報を記憶したデータベースに記憶されている特徴量と、前記特徴量抽出手段が抽出した特徴量を比較することにより、前記受付手段に入力された動物の顔画像が、データベースに記憶された個体識別情報に係る動物個体と同一又は類似の個体の画像であるか否かを判定するステップである。例えば、上記の判定手段を用いて、特徴量の一致率を計算し、同一又は類似の個体であるかどうか判定するステップである。
The step of accepting an input of an animal's facial image is, for example, a step of accepting an input of an animal's facial image using the accepting means described above.
The feature quantity extraction step is a step of extracting a feature quantity from the face image input to the reception means using the learned model. The trained model is the same as the trained model described in the individual identification system above.
In the determination step, the feature amount extracted from the face image of the animal using the trained model and the feature amount stored in the database storing the individual identification information of the animal, and the feature amount extracted by the feature amount extraction means. It is a step of determining whether or not the face image of the animal input to the reception means is the image of an individual that is the same as or similar to the individual animal associated with the individual identification information stored in the database. For example, it is the step of calculating the matching rate of the feature amount using the above determination means and determining whether the individuals are the same or similar.
[実施例1]
 9頭のミニチュア・ダックスフントそれぞれの顔画像(眼とその周囲のみが映った画像。一例として、図6(A)~(C)のカラー写真。500×500ピクセルに統一した。)を用意した。
 各画像を、学習済みモデルに入力し、特徴量を抽出した。
 
 EfficientNetB7にImageNetのウェイトを持つモデルを学習済みモデルとして用いた。
 
 次に、個体識別を行いたいミニチュア・ダックスフントの顔画像A(識別対象個体。図7)を用意し、上記学習済みモデルを用いて特徴量を抽出した。上記9頭の中には、識別対象個体と同一の個体が含まれている。
[Example 1]
Face images of each of nine miniature dachshunds (images showing only the eyes and their surroundings. As an example, the color photographs of FIGS. 6(A) to (C). They were unified to 500×500 pixels.) were prepared. .
Each image was input to the trained model and the feature amount was extracted.

A model with ImageNet weights in EfficientNetB7 was used as a trained model.

Next, a face image A of a miniature dachshund (individual to be identified; FIG. 7) for which individual identification is to be performed was prepared, and feature amounts were extracted using the above-described trained model. The same individual as the identification target individual is included in the above nine animals.
 9頭の画像それぞれの特徴量について、顔画像Aの特徴量とのコサイン類似度を計算し、スケーリングされたコサイン類似度のソフトマックス関数を用いて、9頭での合計が100%になるように調整した。
 その結果、9頭のうち、顔画像一致率が93%と一番高かった個体が、識別対象個体と同一の個体の画像であることが分かった。
For the feature values of each of the nine images, the cosine similarity with the feature value of the face image A is calculated, and the softmax function of the scaled cosine similarity is used so that the sum of the nine images is 100%. adjusted to
As a result, it was found that the individual with the highest facial image match rate of 93% among the nine individuals was the image of the same individual as the individual to be identified.
[実施例2]
 実施例1と同じような顔画像を9個体(ミニチュア・ダックスフントA~I)のそれぞれについて、複数枚用意した。これらの画像を「データベース画像」とする。
 実施例1と同じ学習済みモデルを用いて、各顔画像から特徴量を抽出した。9個体それぞれについて、複数枚の顔画像の特徴量について平均化(相加平均)を行った。平均化に用いた顔画像の枚数を表1に記載されているように、2枚、4枚、8枚、16枚、32枚、64枚、128枚というように変更して平均化を行った。表1中、平均化に用いた枚数が「1」となっているのは、1枚の画像を用いており、平均化を行っていない例である。9個体それぞれについて得られた特徴量を、「平均化特徴量」とする。
 次に、識別対象用のミニチュア・ダックスフントの顔画像をミニチュア・ダックスフントA~Iのそれぞれについて10枚ずつ用意し、上記実施例1と同じ学習済みモデルを用いて特徴量を抽出した。これらの特徴量を「識別対象特徴量」とする。
 9個体それぞれについて、識別対象特徴量と、平均化特徴量との間で、コサイン類似度を計算し、コサイン類似度が高いものを同一の個体と判定した。
 判定結果として、実際に同一の個体を同一と判定できた場合を「正解」と定義した。例えば、ミニチュア・ダックスフントAの識別対象用の画像を、データベース画像の中からミニチュア・ダックスフントAの画像と同じ個体の画像であると判定できた場合が「正解」である。9個体×10枚の画像の合計90枚のうち、正解できた割合を「正解率」とした。
 平均化に用いた枚数と正解率との関係を表1に示す。
 表1から明らかなように、特徴量の平均化を行うことで正解率を上げることが可能となった。
[Example 2]
A plurality of face images similar to those in Example 1 were prepared for each of nine individuals (miniature dachshunds A to I). These images are called "database images".
Using the same trained model as in Example 1, feature amounts were extracted from each face image. Averaging (arithmetic mean) was performed on the feature amounts of multiple face images for each of the nine individuals. As shown in Table 1, the number of face images used for averaging was changed to 2, 4, 8, 16, 32, 64, and 128, and averaging was performed. rice field. In Table 1, the number of images used for averaging is "1", which is an example in which one image is used and no averaging is performed. The feature quantity obtained for each of the nine individuals is defined as the "average feature quantity".
Next, 10 facial images of miniature dachshunds to be identified were prepared for each of miniature dachshunds A to I, and feature amounts were extracted using the same trained model as in Example 1 above. These feature amounts are referred to as "discrimination target feature amounts".
For each of the nine individuals, cosine similarity was calculated between the feature amount to be identified and the averaged feature amount, and individuals with high cosine similarity were determined to be the same individual.
As a judgment result, the case where the same individual could actually be judged to be the same was defined as "correct answer". For example, it is "correct" if the image of miniature dachshund A to be identified can be determined to be the image of the same individual as the image of miniature dachshund A from among the database images. The percentage of correct answers out of a total of 90 images of 9 individuals×10 images was defined as the “correct answer rate”.
Table 1 shows the relationship between the number of sheets used for averaging and the accuracy rate.
As is clear from Table 1, the accuracy rate can be increased by averaging the feature values.
Figure JPOXMLDOC01-appb-T000001
Figure JPOXMLDOC01-appb-T000001
[実施例3](類似個体判定)
 仔犬452頭について、それぞれ顔画像1枚を用意した。仔犬は、血統書又はDNA検査によって品種の特定されている生後3~6ヶ月の仔犬であり、画像は、少なくとも顔とその周囲が映った500×500ピクセルのカラー画像である。また、今回の試験では品種は限定していないが、日本において飼育頭数の多いトイ・プードル、チワワ、ミニチュア・ダックスフント、柴、ポメラニアン、ミニチュア・シュナウザー、ヨークシャー・テリア、シー・ズー、パピヨン及びフレンチ・ブルドッグを含む。
 各画像を、学習済みモデルに入力し、特徴量を抽出した。
 EfficientNetB4にImageNetのウェイトを持つモデルの学習済みモデルをファインチューニングしたモデルを用いた。
次に、成犬100頭について、それぞれ1枚の顔画像を用意し、上記学習済みモデルを用いて特徴量を抽出した。なお、仔犬と成犬はそれぞれ別の個体である。
[Example 3] (Similar individual determination)
One face image was prepared for each of 452 puppies. The puppies are 3-6 month old puppies whose breed is specified by pedigree or DNA test, and the images are 500×500 pixel color images showing at least the face and its surroundings. In addition, although the breed was not limited in this test, Toy Poodle, Chihuahua, Miniature Dachshund, Shiba, Pomeranian, Miniature Schnauzer, Yorkshire Terrier, Shih Tzu, Papillon and French - Including bulldogs.
Each image was input to the trained model and the feature amount was extracted.
For EfficientNetB4, we used a model fine-tuned from a trained model with ImageNet weights.
Next, one face image was prepared for each of 100 adult dogs, and the feature amount was extracted using the learned model. Puppies and adult dogs are separate individuals.
 次に、本モデルを使用し、成犬100頭について、類似の仔犬を選定できるかどうかの試験を行った。具体的には、成犬(100頭)の顔画像の特徴量と、仔犬(452頭)の顔画像の特徴量とのコサイン類似度を計算し、類似度を順位付けした。 Next, using this model, we conducted a test to see if similar puppies could be selected from 100 adult dogs. Specifically, the cosine similarity between the facial image feature amount of adult dogs (100 dogs) and the facial image feature amount of puppies (452 dogs) was calculated, and the similarities were ranked.
 類似の画像を選定できたかどうかについては、先ずは、品種が一致しているかどうかで判定した(客観的判定)。具体的には、成犬(100頭)の品種と、類似度が一番高いと判定された仔犬の品種を比較した。この結果、成犬100頭のうち、95頭(95%)について、同一品種の仔犬を選定できた。 Regarding whether or not similar images could be selected, we first determined whether the varieties matched (objective determination). Specifically, breeds of adult dogs (100) were compared with breeds of puppies determined to have the highest degree of similarity. As a result, puppies of the same breed could be selected for 95 (95%) out of 100 adult dogs.
 次に、動物の流通に携わっている専門家が類似の画像を選定できたかどうかの判定を行った(主観的判定)。具体的には、仔犬の画像を類似度の高い順に5枚選定し、当該仔犬が成長した場合に、比較の対象となる成犬(100頭)に似るかどうかを専門家の経験に基づいて判定した。1枚でも似ている仔犬の画像を選定できた場合には「判定成功」とした。
 なお、成犬・子犬の画像1枚ずつで比較した場合には、細かな相違点が眼につき「似ていない」と感じるバイアスが高まりやすい。このため、成犬の画像1枚に対して、仔犬の画像5枚用意し、あえて似ていない画像(類似度が5位)も加えることで、細かな相違点に基づく「似ていない」と感じるバイアスを弱めている。試験結果は表2に示す。
Next, it was determined whether or not a similar image could be selected by a specialist engaged in animal distribution (subjective determination). Specifically, five images of puppies are selected in descending order of degree of similarity, and when the puppies grow up, whether or not they resemble adult dogs (100 dogs) to be compared is determined based on the experience of experts. Judged. If even one similar puppy image was selected, it was determined as "successful determination".
When comparing the images of an adult dog and a puppy one by one, it is easy to increase the bias of feeling "dissimilar" due to subtle differences. For this reason, five images of puppies are prepared for one image of an adult dog, and an image that is not similar (ranked 5th in similarity) is also added. It weakens the bias you feel. Test results are shown in Table 2.
Figure JPOXMLDOC01-appb-T000002
 
Figure JPOXMLDOC01-appb-T000002
 

Claims (16)

  1.  動物の顔画像から学習済みモデルを用いて抽出された特徴量及び動物の個体識別情報を記憶したデータベースと、
     動物の顔画像の入力を受け付ける受付手段と、
     学習済みモデルを含み、前記受付手段に入力された顔画像から前記学習済みモデルによって特徴量を抽出する特徴量抽出手段と、
     前記データベースに記憶されている特徴量と、前記特徴量抽出手段が抽出した特徴量を比較することにより、前記受付手段に入力された動物の顔画像が、データベースに記憶された個体識別情報に係る動物個体と同一又は類似の個体の画像であるか否かを判定する判定手段と、を備える個体識別システム。
    a database storing feature values extracted from animal face images using trained models and animal individual identification information;
    a receiving means for receiving an input of an animal face image;
    a feature quantity extracting means for extracting a feature quantity from the face image input to the receiving means using the learned model;
    By comparing the feature amount stored in the database and the feature amount extracted by the feature amount extraction means, the facial image of the animal input to the reception means is associated with the individual identification information stored in the database. and determination means for determining whether the image is of an individual that is the same as or similar to the animal individual.
  2.  前記学習済みモデルが、ニューラルネットワークである請求項1記載の個体識別システム。 The individual identification system according to claim 1, wherein the trained model is a neural network.
  3.  前記学習済みモデルが、畳み込みニューラルネットワークである請求項2記載の個体識別システム。 The individual identification system according to claim 2, wherein the trained model is a convolutional neural network.
  4.  前記特徴量抽出手段に含まれる学習済みモデルが、前記データベースに記憶される特徴量を抽出するのに用いられる学習済みモデルと同一の学習済みモデルである請求項1~3のいずれか一項記載の個体識別システム。 4. The learned model according to any one of claims 1 to 3, wherein the trained model included in said feature amount extraction means is the same trained model as the trained model used to extract the feature amount stored in said database. individual identification system.
  5.  前記データベースが記憶する特徴量が、同一個体を撮影した複数の画像から抽出された特徴量を平均化して得られる特徴量である請求項1~4のいずれか一項記載の個体識別システム。 The individual identification system according to any one of claims 1 to 4, wherein the feature amount stored in the database is a feature amount obtained by averaging feature amounts extracted from a plurality of images of the same individual.
  6.  前記特徴量抽出手段が、同一個体を撮影した複数の画像から特徴量を抽出し、前記判定手段においてデータベースに記憶されている特徴量との比較に用いられる特徴量が、同一個体を撮影した複数の画像から抽出した特徴量を平均化して得られる特徴量である請求項1~5のいずれか一項記載の個体識別システム。 The feature amount extraction means extracts feature amounts from a plurality of images of the same individual, and the feature amounts used for comparison with the feature amounts stored in the database in the determination means are the plurality of images of the same individual. 6. The individual identification system according to any one of claims 1 to 5, wherein the feature amount is obtained by averaging the feature amounts extracted from the images.
  7.  動物の顔画像から学習済みモデルを用いて抽出された特徴量及び動物の個体識別情報を記憶したデータベースと、
     入場又は退場しようとする動物の顔画像の入力を受け付ける受付手段と、
     学習済みモデルを含み、前記受付手段に入力された顔画像から前記学習済みモデルによって特徴量を抽出する特徴量抽出手段と、
     前記データベースに記憶されている特徴量と、前記特徴量抽出手段が抽出した特徴量を比較することにより、前記受付手段に入力された動物の顔画像が、データベースに記憶された個体識別情報に係る動物個体と同一又は類似の個体の画像であるか否かを判定する判定手段と、を備える入退場管理システム。
    a database storing feature values extracted from animal face images using trained models and animal individual identification information;
    reception means for receiving an input of a facial image of an animal to enter or exit;
    a feature quantity extracting means for extracting a feature quantity from the face image input to the receiving means using the learned model;
    By comparing the feature amount stored in the database and the feature amount extracted by the feature amount extraction means, the facial image of the animal input to the reception means is associated with the individual identification information stored in the database. An entrance/exit management system, comprising: determination means for determining whether the image is of an individual that is the same as or similar to an animal individual.
  8.  前記データベースは、個体識別情報として、吠え傾向、攻撃性、活発性及び社交性からなる群から選ばれる一つ以上の性向を記憶する請求項7記載の入退場管理システム。  The entrance/exit management system according to claim 7, wherein the database stores, as individual identification information, one or more tendencies selected from the group consisting of barking tendency, aggression, activity and sociability.
  9.  入場又は退場しようとする動物が、所定の性向を有することがデータベースに記憶されている個体と同一又は類似の個体であると判定手段が判定した場合、アラートをするアラート手段をさらに有する請求項8記載の入退場管理システム。 8. An alert means for issuing an alert when the determination means determines that an animal about to enter or leave the facility is the same or similar to an individual stored in the database as having a predetermined propensity. Access control system as described.
  10.  動物の顔画像から学習済みモデルを用いて抽出された特徴量及び動物の個体識別情報を記憶したデータベースと、
     動物病院において診察を受けようとする動物の顔画像の入力を受け付ける受付手段と、
     学習済みモデルを含み、前記受付手段に入力された顔画像から前記学習済みモデルによって特徴量を抽出する特徴量抽出手段と、
     前記データベースに記憶されている特徴量と、前記特徴量抽出手段が抽出した特徴量を比較することにより、前記受付手段に入力された動物の顔画像が、データベースに記憶された個体識別情報に係る動物個体と同一又は類似の個体の画像であるか否かを判定する判定手段と、を備える診察管理システム。
    a database storing feature values extracted from animal face images using trained models and animal individual identification information;
    a receiving means for receiving an input of a face image of an animal to be examined at a veterinary hospital;
    a feature quantity extracting means for extracting a feature quantity from the face image input to the receiving means using the learned model;
    By comparing the feature amount stored in the database and the feature amount extracted by the feature amount extraction means, the facial image of the animal input to the reception means is associated with the individual identification information stored in the database. A medical examination management system, comprising determination means for determining whether the image is of an individual that is the same as or similar to an animal individual.
  11.  動物の顔画像から学習済みモデルを用いて抽出された特徴量及び動物の個体識別情報を記憶したデータベースと、
     ペットサロンにおいてトリミング又はシャンプーを受けようとする動物の顔画像の入力を受け付ける受付手段と、
     学習済みモデルを含み、前記受付手段に入力された顔画像から前記学習済みモデルによって特徴量を抽出する特徴量抽出手段と、
     前記データベースに記憶されている特徴量と、前記特徴量抽出手段が抽出した特徴量を比較することにより、前記受付手段に入力された動物の顔画像が、データベースに記憶された個体識別情報に係る動物個体と同一又は類似の個体の画像であるか否かを判定する判定手段と、を備える受付管理システム。
    a database storing feature values extracted from animal face images using trained models and animal individual identification information;
    a receiving means for receiving an input of a facial image of an animal that is about to be trimmed or shampooed at a pet salon;
    a feature quantity extracting means for extracting a feature quantity from the face image input to the receiving means using the learned model;
    By comparing the feature amount stored in the database and the feature amount extracted by the feature amount extraction means, the facial image of the animal input to the reception means is associated with the individual identification information stored in the database. A reception management system comprising a determination means for determining whether the image is of an individual that is the same as or similar to an animal individual.
  12.  動物の顔画像から学習済みモデルを用いて抽出された特徴量及び動物の個体識別情報を記憶したデータベースと、
     捜索対象となっている動物の候補となる動物の顔画像の入力を受け付ける受付手段と、
     学習済みモデルを含み、前記受付手段に入力された顔画像から特徴量を抽出する特徴量抽出手段と、
     前記データベースに記憶されている特徴量と、前記特徴量抽出手段が抽出した特徴量を比較することにより、前記受付手段に入力された動物の顔画像が、データベースに記憶された個体識別情報に係る動物個体と同一の個体の画像であるか否かを判定する判定手段と、を備える捜索管理システム。
    a database storing feature values extracted from animal face images using trained models and animal individual identification information;
    receiving means for receiving an input of a facial image of an animal that is a candidate for an animal to be searched;
    a feature amount extracting means for extracting a feature amount from the face image input to the receiving means, including a trained model;
    By comparing the feature amount stored in the database and the feature amount extracted by the feature amount extraction means, the facial image of the animal input to the reception means is associated with the individual identification information stored in the database. A search management system comprising a determination means for determining whether or not the image is of the same individual as the animal individual.
  13.  動物の顔画像の入力を受け付けるステップと、
     学習済みモデルを用いて、前記受付手段に入力された顔画像から特徴量を抽出する特徴量抽出ステップと、
     動物の顔画像から学習済みモデルを用いて抽出された特徴量及び動物の個体識別情報を記憶したデータベースに記憶されている特徴量と、前記特徴量抽出手段が抽出した特徴量を比較することにより、前記受付手段に入力された動物の顔画像が、データベースに記憶された個体識別情報に係る動物個体と同一又は類似の個体の画像であるか否かを判定する判定ステップと、を備える個体識別方法。
    a step of accepting an input of an animal face image;
    a feature quantity extraction step of extracting a feature quantity from the face image input to the reception means using the trained model;
    By comparing the feature amount extracted from the face image of the animal using the trained model and the feature amount stored in a database storing individual identification information of the animal and the feature amount extracted by the feature amount extraction means and a determination step of determining whether or not the face image of the animal input to the receiving means is an image of an individual that is the same as or similar to the individual animal associated with the individual identification information stored in the database. Method.
  14.  前記判定手段が、前記データベースに記憶されている特徴量と、前記特徴量抽出手段が抽出した特徴量のコサイン類似度を比較することにより、前記受付手段に入力された動物の顔画像が、データベースに記憶された個体識別情報に係る動物個体と同一又は類似の個体の画像であるか否かを判定するものである請求項1~6のいずれか一項記載の個体識別システム。 The determining means compares the feature amount stored in the database with the cosine similarity of the feature amount extracted by the feature amount extracting means, so that the facial image of the animal input to the receiving means is stored in the database. 7. The individual identification system according to any one of claims 1 to 6, which determines whether or not the image is of an individual that is the same as or similar to the individual animal associated with the individual identification information stored in the image.
  15.  幼齢の動物の顔画像から学習済みモデルを用いて抽出された特徴量及び前記幼齢の動物の個体識別情報を記憶したデータベースと、
     成体の動物の顔画像の入力を受け付ける受付手段と、
     学習済みモデルを含み、前記受付手段に入力された顔画像から前記学習済みモデルによって特徴量を抽出する特徴量抽出手段と、
     前記データベースに記憶されている特徴量と、前記特徴量抽出手段が抽出した特徴量を比較することにより、前記受付手段に入力された成体の動物の顔画像が、データベースに記憶された個体識別情報に係る動物個体と同一又は類似の個体の画像であるか否かを判定する判定手段と、を備える個体識別システム。
    a database storing feature values extracted from face images of young animals using trained models and individual identification information of the young animals;
    a receiving means for receiving an input of a facial image of an adult animal;
    a feature quantity extracting means for extracting a feature quantity from the face image input to the receiving means using the learned model;
    By comparing the feature amount stored in the database and the feature amount extracted by the feature amount extraction means, the face image of the adult animal input to the reception means is obtained as the individual identification information stored in the database. and determination means for determining whether or not the image is of an individual that is the same as or similar to the individual animal.
  16.  成体の動物の顔画像から学習済みモデルを用いて抽出された特徴量及び前記成体の動物の個体識別情報を記憶したデータベースと、
     幼齢の動物の顔画像の入力を受け付ける受付手段と、
     学習済みモデルを含み、前記受付手段に入力された顔画像から前記学習済みモデルによって特徴量を抽出する特徴量抽出手段と、
     前記データベースに記憶されている特徴量と、前記特徴量抽出手段が抽出した特徴量を比較することにより、前記受付手段に入力された幼齢の動物の顔画像が、データベースに記憶された個体識別情報に係る動物個体と同一又は類似の個体の画像であるか否かを判定する判定手段と、を備える個体識別システム。
     
     
    a database storing feature amounts extracted from facial images of adult animals using trained models and individual identification information of the adult animals;
    a receiving means for receiving an input of a facial image of a young animal;
    a feature quantity extracting means for extracting a feature quantity from the face image input to the receiving means using the learned model;
    By comparing the feature amount stored in the database and the feature amount extracted by the feature amount extraction means, the face image of the young animal input to the reception means is identified as the individual identification stored in the database. and determination means for determining whether or not the image is of an individual that is the same as or similar to an individual animal related to information.

PCT/JP2022/029346 2021-07-30 2022-07-29 Individual identification system and individual identification method WO2023008571A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2023538647A JPWO2023008571A1 (en) 2021-07-30 2022-07-29

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2021126317 2021-07-30
JP2021-126317 2021-07-30

Publications (1)

Publication Number Publication Date
WO2023008571A1 true WO2023008571A1 (en) 2023-02-02

Family

ID=85086095

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/029346 WO2023008571A1 (en) 2021-07-30 2022-07-29 Individual identification system and individual identification method

Country Status (2)

Country Link
JP (1) JPWO2023008571A1 (en)
WO (1) WO2023008571A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009176208A (en) * 2008-01-28 2009-08-06 Nec Corp Face authentication device, system, method and program
JP2014027920A (en) * 2012-06-27 2014-02-13 Microchip Japan Inc Pet individual information management system and microchip
JP2014071610A (en) * 2012-09-28 2014-04-21 Keyware Solutions Inc Data processing apparatus, name identification processing method, and computer program
JP2019010004A (en) * 2017-06-29 2019-01-24 株式会社Peco Information processing system and program
JP2019071894A (en) * 2017-08-29 2019-05-16 株式会社ハチたま Animal health management system, pet health management system, portable terminal, and program of portable terminal
JP2019200527A (en) * 2018-05-15 2019-11-21 アイシン・コムクルーズ株式会社 Information processing device, information processing method, and program
JP6817590B1 (en) * 2020-07-27 2021-01-20 パナソニックIpマネジメント株式会社 Imaging device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009176208A (en) * 2008-01-28 2009-08-06 Nec Corp Face authentication device, system, method and program
JP2014027920A (en) * 2012-06-27 2014-02-13 Microchip Japan Inc Pet individual information management system and microchip
JP2014071610A (en) * 2012-09-28 2014-04-21 Keyware Solutions Inc Data processing apparatus, name identification processing method, and computer program
JP2019010004A (en) * 2017-06-29 2019-01-24 株式会社Peco Information processing system and program
JP2019071894A (en) * 2017-08-29 2019-05-16 株式会社ハチたま Animal health management system, pet health management system, portable terminal, and program of portable terminal
JP2019200527A (en) * 2018-05-15 2019-11-21 アイシン・コムクルーズ株式会社 Information processing device, information processing method, and program
JP6817590B1 (en) * 2020-07-27 2021-01-20 パナソニックIpマネジメント株式会社 Imaging device

Also Published As

Publication number Publication date
JPWO2023008571A1 (en) 2023-02-02

Similar Documents

Publication Publication Date Title
EP4053762A1 (en) Disease prediction system, insurance fee calculation system, and disease prediction method
US10600179B2 (en) Image analysis for determining characteristics of groups of individuals
TW201539357A (en) Livestock identification system and method
JP2017224188A (en) System for supporting taking out insurance for rearing animal, rearing support system and program
JP2008269188A (en) Support system and method for insurance for pet
JP7360496B2 (en) Judgment system
WO2023008571A1 (en) Individual identification system and individual identification method
JP7360489B2 (en) Individual identification system and individual identification method
KR102303862B1 (en) Online livestock auction device and method using artificial intelligence
JP5702619B2 (en) Pet information management system and pet information management method
JP7204859B1 (en) Personality determination system and method for determining personality
Siegford et al. Practical considerations for the use of precision livestock farming to improve animal welfare.
JP7260922B2 (en) Learning data generation device, learning device, behavior analysis device, behavior analysis device, program, and recording medium
Klasky et al. Milking Welfare: Bovis Sacer and the Inclusive Thanatopolitics of the Dairy Farm
KR20200091577A (en) Matching System for Pet Management Service and Matching Method
JP7082647B2 (en) Insurance premium calculation system and insurance premium calculation method
JP2023081168A (en) Insurance premium calculation system and insurance premium calculation method
KR102452932B1 (en) System for providing map based stray animal management platform service
KR102409368B1 (en) System of supporting veau production installation and cooperation purchase consume and distributing profit
JP7330258B2 (en) Emotion determination system and emotion determination method
GB2618780A (en) Health tracking method and system
US20230252582A1 (en) Method for Integrating a Network of Household Pet Owners into a Pet Supply Chain
JP2022184223A (en) Pet sales price determination system and pet sales determination method
CN117672501A (en) Pet health preliminary screening system based on artificial intelligence
Klasky Milking Welfare: Agricultural Technology and Subject Formation on the Industrial Dairy Farm

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: 22849631

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2023538647

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE