CN115205892A - Method and device for searching for main part of wandering pet, electronic equipment and storage medium - Google Patents

Method and device for searching for main part of wandering pet, electronic equipment and storage medium Download PDF

Info

Publication number
CN115205892A
CN115205892A CN202210633700.9A CN202210633700A CN115205892A CN 115205892 A CN115205892 A CN 115205892A CN 202210633700 A CN202210633700 A CN 202210633700A CN 115205892 A CN115205892 A CN 115205892A
Authority
CN
China
Prior art keywords
pet
wandering
information
area
determining
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202210633700.9A
Other languages
Chinese (zh)
Inventor
彭永鹤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New Ruipeng Pet Healthcare Group Co Ltd
Original Assignee
New Ruipeng Pet Healthcare Group Co Ltd
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 New Ruipeng Pet Healthcare Group Co Ltd filed Critical New Ruipeng Pet Healthcare Group Co Ltd
Priority to CN202210633700.9A priority Critical patent/CN115205892A/en
Publication of CN115205892A publication Critical patent/CN115205892A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Alarm Systems (AREA)

Abstract

The application relates to the technical field of artificial intelligence, and particularly discloses a method, a device, electronic equipment and a storage medium for searching for a wandering pet, wherein the method comprises the following steps: determining at least one appearance place of the wandering pet and the appearance times of each appearance place of the wandering pet in the at least one appearance place according to the nose pattern image of the wandering pet; determining a main activity area of the wandering pet according to at least one occurrence place and the occurrence times of each occurrence place; matching the pet information of the wandering pet in the database according to the nose print image of the wandering pet; determining a target area in the main activity area according to the pet information; acquiring declaration information of a lost pet in a target area; comparing the nose print image of the wandering pet with the nose print information in the declaration information to obtain a comparison result; and determining candidate owner information of the wandering pet according to the comparison result so as to search the owner of the wandering pet according to the candidate owner information.

Description

Method and device for searching for main part of wandering pet, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of artificial intelligence, in particular to a method and a device for searching for a wandering pet owner, electronic equipment and a storage medium.
Background
With the increasing number of people raising pets, the number of wandering pets outside wandering waves is gradually increased, and a new burden is brought to city management. At present, the owner of the wandering pet mainly relies on a chip implanted in the pet body or an identity nameplate carried by the pet to carry out identity recognition, and then relevant information of the owner of the wandering pet is obtained. However, the chip implantation method is costly, so that the number of pets actually implanted with the chip is small at present. Meanwhile, most of the wandering pets are abandoned pets, lost pets, escaped pets and the like, and the nameplate of the wandering pet cannot be ensured not to be lost in the process of the wandering. Therefore, the existing identification means has little effect on seeking the majors of the wandering pets.
Disclosure of Invention
In order to solve the above problems in the prior art, the embodiment of the application provides a method and a device for searching for a wandering pet, an electronic device and a storage medium, which can perform accurate identity recognition on the wandering pet based on the nose pattern information, are not affected by the appearance change of the wandering pet, do not need to implant a chip, and do not need to carry external devices such as a nameplate for assistance.
In a first aspect, an embodiment of the present application provides a method for searching for a wandering pet, including:
determining at least one appearance place of the wandering pet and the appearance times of each appearance place of the wandering pet in the at least one appearance place according to the nose pattern image of the wandering pet;
determining a main activity area of the wandering pet according to at least one occurrence place and the occurrence times of each occurrence place;
matching pet information of the wandering pet in the database according to the nasal print image of the wandering pet;
determining a target area in the main activity area according to the pet information;
acquiring declaration information of a lost pet in a target area;
comparing the nose print image of the wandering pet with the nose print information in the declaration information to obtain a comparison result;
and determining candidate owner information of the wandering pet according to the comparison result so as to search the owner of the wandering pet according to the candidate owner information.
In a second aspect, an embodiment of the present application provides a device for searching for a wandering pet, including:
the information acquisition module is used for determining at least one appearance place of the wandering pet according to the nose print image of the wandering pet and the appearance times of the wandering pet in each appearance place of the at least one appearance place;
the region analysis module is used for determining a main activity region of the wandering pet according to at least one occurrence place and the occurrence frequency of each occurrence place;
the information acquisition module is also used for matching the pet information of the wandering pet in the database according to the nose print image of the wandering pet;
the area analysis module is also used for determining a target area in the main activity area according to the pet information;
the information acquisition module is also used for acquiring declaration information of lost pets in the target area;
the pet searching main module is used for comparing the nose pattern image of the wandering pet with the nose pattern information in the declaration information to obtain a comparison result, determining candidate loser information of the wandering pet according to the comparison result, and searching the owner of the wandering pet according to the candidate loser information.
In a third aspect, an embodiment of the present application provides an electronic device, including: a processor coupled to the memory, the memory for storing a computer program, the processor for executing the computer program stored in the memory to cause the electronic device to perform the method of the first aspect.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium having a computer program stored thereon, the computer program causing a computer to perform the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program, the computer operable to cause the computer to perform a method according to the first aspect.
The implementation of the embodiment of the application has the following beneficial effects:
in the embodiment of the application, at least one appearance place where the wandering pet appears and the appearance frequency of each appearance place in the at least one appearance place of the wandering pet are determined by identifying the nose print image of the wandering pet. Then, according to the at least one appearance place and the appearance times of each appearance place, the main activity area of the wandering pet is determined. Meanwhile, the pet information of the wandering pet is matched in the database according to the nose print image of the wandering pet, and then the target area is determined in the main activity area according to the pet information. And finally, acquiring declaration information of the lost pet in the target area, and comparing the nasal print image of the wandering pet with the nasal print information in the declaration information to obtain a comparison result. And then determining candidate owner information of the wandering pet according to the comparison result so as to search the owner of the wandering pet according to the candidate owner information. From this, carry out accurate identification to the unrestrained pet of stream through the nose line information of nose line image, do not receive the influence that the pet is unrestrained back appearance change, and need not to implant the chip, also need not to carry external equipment such as data plate and assist. Meanwhile, the living area of the pet owner can be predicted based on the registration information of the pet, and then key comparison is carried out on the area, so that the owner searching efficiency is improved compared with a traditional owner searching mode.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic diagram of a hardware structure of a wandering pet finder device according to an embodiment of the present disclosure;
FIG. 2 is a block diagram of a system for applying a method for home finding for a wandering pet according to an embodiment of the present disclosure;
fig. 3 is a schematic flow chart of a wandering pet homing method according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of an information filling interface of an application according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram illustrating a state change of an information filling interface of an application after a shot photo is uploaded according to an embodiment of the present application;
fig. 6 is a schematic diagram of a state change of an information filling interface of an application after uploading positioning information according to an embodiment of the present disclosure;
fig. 7 is a schematic view of at least one first subregion provided in the embodiments of the present application;
FIG. 8 is a schematic view of a second subregion provided in accordance with an embodiment of the present application;
fig. 9 is a block diagram illustrating functional modules of a wandering pet searching device according to an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making creative efforts shall fall within the protection scope of the present application.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, result, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
First, referring to fig. 1, fig. 1 is a schematic diagram of a hardware structure of a wandering pet searching device according to an embodiment of the present disclosure. The wandering pet-seeking device 100 includes at least one processor 101, a communication line 102, a memory 103, and at least one communication interface 104.
In this embodiment, the processor 101 may be a general processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more ics for controlling the execution of programs according to the present disclosure.
The communication link 102, which may include a path, carries information between the aforementioned components.
The communication interface 104 may be any transceiver or other device (e.g., an antenna, etc.) for communicating with other devices or communication networks, such as an ethernet, RAN, wireless Local Area Network (WLAN), etc.
The memory 103 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
In this embodiment, the memory 103 may be independent and connected to the processor 101 through the communication line 102. The memory 103 may also be integrated with the processor 101. The memory 103 provided in the embodiments of the present application may generally have a nonvolatile property. The memory 103 is used for storing computer-executable instructions for executing the present application, and is controlled by the processor 101 to execute. The processor 101 is configured to execute computer-executable instructions stored in the memory 103, thereby implementing the methods provided in the embodiments of the present application described below.
In alternative embodiments, computer-executable instructions may also be referred to as application code, which is not specifically limited in this application.
In alternative embodiments, processor 101 may include one or more CPUs, such as CPU0 and CPU1 of FIG. 1.
In an alternative embodiment, the rough pet homing device 100 may include a plurality of processors, such as the processor 101 and the processor 107 of fig. 1. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
In an alternative embodiment, if the rough pet searching device 100 is a server, for example, it may be an independent server, or may be a cloud server that provides basic cloud computing services such as cloud service, cloud database, cloud computing, cloud function, cloud storage, web service, cloud communication, middleware service, domain name service, security service, content Delivery Network (CDN), big data and artificial intelligence platform, and the like. The wandering pet homing apparatus 100 may further include an output device 105 and an input device 106. The output device 105 is in communication with the processor 101 and may display information in a variety of ways. For example, the output device 105 may be a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display device, a Cathode Ray Tube (CRT) display device, a projector (projector), or the like. The input device 106 is in communication with the processor 101 and may receive user input in a variety of ways. For example, the input device 106 may be a mouse, a keyboard, a touch screen device, or a sensing device, among others.
The wandering pet finder 100 may be a general purpose device or a special purpose device. The embodiment of the present application does not limit the type of the wandering pet homing device 100.
Next, fig. 2 is a block diagram of a system applying the rough pet homing method according to the embodiment of the present disclosure. Specifically, the system may include: an information acquisition device 201, a host seeking device 202 and a database 203. The information acquisition device 201 may be a device capable of acquiring images, audio and video, such as a camera, a smart phone and a wearable smart camera device, and is configured to acquire facial images of a wandering pet, extract a nose print image of the wandering pet, and send the extracted nose print image to the main searching device 202. The main searching device 202 may be a smart Phone (such as an Android Phone, an iOS Phone, a Windows Phone, etc.), a tablet computer, a palm computer, a notebook computer, a Mobile Internet device MID (MID), a server, etc. and is configured to receive the nose print image sent by the information collecting device 201, perform related processing on the nose print image, match the nose print image with the database 203, obtain data of a related area and pet information of the wandering pet, and then predict a living area of the wandering pet owner. Meanwhile, the main seeking device 202 can also obtain the missing declaration information of the pet in the prediction area, and then determines the candidate missing owner information of the wandering pet by combining the nose print image and the declaration information so as to find the owner of the wandering pet according to the candidate missing owner information. In addition, the master device 202 also updates and maintains the database 203.
In the embodiment, the smart pet can be accurately identified through the nose pattern information of the nose pattern image, and is not affected by the appearance change of the smart pet, and the chip is not required to be implanted, and the smart pet is not required to be assisted by external equipment such as a nameplate. Meanwhile, the living area of the pet owner can be predicted based on the registration information of the pet, and then key comparison is carried out on the area, so that the owner searching efficiency is improved compared with a traditional owner searching mode.
In the following, the method for searching for a parent of a wandering pet disclosed in the present application will be described with the information acquisition device 201 as a smart phone:
referring to fig. 3, fig. 3 is a schematic flow chart of a wandering pet homing method according to an embodiment of the present disclosure. The method for searching for the main part of the wandering pet comprises the following steps:
301: and determining at least one appearance place of the wandering pet according to the nose print image of the wandering pet, and the appearance times of the wandering pet in each appearance place of the at least one appearance place.
In this embodiment, after a worker or any other person encounters a wandering pet, the front view of the wandering pet may be photographed by a portable smartphone, and then the front view may be sent to the host seeking device 202. Specifically, the worker or any other person may install an APP related to the owner of the pet in the smart phone, or access a WeChat applet related to the owner of the pet, or access a website of the owner of the pet through a mobile phone browser, then click a shooting button, start a shooting function of the smart phone to shoot the wandering pet, obtain a front view of the wandering pet, and upload the front view. Meanwhile, a button or an option for acquiring the positioning information can be clicked or selected, and the positioning information of the shooting place is uploaded synchronously. As shown in fig. 4, the upper box is a shooting button, and after the box is clicked, the user can jump to the shooting interface to shoot and upload a photo. After the shot is completed, the photograph will be displayed in the box with a memorable preview, as shown in FIG. 5. If the staff or any other person is not satisfied with the photo, the staff or any other person can click the photo again to re-enter the shooting interface for shooting the photo again. Meanwhile, the box in the middle in fig. 4 is a positioning button, a positioning program which is carried by the smartphone or is provided by a third party can be skipped by clicking the button, and positioning information is selected in an automatic positioning or manual positioning mode. Similarly, as shown in fig. 6, the positioning information is presented in the box in a map manner, and if the staff member or any other person is not satisfied with the positioning information, the staff member can click the positioning information again to re-enter the positioning interface for positioning selection again. After uploading the photo and positioning information, the worker or any other person may click the submit button below in fig. 4 to send the photo and positioning information to the host device 202.
In the present embodiment, after receiving the photo and the positioning information transmitted by the smartphone, the main finder 202 first performs region recognition and segmentation on the photo to obtain a nasal print image of the wandering pet. And then, sending the nose print image and the positioning information to a government system to request to acquire at least one appearance place where the wandering pet appears and the appearance times of the wandering pet in each appearance place of the at least one appearance place. Specifically, the host seeking device 202 may cooperate with a government system in advance, and then the government system, after receiving the nose pattern image and the positioning information, calls a preset distance, for example: and analyzing all the monitoring videos in a circular area determined by the radius of 20 kilometers according to the nasal print information to determine the positions where the wandering pet appears so as to obtain the number of times of appearance in each position. After the analysis of the monitoring videos is completed, the government system generates at least one occurrence place where the wandering pet occurs and the occurrence number of the wandering pet at each occurrence place based on the analysis result, and sends the information to the main searching device 202.
302: and determining the main activity area of the wandering pet according to the at least one occurrence place and the occurrence times of each occurrence place.
In the present embodiment, first, the weight of each appearance point may be determined according to the number of appearances of each appearance point. Specifically, one weight section may be determined for each of the different pet breeds in advance according to the travel habits of the different pet breeds. For example: the number of occurrences is [0, 3), corresponding to a weight of 1; the number of occurrences is [3, 6), corresponding to a weight of 2; the number of occurrences is greater than or equal to 6, corresponding to a weight of 3. Alternatively, the weight of each occurrence point may be determined based on the proportion of the number of occurrences of each occurrence point to the total number of occurrences.
The radius of the area for each occurrence point can then be determined according to the weight of each occurrence point. Specifically, the activity radius table of different pet varieties under different weights can be determined according to the travel habits of different pet varieties. Therefore, according to the weight determined in the last step, inquiry is carried out by combining the breed of the wandering pet, and the moving radius corresponding to each appearance place can be obtained as the area radius of the appearance place.
Finally, as shown in fig. 7, a circle is drawn by taking each occurrence point as a center of the circle and the area radius of each occurrence point as a radius, so as to obtain at least one first sub-area, where the at least one first sub-area corresponds to the at least one occurrence point one to one. The union of the at least one first sub-area is then used as the primary active area, i.e. the shaded area in fig. 7. In an alternative embodiment, as shown in fig. 8, any two adjacent appearance points in at least one appearance point may be sequentially connected to obtain a second sub-area, i.e., a shaded area in fig. 8. Then the union area of the at least one first sub-area and the second sub-area is used as the main active area. Therefore, the main activity area of the wandering pet can be more accurately determined, and area omission caused by camera dead angles or dead areas is avoided.
303: and matching the pet information of the wandering pet in the database according to the nose print image of the wandering pet.
In this embodiment, the nasal print image may be subjected to nasal print recognition to obtain the nasal print characteristics of the pet to be treated, and then the matching is performed in the database 203 according to the nasal print characteristics, so as to obtain the pet information of the wandering pet. Specifically, the pet information is entered when the wandering pet is brought by its owner to a relevant department for registration while being raised, and may include: the pet information can also be additionally graded with the owner information, the address information and the like of the pet. Based on this, the nose print feature is the unique identity of the wandering pet, which is equivalent to the fingerprint of a person, and when the pet information of the to-be-wandering pet needs to be called, the pet information of the to-be-treated pet thigh can be searched according to the nose print feature, so that the pet information of the to-be-treated pet thigh can be obtained. From this, through the uniqueness and the irreplaceability of nose line, can be fast and accurate this unrestrained pet's of definite identity, then acquire relevant information, do not receive the influence that the appearance changed after the pet is unrestrained, and need not to implant the chip, also need not to carry external equipment such as data plate and assist. In addition, identity recognition through the nose print also avoids identity recognition errors caused by operations such as impersonation, exchange and the like, and then the situation of acquiring wrong information is obtained.
304: and determining a target area in the main activity area according to the pet information.
In this embodiment, after the pet information is obtained, it may be determined whether the pet information is complete, that is, whether the pet information includes complete owner information, address information, and the like. If the pet information is complete, the owner searching operation can be directly carried out according to the information such as owner information, address information and the like recorded in the pet information.
In the present embodiment, if the pet information is incomplete, that is, if there is no information such as rank owner information or address information at the time of registration, the registration location and the radius of movement of the wandering pet can be specified from the pet information. The registration place is the place of a relevant department when the wandering pet registers, and the activity radius is the wandering radius when the wandering pet normally moves. Specifically, the breed information, the age information and the original appearance of the wandering pet can be determined according to the pet information, and then the wandering time of the wandering pet can be determined according to the real-time appearance and the original appearance of the wandering pet in the picture. And then, determining the wandering efficiency of the wandering pet according to the variety information and the age information of the wandering pet, wherein the wandering efficiency is used for identifying the average distance of the pet moving in the strange environment within a unit time, the wandering efficiency can be obtained by learning a large amount of sample data in advance, and then the pet is directly inquired according to the variety information and the age information of the wandering pet when needed, so that the overall owner searching efficiency is improved. Finally, the activity radius is determined according to the wave time and the wandering efficiency, and the product of the wave time and the wandering efficiency can be taken as the activity radius of the wave pet.
In the present embodiment, a living area candidate for a wandering pet, which is a suspected area in which the owner of the wandering pet is present, may be determined from the registration site. Specifically, the candidate residential area is a coverage area of the registration site, and the residential area radius may be obtained by obtaining address information of all pets registered by the pet at the registration site, and then obtaining a maximum distance between the address information of all pets and the registration site, so as to draw a circle with the registration site as a center and the residential area radius as a radius.
Finally, in the present embodiment, the main active region is subjected to region expansion according to the active radius, and an expanded region is obtained. And then taking the intersection area of the candidate residential area and the expansion area as a target area. Specifically, a circle may be drawn with each point on the boundary of the main activity area as the center of the circle and the distance of the activity radius as the radius to obtain a plurality of boundary extension areas, and then a union area of the main activity area and the plurality of boundary extension areas is used as the extension area.
305: and acquiring declaration information of the lost pet in the target area.
In the present embodiment, after the target area is specified, declaration information of all lost pets whose address information is in the area can be acquired.
306: and comparing the nasal print image of the wandering pet with the nasal print information in the declaration information to obtain a comparison result.
In this embodiment, first, the nose pattern features of the wandering pet may be extracted according to the nose pattern image, and then the nose pattern features may be matched with X nose pattern features in the declaration information to obtain X matching degrees. Specifically, X nasal print characteristics correspond to X declared pets, identical to the wandering pet variety, in the declaration information one by one, X matching degrees correspond to X declared pets, identical to the wandering pet variety, in the declaration information one by one, and X is an integer greater than or equal to 1. Then, the pet information of Y declared pets corresponding to the matching degree greater than or equal to the first threshold in the X matching degrees may be aggregated to obtain a comparison result, where Y is an integer greater than or equal to 0, and Y is less than or equal to X.
307: and determining candidate owner information of the wandering pet according to the comparison result so as to find the owner of the wandering pet according to the candidate owner information.
In summary, in the method for searching for a wandering pet provided by the present invention, by identifying the nose print image of the wandering pet, at least one occurrence location where the wandering pet has occurred and the number of occurrences of the wandering pet in each occurrence location are determined. Then, according to the at least one occurrence place and the occurrence times of each occurrence place, a main activity area of the wandering pet is determined. Meanwhile, the pet information of the wandering pet is matched in the database according to the nose print image of the wandering pet, and then the target area is determined in the main activity area according to the pet information. And finally, acquiring declaration information of the lost pet in the target area, and comparing the nose pattern image of the wandering pet with the nose pattern information in the declaration information to obtain a comparison result. And then determining candidate owner information of the wandering pet according to the comparison result so as to find the owner of the wandering pet according to the candidate owner information. From this, carry out accurate identification to the unrestrained pet of stream through the nose line information of nose line image, do not receive the influence that the pet is unrestrained back appearance change, and need not to implant the chip, also need not to carry external equipment such as data plate and assist. Meanwhile, the residence area of the pet owner can be predicted based on the registration information of the pet, and then key comparison is performed on the area, so that compared with a traditional owner searching mode, the owner searching efficiency is improved.
Referring to fig. 9, fig. 9 is a block diagram illustrating functional modules of a wandering pet searching device according to an embodiment of the present disclosure. As shown in fig. 9, the rough pet finder 900 includes:
the information acquisition module 901 is used for determining at least one appearance place of the wandering pet according to the nose print image of the wandering pet and the appearance times of the wandering pet in each appearance place of the at least one appearance place;
the region analysis module 902 is used for determining a main activity region of the wandering pet according to at least one occurrence place and the occurrence frequency of each occurrence place;
the information acquisition module 901 is further configured to match the pet information of the wandering pet in the database according to the nose print image of the wandering pet;
the region analysis module 902 is further configured to determine a target region in the main activity region according to the pet information;
the information acquisition module 901 is further configured to acquire declaration information of a lost pet in the target area;
the pet searching main module 903 is configured to compare the nose print image of the wandering pet with the nose print information in the declaration information to obtain a comparison result, and determine candidate loser information of the wandering pet according to the comparison result to search a master of the wandering pet according to the candidate loser information.
In an embodiment of the present invention, in determining the main activity area of the rough pet according to at least one occurrence location and the occurrence number of each occurrence location, the area analysis module 902 is specifically configured to:
determining the weight of each occurrence point according to the occurrence times of each occurrence point;
determining the area radius of each appearance point according to the weight of each appearance point;
drawing a circle by taking each occurrence point as a circle center and the area radius of each occurrence point as a radius to obtain at least one first subregion, wherein the at least one first subregion corresponds to the at least one occurrence point one to one;
and taking the union region of the at least one first sub-region as a main active region.
In an embodiment of the present invention, after drawing a circle by taking each occurrence point as a center and a region radius of each occurrence point to obtain at least one first sub-region, the region analysis module 902 is further configured to:
sequentially connecting any two adjacent appearance places in at least one appearance place to obtain a second subregion;
based on this, in terms of taking the union region of the at least one first sub-region as the main active region, the region analysis module 902 is specifically configured to:
and taking the union region of at least one first sub-region and at least one second sub-region as a main active region.
In an embodiment of the present invention, in determining the target area in the primary activity area according to the pet information, the area analysis module 902 is specifically configured to:
determining the registration place and the activity radius of the wandering pet according to the pet information;
determining a candidate living area of the wandering pet according to the registration place, wherein the candidate living area is a suspected area where the owner of the wandering pet is located;
performing region expansion on the main activity region according to the activity radius to obtain an expanded region;
and taking the intersection area of the candidate residential area and the expansion area as a target area.
In an embodiment of the present invention, in determining the radius of activity of the rough pet according to the pet information, the area analysis module 902 is specifically configured to:
determining variety information, age information and original appearance of the wandering pet according to the pet information;
determining the wave time of the wave pet according to the real-time shape and the original shape of the wave pet;
determining the wandering efficiency of the wandering pet according to the variety information and the age information of the wandering pet, wherein the wandering efficiency is used for identifying the average distance of the pet moving in a strange environment within a unit time;
and determining the moving radius according to the wave time and the wandering efficiency.
In an embodiment of the present invention, in determining the candidate residential area of the rough pet according to the registration site, the area analysis module 902 is specifically configured to:
acquiring address information of all pets registered at a registration site;
acquiring the maximum distance between the address information of all the pets and a registration place to obtain the radius of a living area;
and drawing a circle by taking the registered place as the center of the circle and the radius of the living area as the radius to obtain a candidate living area.
In an embodiment of the present invention, in terms of comparing the nose print image of the wandering pet with the nose print information in the declaration information to obtain a comparison result, the pet finding main module 903 is specifically configured to:
extracting the nasal print characteristics of the wandering pet according to the nasal print image;
matching the nasal print characteristics with X nasal print characteristics in the declaration information to obtain X matching degrees, wherein the X nasal print characteristics correspond to X declaration pets, identical to the wandering pet variety, in the declaration information one by one, the X matching degrees correspond to X declaration pets, identical to the wandering pet variety, in the declaration information one by one, and X is an integer greater than or equal to 1;
and gathering the pet information of Y declared pets corresponding to the matching degree which is greater than or equal to the first threshold value in the X matching degrees to obtain a comparison result, wherein Y is an integer which is greater than or equal to 0, and Y is less than or equal to X.
Referring to fig. 10, fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 10, the electronic device 1000 includes a transceiver 1001, a processor 1002, and a memory 1003. Connected to each other by a bus 1004. The memory 1003 is used to store computer programs and data, and may transmit data stored in the memory 1003 to the processor 1002.
The processor 1002 is configured to read the computer program in the memory 1003 to perform the following operations:
determining at least one appearance place of the wandering pet and the appearance times of each appearance place of the wandering pet in the at least one appearance place according to the nose pattern image of the wandering pet;
determining a main activity area of the wandering pet according to at least one occurrence place and the occurrence times of each occurrence place;
matching the pet information of the wandering pet in the database according to the nose print image of the wandering pet;
determining a target area in the main activity area according to the pet information;
acquiring declaration information of lost pets in a target area;
comparing the nose print image of the wandering pet with the nose print information in the declaration information to obtain a comparison result;
and determining candidate owner information of the wandering pet according to the comparison result so as to search the owner of the wandering pet according to the candidate owner information.
In an embodiment of the present invention, in determining the main activity area of the rough pet according to at least one occurrence location and the occurrence number of each occurrence location, the processor 1002 is specifically configured to:
determining the weight of each occurrence point according to the occurrence times of each occurrence point;
determining the area radius of each appearance point according to the weight of each appearance point;
drawing a circle by taking each appearance place as a circle center and the area radius of each appearance place as a radius to obtain at least one first subregion, wherein the at least one first subregion corresponds to the at least one appearance place one to one;
and taking the union region of the at least one first sub-region as a main active region.
In an embodiment of the present invention, after drawing a circle with a region radius of each occurrence point as a center to obtain at least one first sub-region, the processor 1002 is further configured to:
sequentially connecting any two adjacent appearance places in at least one appearance place to obtain a second sub-area;
based on this, in terms of taking the union region of the at least one first sub-region as the main active region, the processor 1002 is specifically configured to perform the following operations:
and taking the union region of at least one first sub-region and at least one second sub-region as a main active region.
In an embodiment of the present invention, in determining the target area in the primary activity area according to the pet information, the processor 1002 is specifically configured to:
determining the registration place and the activity radius of the wandering pet according to the pet information;
determining a candidate living area of the wandering pet according to the registration place, wherein the candidate living area is a suspected area where an owner of the wandering pet is located;
performing area expansion on the main active area according to the active radius to obtain an expanded area;
and taking the intersection area of the candidate residential area and the expansion area as a target area.
In an embodiment of the present invention, in determining the radius of activity of the rough pet according to the pet information, the processor 1002 is specifically configured to:
determining variety information, age information and original appearance of the wandering pet according to the pet information;
determining the wave time of the wave pet according to the real-time shape and the original shape of the wave pet;
determining the wandering efficiency of the wandering pet according to the variety information and the age information of the wandering pet, wherein the wandering efficiency is used for identifying the average distance of the pet moving in a strange environment within a unit time;
and determining the moving radius according to the wave time and the wandering efficiency.
In an embodiment of the present invention, in determining the candidate residential area of the rough pet according to the registration site, the processor 1002 is specifically configured to:
acquiring address information of all pets registered at a registration site;
acquiring the maximum distance between the address information of all the pets and a registration place to obtain the radius of a living area;
and drawing a circle by taking the registered place as the center of the circle and the radius of the living area as the radius to obtain a candidate living area.
In an embodiment of the present invention, in terms of comparing the nasal print image of the wandering pet with the nasal print information in the declaration information to obtain a comparison result, the processor 1002 is specifically configured to perform the following operations:
extracting the nasal print characteristics of the wandering pet according to the nasal print image;
matching the nasal print characteristics with X nasal print characteristics in the declaration information to obtain X matching degrees, wherein the X nasal print characteristics correspond to X declaration pets, identical to the wandering pet variety, in the declaration information one by one, the X matching degrees correspond to X declaration pets, identical to the wandering pet variety, in the declaration information one by one, and X is an integer greater than or equal to 1;
and gathering the pet information of Y declared pets corresponding to the matching degree which is greater than or equal to the first threshold value in the X matching degrees to obtain a comparison result, wherein Y is an integer which is greater than or equal to 0, and Y is less than or equal to X.
It should be understood that the wandering pet homing device in the present application may include a smart Phone (e.g., an Android Phone, an iOS Phone, a Windows Phone, etc.), a tablet, a palm computer, a notebook, a Mobile Internet device MID (MID), a robot, a wearable device, etc. The device for searching for the rough pet is merely an example, and is not exhaustive, and includes but is not limited to the device for searching for the rough pet. In practical applications, the main device for searching for the wandering pet may further include: intelligent vehicle-mounted terminals, computer equipment and the like.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention may be implemented by combining software and a hardware platform. With this understanding in mind, all or part of the technical solutions of the present invention that contribute to the background can be embodied in the form of a software product, which can be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods according to the embodiments or some parts of the embodiments.
Accordingly, the present application also provides a computer-readable storage medium, which stores a computer program, where the computer program is executed by a processor to implement part or all of the steps of any one of the rough pet homing methods as described in the above method embodiments. For example, the storage medium may include a hard disk, a floppy disk, an optical disk, a magnetic tape, a magnetic disk, a flash memory, and the like.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the wandering pet homing methods as described in the above method embodiments.
It should be noted that for simplicity of description, the above method embodiments are described as a series of acts, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are all alternative embodiments and that the acts and modules referred to are not necessarily required by the application.
In the above embodiments, the description of each embodiment has its own weight, and for parts that are not described in detail in a certain embodiment, reference may be made to the description of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is merely a logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed coupling or direct coupling or communication connection between each other may be through some interfaces, indirect coupling or communication connection between devices or units, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The integrated unit may be implemented in the form of hardware, or may be implemented in the form of a software program module.
The integrated unit, if implemented in the form of a software program module and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solutions of the present application, in essence or part of the technical solutions contributing to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product, which is stored in a memory and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, and the memory may include: flash Memory disks, read-Only memories (ROMs), random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the methods and their core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A wandering pet homing method is characterized by comprising the following steps:
determining at least one appearance place of the wandering pet and the appearance times of the wandering pet in each appearance place of the at least one appearance place according to the nose pattern image of the wandering pet;
determining a main activity area of the wandering pet according to the at least one occurrence place and the occurrence times of each occurrence place;
matching the pet information of the wandering pet in a database according to the nose print image of the wandering pet;
determining a target area in the main activity area according to the pet information;
acquiring declaration information of the lost pet in the target area;
comparing the nose print image of the wandering pet with the nose print information in the declaration information to obtain a comparison result;
and determining candidate owner information of the wandering pet according to the comparison result, and searching the owner of the wandering pet according to the candidate owner information.
2. The method of claim 1, wherein said determining a primary activity area of said rough pet based on said at least one place of occurrence and said number of occurrences of each place of occurrence comprises:
determining the weight of each occurrence point according to the occurrence times of each occurrence point;
determining the area radius of each appearance place according to the weight of each appearance place;
drawing a circle by taking each appearance place as a circle center and the area radius of each appearance place as a radius to obtain at least one first sub-area, wherein the at least one first sub-area is in one-to-one correspondence with the at least one appearance place;
taking a union region of the at least one first sub-region as the primary active region.
3. The method of claim 2, wherein after said rounding said each occurrence point by its area radius to obtain at least one first sub-area, said method further comprises:
sequentially connecting any two adjacent appearance places in the at least one appearance place to obtain a second sub-area;
the taking the union region of the at least one first sub-region as the main active region comprises:
taking a union region of the at least one first sub-region and the second sub-region as the primary active region.
4. The method of claim 1, wherein said determining a target zone in said primary activity zone based on said pet information comprises:
determining the registration place and the activity radius of the wandering pet according to the pet information;
determining a candidate living area of the wandering pet according to the registration place, wherein the candidate living area is a suspected area where an owner of the wandering pet is located;
performing area expansion on the main activity area according to the activity radius to obtain an expanded area;
and taking the intersection area of the candidate residential area and the expansion area as the target area.
5. The method of claim 4, wherein determining the radius of activity of the vagrant pet based on the pet information comprises:
determining variety information, age information and original appearance of the wandering pet according to the pet information;
determining the wave time of the wave pet according to the real-time shape and the original shape of the wave pet;
determining the wandering efficiency of the wandering pet according to the variety information and the age information of the wandering pet, wherein the wandering efficiency is used for identifying the average distance of the pet moving in a strange environment per unit time;
and determining the movable radius according to the wave time and the wandering efficiency.
6. The method of claim 4, wherein said determining a candidate occupancy region for the vagrant pet based on the check-in location comprises:
acquiring address information of all pets registered at the registration place;
acquiring the maximum distance between the address information of all the pets and the registration place to obtain the radius of the living area;
and drawing a circle by taking the registration place as a circle center and the radius of the residential area as a radius to obtain the candidate residential area.
7. The method according to claim 1, wherein the comparing the nose print image of the wandering pet with the nose print information in the declaration information to obtain a comparison result comprises:
extracting the nasal print characteristics of the wandering pet according to the nasal print image;
matching the nasal print characteristics with X nasal print characteristics in the declaration information to obtain X matching degrees, wherein the X nasal print characteristics correspond to X declaration pets, identical to the wandering pet variety, in the declaration information one to one, the X matching degrees correspond to X declaration pets, identical to the wandering pet variety, in the declaration information one to one, and X is an integer greater than or equal to 1;
and gathering the pet information of Y declared pets corresponding to the matching degree which is greater than or equal to the first threshold value in the X matching degrees to obtain the comparison result, wherein Y is an integer which is greater than or equal to 0, and Y is less than or equal to X.
8. A wandering pet seeking device, comprising:
the information acquisition module is used for determining at least one appearance place of the wandering pet and the appearance times of the wandering pet in each appearance place of the at least one appearance place according to the nose print image of the wandering pet;
the region analysis module is used for determining a main activity region of the wandering pet according to the at least one occurrence place and the occurrence times of each occurrence place;
the information acquisition module is also used for matching the pet information of the wandering pet in the database according to the nose print image of the wandering pet;
the region analysis module is further used for determining a target region in the main activity region according to the pet information;
the information acquisition module is also used for acquiring declaration information of the lost pet in the target area;
the pet searching main module is used for comparing the nose pattern image of the wandering pet with the nose pattern information in the declaration information to obtain a comparison result, determining candidate owner losing information of the wandering pet according to the comparison result, and searching the owner of the wandering pet according to the candidate owner losing information.
9. An electronic device comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, the one or more programs including instructions for performing the steps in the method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which is executed by a processor to implement the method according to any one of claims 1-7.
CN202210633700.9A 2022-06-07 2022-06-07 Method and device for searching for main part of wandering pet, electronic equipment and storage medium Pending CN115205892A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210633700.9A CN115205892A (en) 2022-06-07 2022-06-07 Method and device for searching for main part of wandering pet, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210633700.9A CN115205892A (en) 2022-06-07 2022-06-07 Method and device for searching for main part of wandering pet, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115205892A true CN115205892A (en) 2022-10-18

Family

ID=83576814

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210633700.9A Pending CN115205892A (en) 2022-06-07 2022-06-07 Method and device for searching for main part of wandering pet, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115205892A (en)

Similar Documents

Publication Publication Date Title
US10430643B2 (en) Facial recognition pet identifying system
CN108280477B (en) Method and apparatus for clustering images
CN110033018B (en) Graph similarity judging method and device and computer readable storage medium
JP2017536635A (en) Picture scene determination method, apparatus and server
WO2016199662A1 (en) Image information processing system
CN106255966A (en) StoreFront identification is used to identify entity to be investigated
CN111104825A (en) Face registry updating method, device, equipment and medium
CN110377218B (en) Data processing method, data processing device, computer equipment and storage medium
CN111507285A (en) Face attribute recognition method and device, computer equipment and storage medium
CN110019916A (en) Event-handling method, device, equipment and storage medium based on user's portrait
CN117726884B (en) Training method of object class identification model, object class identification method and device
KR20190124436A (en) Method for searching building based on image and apparatus for the same
CN112631333B (en) Target tracking method and device of unmanned aerial vehicle and image processing chip
CN113190444B (en) Test method, test device and storage medium
CN111191065B (en) Homologous image determining method and device
CN113627334A (en) Object behavior identification method and device
CN112333182B (en) File processing method, device, server and storage medium
CN115205892A (en) Method and device for searching for main part of wandering pet, electronic equipment and storage medium
CN115830342A (en) Method and device for determining detection frame, storage medium and electronic device
CN114610938A (en) Remote sensing image retrieval method and device, electronic equipment and computer readable medium
CN116783632A (en) System and method for identifying pets based on nose
CN114255321A (en) Method and device for collecting pet nose print, storage medium and electronic equipment
CN110866469B (en) Facial five sense organs identification method, device, equipment and medium
CN112712013B (en) Method and device for constructing moving track
CN110796135B (en) Target positioning method and device, computer equipment and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination