WO2020186701A1 - User location lookup method and apparatus, device and medium - Google Patents

User location lookup method and apparatus, device and medium Download PDF

Info

Publication number
WO2020186701A1
WO2020186701A1 PCT/CN2019/103921 CN2019103921W WO2020186701A1 WO 2020186701 A1 WO2020186701 A1 WO 2020186701A1 CN 2019103921 W CN2019103921 W CN 2019103921W WO 2020186701 A1 WO2020186701 A1 WO 2020186701A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
image
search
identification information
user location
Prior art date
Application number
PCT/CN2019/103921
Other languages
French (fr)
Chinese (zh)
Inventor
杨尊程
Original Assignee
百度在线网络技术(北京)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 百度在线网络技术(北京)有限公司 filed Critical 百度在线网络技术(北京)有限公司
Publication of WO2020186701A1 publication Critical patent/WO2020186701A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences

Definitions

  • the embodiments of the present application relate to the field of image processing technology, for example, to a method, device, device, and medium for finding the location of a user.
  • the embodiments of the present application provide a method, device, device, and medium for finding a user's location, so as to improve the efficiency of a user in finding other companions in a fixed area, and solve the problem of low efficiency of human eyes in finding a companion.
  • an embodiment of the present application provides a method for finding a user location, including:
  • the user location record table corresponding to the target area is updated in real time, wherein a record in the user location record table includes: user identification information and user identification information The user positioning result corresponding to the identification information;
  • a search feedback result that matches the user search request is generated.
  • an embodiment of the present application also provides an apparatus for finding a user location, including:
  • the user location record table real-time update module is used to update the user location record table corresponding to the target area in real time according to the scene image captured by at least one camera in the target area, wherein one record in the user location record table includes : User identification information, and user positioning results corresponding to the user identification information;
  • the user location search module is configured to obtain a user location search request corresponding to the target area, and search in the user location record table according to the search user identification information included in the user location search request;
  • the search feedback result generation module is configured to generate a search feedback result that matches the user search request according to the search result of the search user identification information.
  • the embodiments of the present application also provide a computer device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor.
  • the processor executes the program, the implementation is as follows: The method for finding the location of the user described in any embodiment.
  • an embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the method for searching the user location as described in any embodiment of the present application is implemented.
  • the method, device, device, and medium for searching the user location update the user location record table corresponding to the target area in real time according to the scene image captured by at least one camera in the target area in real time.
  • the user location record table The location result of the user in the target area in the record.
  • the user location record table is searched for the user identification information included in the user location search request, and the search result is generated.
  • the feedback result of the user location search request is generated.
  • Fig. 1 is a flowchart of a method for finding a user location in Embodiment 1 of the present application
  • Embodiment 2 is a flowchart of a method for finding a user location in Embodiment 2 of the present application
  • FIG. 3 is a flowchart of a method for finding the location of a user in Embodiment 3 of the present application
  • FIG. 4 is a schematic structural diagram of an apparatus for finding a user location in Embodiment 4 of the present application.
  • FIG. 5 is a schematic structural diagram of a computer device in Embodiment 5 of the present application.
  • FIG. 1 is a flowchart of a method for finding a user's location provided by this embodiment, which is applicable to a situation where a user wants to find a companion after leaving a companion at a target location.
  • This method can be determined by the user's location provided by the embodiment of this application.
  • the search device is executed, and the device can be implemented by software and/or hardware. As shown in Fig. 1, the method of this embodiment specifically includes:
  • the target area refers to the fixed area where the user wants to find companions or other users. It can be an indoor area or an outdoor area. Generally, the fixed area has a large area and is not convenient for tracing people, such as large scenic spots, exhibition halls, restaurants, etc., where at least one camera is installed in the fixed area to take pictures of people in the target area. Scene image. When a person is within the shooting range of the camera, the scene image shot by the camera includes the image of the person. For example, when the target area is a rectangular indoor area such as a canteen, cameras (typically, high-definition cameras) may be installed only at the entrance and exit of the target area and the four corners of the target area to capture scene images in the target area.
  • cameras typically, high-definition cameras
  • the user location record table records the location information of people who are located in the target area and can be captured by the camera, and the location information of the people recorded in the user location record table is updated based on the scene image captured by the camera in real time, that is, As the person moves in the target area, the real-time captured scene image captured by the camera is also different, and the location information of the person determined according to the real-time captured scene image captured by the camera also changes.
  • each area in the scene image captured by each camera corresponds to an actual area in the target area.
  • the location can determine the actual location of the person in the target area.
  • the determined actual area location of the search user in the target area may be area location information of the reference object in the scene image, or related information of the reference object, such as number information.
  • each piece of record information in the user location record table includes user identification information and a user positioning result corresponding to the user identification information, that is, the user identification information and the user positioning result appear in pairs.
  • the user identification information in the user location record table may be a face image and/or user identification information, wherein the correspondence between the face image and the user identification information is determined by a pre-established standard user library .
  • User identification information is the unique identification information used to identify the user.
  • User identification information can be user identification information, such as an ID number. Typically, taking the target area as a company’s special place as an example, people who go to this target area If they are all employees of the company, the user identification information can be the employee ID; the user identification information can also be the user’s face image, which can be the standard face image of the user stored in the standard user library, or It is a face image captured in the scene image captured by the camera in real time; the user identification information can also be a combination of user identification information and the corresponding face image.
  • the camera in the target area captures the scene image in real time. For example, it captures a scene image every 5 seconds.
  • the position of the image of the person in the scene image may or may not change.
  • the camera captures the image of the person in the scene image in real time
  • the position of the person changes, for example, the image of a person in the scene image is moving, or an image of a new person enters the scene image, and the person is at the target according to the real-time location of the person’s image in the scene image
  • the user location result recorded in the target record in the user location record table is updated in real time, so that the user location result recorded in the user location record table is always determined based on the latest captured scene image.
  • the user location record table will be updated in real time based on the scene image, but the corresponding target record in the user location record table has not changed.
  • S120 Obtain a user location search request corresponding to the target area, and search in the user location record table according to the search user identification information included in the user location search request.
  • the user location search request including the search user identification information is sent, where the search user identification information may be a user's face image, such as stored in a mobile phone It includes looking up the photo of the user's face image, and it can also be user identification information, such as looking up the user's ID number, or looking up the user's employee ID (for the case where the user is a colleague).
  • the search user identification information may be a user's face image, such as stored in a mobile phone It includes looking up the photo of the user's face image, and it can also be user identification information, such as looking up the user's ID number, or looking up the user's employee ID (for the case where the user is a colleague).
  • a mobile phone APP Application, application program
  • the user location search method provided in this embodiment.
  • the user has a user location search request to find other user location information within the target area, the user in the mobile phone APP After the location information query portal enters the user location search request, it waits for the search feedback result returned by the mobile APP.
  • the mobile APP can correspond to only one target area or multiple target areas. When corresponding to multiple target areas, the user needs to select the target area range that needs to be queried before entering the user location search request.
  • the system When the system receives a user location search request within the target area initiated by the user, it analyzes the search user identification information included in the user location search request, and then searches in the user location record table, whether the user location record table includes the search user identification The target record of the information. If the search user identification information included in the user location search request is user identification information, search for the user identification information of the user in the user location record table; if the search user identification information included in the user location search request is the user's face image, Then search for the user's face image of the user in the user location record table.
  • a search feedback result that matches the user search request is generated according to the user location result recorded in the user location record table corresponding to the search user identification information; if the user location record table is If the user identification information is not found in the search, the user location cannot be found as the search feedback result matching the user search request.
  • the target record corresponding to the search user identification information in the user location record table is obtained, and the user location result in the target record is used as the search feedback result for feedback;
  • the user location result of the search user cannot be returned, and only feedback results such as "user location cannot be found" can be fed back. In this case, it may be the search
  • the user is not in the target area, or each camera failed to successfully capture the image of the searching user, especially the face image.
  • the user location record table corresponding to the target area is updated in real time according to the scene image captured by at least one camera in the target area.
  • the user location record table records the location result of the user in the target area.
  • the user location record table is searched for the user identification information included in the user location search request, and a feedback result of the user location search request is generated according to the search result.
  • the following operations can also be performed: The scene image captured by at least one camera in the target area in real time does not update the target record in the user location record table, then the target record is deleted.
  • the target record in the user location record table exceeds the set time period (for example, two hours, which can be specifically set according to the actual situation) and is not updated, the target record is deleted.
  • the target record in the user location record table was not updated, indicating that each camera in the target area failed to capture within this time period
  • the image of the user corresponding to the target record, especially the face image can be considered that the user has left the target area, and there is no need to record the user's location information. After reducing the number of records in the user location record table, It can also improve the efficiency of searching for other user identification information and reduce search time.
  • the positioning information in the target record is not accurate, and secondly, as long as the user Walk around again, the camera will capture the image of the user, update the user location record table, and re-add the location information record corresponding to the user.
  • each record in the user location record table not only includes user identification information and user positioning results corresponding to the user identification information, but also includes the update time corresponding to the user positioning results, and further, according to the search for users
  • the search feedback result matching the user search request generated by the search result of the identification information may also include the update time corresponding to the user positioning result.
  • the target record after the update time in the target record in the user location record table differs from the current time by more than a set time period. At this point, it shows that no camera can capture the image of the user corresponding to the target record. It can be considered that the user has left the target area, or that the user has not left the target area, but the position cannot be obtained in the blind corner of each camera information.
  • FIG. 2 is a flowchart of a method for finding the location of a user provided in the second embodiment of the present application.
  • This embodiment is embodied on the basis of the above-mentioned embodiment, in which, according to the scene image captured by at least one camera in the target area in real time, Update the user location record table corresponding to the target area in real time, specifically:
  • the image position of the human head image in the scene image determine the human face image in the scene image, and the human face image is associated with the human head image
  • the user location record table corresponding to the target area is updated in real time.
  • the method of this embodiment may specifically include:
  • the input of the human head recognition model is the scene image captured by the camera in real time
  • the output is each human head image in the scene image
  • the user positioning result corresponding to each human head image
  • the coordinate position is determined, that is, there is a special correspondence between the user positioning result and the coordinate position of the human head image in the scene image.
  • the coordinate position of the human head image in the scene image is determined, and the user corresponding to the human head image is also determined Positioning results.
  • the user positioning result may be regional location information of the reference object in the scene image, or related information of the reference object, such as number information.
  • the training method of the head recognition model is as follows:
  • each human head image corresponding to the scene image and the user positioning result corresponding to each human head image can be obtained.
  • S220 Determine a face image in the scene image according to the image position of the head image in the scene image, where the face image is associated with the head image.
  • the image position of the human head image in the scene image can also be obtained by the human head recognition model. It is only necessary to add the image position information of the human head image in the scene image to the training sample when training the human head recognition module.
  • the facial image After determining the image position of the human head image in the scene image, the facial image is recognized by face recognition technology at the image position, and the recognized facial image is associated with the human head image at the image position to know Which user the head image is.
  • S220 may be specifically: acquiring a human head image sequentially as the first target processing image
  • the face image is associated with the first target processed image
  • each head image recognized by the head recognition model is analyzed in turn.
  • the scene image corresponding to the head image according to the image position of the head image (for example, the coordinate position) to determine the candidate face search area. If the face image can be recognized in the candidate face search area according to the face recognition technology, then the recognized face image is associated with the head image. That is, the head image is the user corresponding to the face image. If the face image cannot be recognized in the candidate face search area according to the face recognition technology, the next head image is obtained for analysis.
  • the candidate face search area is the area next to the image position of the human head image.
  • the specific area size can be set according to actual diligence, for example, the candidate person determined according to the position of the larger human head image in the scene image taken by the camera.
  • the range of the face search area is larger, and the range of the candidate face search area determined according to the smaller the position of the head image in the scene image taken by the camera is smaller.
  • S220 may also be specifically: acquiring a human head image sequentially as the first target processing image;
  • the face image is associated with the first target processed image
  • the pre-trained face recognition model is called to perform face recognition in the candidate face search area, where the face recognized by the face recognition model can be a positive face or a certain The profile of the deflection angle.
  • all the head images recognized by the head recognition model are analyzed to obtain the head image that can be successfully associated with the face image, and then the user positioning result corresponding to the head image is determined to correspond to the associated face image User positioning results.
  • a record in the user location record table includes: user identification information and a user positioning result corresponding to the user identification information.
  • the user identification information corresponding to the face image can be determined according to the correspondence between the face image recorded in the standard user library and the user identification information, and then the user identification information can be obtained.
  • the face image and/or user identification information of the user, and a set of data of the user positioning result, and then the user location record table can be updated in real time based on this set of data.
  • S230 may be specifically:
  • a new record is created and added to the user location record table according to the second target processed image and the user positioning result corresponding to the second target processed image.
  • the user's face image and/or user identification information, and the user location result When using the user's face image and/or user identification information, and the user location result to update the user location record table, first determine whether the face image or user identification information exists in the user location record table, and if there is a matching target Record, the user positioning result corresponding to the face image can be used to update the user positioning result in the target record. If there is no matching record, the face image and/or user identification information (specifically based on the user location The form of the user identification information in the record table is specifically set), and the corresponding user location result is added to the user location record as a set of new records.
  • S250 Generate a search feedback result that matches the user's search request according to the search result of searching for user identification information.
  • the human head image in the scene image captured by the camera in real time is first recognized, then the face recognition is performed near the position of the human head image, and the recognized face image is bound with the human head image, and then according to the face
  • the image recognizes which user the corresponding head image is, and then the user location record table can be updated in real time according to the recognized user identification information and the user positioning information corresponding to the head image, so that when the user has a user search request, Search in the user location record table that is updated in real time, and quickly and accurately generate feedback results, so that when users receive feedback results that contain user location information, they can quickly, conveniently and accurately find the corresponding user.
  • the data processing speed of the face image recognition first in the scene image and then the face image recognition near the head image is obviously faster. , Further improve the real-time update speed of the user location record table.
  • FIG. 3 is a flowchart of a method for finding the location of a user according to Embodiment 3 of the present application.
  • This embodiment provides a specific implementation manner, where the target area is a dining hall, and the user positioning result is the number of the user's nearest neighbor table information.
  • the method of this embodiment may specifically include:
  • S310 Input the scene image captured by at least one camera in the canteen in real time into the pre-trained head recognition model, and obtain the head image output by the head recognition model and the image position of the head image in the scene image.
  • cameras can be installed only at the entrance and exit of the canteen and on the four corners of the canteen to capture images of all users in the canteen, thereby reducing the hardware cost of this embodiment.
  • S320 Determine the number information of the nearest dining table corresponding to the human head image according to the image position of the human head image in the scene image.
  • the table recognition is performed near the image position, and the position information of the recognized multiple dining tables is compared with the position information of the human head image. Further determine the table image closest to the head image, and then perform character recognition on the number information included in the table image. As a result, this is the closest neighbor to the head image, which is the number of the table closest to the user The information is used as the user positioning result corresponding to the head image.
  • S330 Determine a face image in the scene image according to the image position of the head image in the scene image, where the face image is associated with the head image.
  • a record in the user location record table includes: user identification information and the number information of the nearest neighbor dining table corresponding to the user identification information.
  • the number information of the nearest neighbor dining table corresponding to the face image is the number information of the nearest neighbor dining table corresponding to the face image.
  • the face image or the user identification information corresponding to the face image exists in the user location record table. If there is a matching target record, you can use the number information of the nearest neighbor dining table corresponding to the face image to the target record The number information of the nearest neighbor dining table is updated. If there is no matching record, the face image and/or user identification information (specifically can be set according to the form of user identification information in the user location record table), and The number information of the corresponding nearest neighbor dining table is added to the user location record as a set of new records.
  • a search feedback result that matches the user's search request is generated according to the number information of the nearest neighbor dining table recorded in the user location record table corresponding to the search user identification information, for example The XX user is located near the xx table.
  • the user location record table If the user identification information is not found in the user location record table, the user location cannot be found as a search feedback result matching the user search request, for example, the location information of the XX user is not found.
  • the above technical solution enables users to find people in the canteen quickly, efficiently and conveniently, and solves the problem of wasting time in finding people. Even if the canteen is large, people can be found quickly. Moreover, only cameras need to be installed at the entrance and exit of the canteen and at the four corners, which reduces the cost.
  • Figure 4 is a schematic structural diagram of a user location search device provided by this embodiment, which can be applied to a situation where a user wants to find a companion after leaving a companion at a target place.
  • the device can be implemented by software and/or hardware.
  • a computer device such as a computer device that establishes a communication connection with multiple cameras in the target location.
  • the device specifically includes:
  • the user location record table real-time update module 410 is configured to update the user location record table corresponding to the target area in real time according to the scene image captured by at least one camera in the target area in real time, wherein one record in the user location record table Including: user identification information and user positioning results corresponding to the user identification information;
  • the user location search module 420 is configured to obtain a user location search request corresponding to the target area, and search in the user location record table according to the search user identification information included in the user location search request;
  • the search feedback result generation module 430 is configured to generate a search feedback result matching the user search request according to the search result of the search user identification information.
  • the user location record table corresponding to the target area is updated in real time according to the scene image captured by at least one camera in the target area.
  • the user location record table records the location result of the user in the target area.
  • the user location record table is searched for the user identification information included in the user location search request, and a feedback result of the user location search request is generated according to the search result.
  • the user location record table real-time update module 410 includes: a head recognition unit, a head and face association unit, and a user location record table update unit, where
  • a human head recognition unit configured to input scene images captured by at least one camera in the target area in real time into a pre-trained human head recognition model, and obtain a human head image output by the human head recognition model and a user corresponding to the human head image Positioning result
  • a human head and human face associating unit configured to determine a human face image in the scene image according to the image position of the human head image in the scene image, and the human face image is associated with the human head image;
  • the user location record table update unit is configured to update the user location record table corresponding to the target area in real time according to the determined face image and the user positioning result corresponding to the face image.
  • the head and face association unit specifically includes: a head image acquisition subunit, a candidate face search area determination subunit, a head and face association subunit, and a first loop processing subunit, wherein,
  • the human head image acquisition sub-unit is set to acquire one human head image in turn, and process the image as the first target;
  • a candidate face search area determination subunit configured to determine the candidate face search area in the scene image corresponding to the first target processed image according to the image position of the first target processed image;
  • the human head and human face association subunit is configured to associate the human face image with the first target processed image if it is determined that a human face image is recognized in the candidate face search area;
  • the first loop processing sub-unit is set to return to perform the operation of sequentially acquiring a human head image and processing the image as the first target until the processing of all human head images is completed.
  • the head and face association subunit is configured to: if a pre-trained face recognition model is called to recognize a face image in the candidate face search area, then the face image will be combined with the first face image.
  • a target handles image association.
  • the user identification information in the user location record table includes: a face image, and/or user identification information; wherein the correspondence between the face image and the user identification information is pre-established The standard user library is determined.
  • the user location record table update unit specifically includes:
  • the face image acquisition subunit is set to sequentially acquire a determined face image as the second target processed image
  • the user location record table update subunit is configured to determine whether the user location record table stores a target record including the second target processed image, or user identification information corresponding to the second target processed image; if so, Update the target record according to the second target processed image and the user positioning result corresponding to the second target processed image; if not, update the target record according to the second target processed image and the second target processed image
  • the corresponding user location result creates a new record and adds it to the user location record table.
  • the user location record table real-time update module 410 further includes: a record deletion unit configured to: if the user location record table is not recorded according to the scene image captured in real time by at least one camera in the target area within a set time period If the target record in is updated, the target record is deleted.
  • the search feedback result generation module 430 specifically includes: a first feedback generation unit and a second feedback generation unit, wherein:
  • the first feedback generating unit is configured to, if the search user identification information is searched in the user location record table, generate according to the user positioning result recorded in the user location record table corresponding to the search user identification information A search feedback result that matches the user search request;
  • the second feedback generating unit is configured to, if the search user identification information is not searched in the user location record table, the user location cannot be found as a search feedback result that matches the user search request.
  • the target area includes: a canteen; and the user positioning result includes: the number information of the table closest to the user.
  • the above-mentioned user location searching device can execute the user location searching method provided in any embodiment of the present application, and has the corresponding functional modules and beneficial effects for executing the user location searching method.
  • Figure 5 shows a block diagram of an exemplary computer device 12 suitable for implementing embodiments of the present application.
  • the computer device 12 shown in FIG. 5 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present application.
  • the computer device 12 takes the form of a general-purpose computing device.
  • the components of the computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 connecting different system components (including the system memory 28 and the processing unit 16).
  • the bus 18 represents one or more of several types of bus structures, including a memory bus or a memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any bus structure among multiple bus structures.
  • these architectures include but are not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and peripheral component interconnection ( PCI) bus.
  • ISA industry standard architecture
  • MAC microchannel architecture
  • VESA Video Electronics Standards Association
  • PCI peripheral component interconnection
  • the computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer device 12, including volatile and non-volatile media, removable and non-removable media.
  • the system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32.
  • the computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media.
  • the storage system 34 may be used to read and write non-removable, non-volatile magnetic media (not shown in FIG. 5, and generally referred to as a "hard drive").
  • a disk drive for reading and writing to a removable non-volatile disk such as a "floppy disk”
  • a removable non-volatile disk such as CD-ROM, DVD-ROM
  • other optical media read and write optical disc drives.
  • each drive can be connected to the bus 18 through one or more data media interfaces.
  • the memory 28 may include at least one program product, the program product having a set (for example, at least one) program modules, and these program modules are configured to perform the functions of the embodiments of the present application.
  • a program/utility tool 40 having a set of (at least one) program module 42 may be stored in, for example, the memory 28.
  • Such program module 42 includes but is not limited to an operating system, one or more application programs, other program modules, and program data Each of these examples or some combination may include the implementation of a network environment.
  • the program module 42 usually executes the functions and/or methods in the embodiments described in this application.
  • the computer device 12 can also communicate with one or more external devices 14 (such as keyboards, pointing devices, displays 24, etc.), and can also communicate with one or more devices that enable users to interact with the computer device 12, and/or communicate with Any device (such as a network card, modem, etc.) that enables the computer device 12 to communicate with one or more other computing devices. This communication can be performed through an input/output (I/O) interface 22.
  • the computer device 12 may also communicate with one or more networks (for example, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through the network adapter 20. As shown in FIG. 5, the network adapter 20 communicates with other modules of the computer device 12 through the bus 18.
  • LAN local area network
  • WAN wide area network
  • public network such as the Internet
  • the processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, such as implementing the user location search method provided in the embodiments of the present application. That is, when the processing unit executes the program:
  • the user location record table corresponding to the target area is updated in real time, wherein a record in the user location record table includes: user identification information and user identification information The user positioning result corresponding to the identification information;
  • a search feedback result that matches the user search request is generated.
  • This embodiment provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the method for searching the user location as provided in all embodiments of the present application is implemented. That is, when the program is executed by the processor:
  • the user location record table corresponding to the target area is updated in real time, wherein a record in the user location record table includes: user identification information and user identification information The user positioning result corresponding to the identification information;
  • a search feedback result that matches the user search request is generated.
  • the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium.
  • the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), Erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • the computer-readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, apparatus, or device.
  • the computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and computer-readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium.
  • the computer-readable medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
  • the computer program code used to perform the operations of the present application can be written in one or more programming languages or a combination thereof.
  • the programming languages include object-oriented programming languages-such as Java, Smalltalk, C++, and also conventional Procedural programming language-such as "like" language or similar programming language.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network-including a local area network (LAN) or a wide area network (WAN) domain, or it can be connected to an external computer (for example, using an Internet service provider to pass Internet connection).
  • LAN local area network
  • WAN wide area network

Abstract

A user location lookup method and apparatus, a device and a medium. The method comprises: updating, according to a scene image captured by a camera in a target area in real time, a user location record table corresponding to the target area in real time, wherein the user location record table comprises user identification information and a user positioning result corresponding to the user identification information; obtaining a user location lookup request corresponding to the target area, and searching in the user location recording table according to lookup user identification information included in the user location lookup request; and generating a lookup feedback result according to the search result for the lookup user identification information. By means of the technical solution above, a user can quickly, efficiently and conveniently find positioning information of other users needing to be found in a fixed area (such as a closed area), and then can directly find other users according to the found positioning information; therefore, the finding efficiency is significantly improved, and the problem of low finding efficiency by human eyes is solved.

Description

用户位置的查找方法、装置、设备及介质Method, device, equipment and medium for searching user location
本申请要求在2019年3月20日提交中国专利局、申请号为201910213278.X的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office with application number 201910213278.X on March 20, 2019, and the entire content of this application is incorporated into this application by reference.
技术领域Technical field
本申请实施例涉及图像处理技术领域,例如涉及一种用户位置的查找方法、装置、设备及介质。The embodiments of the present application relate to the field of image processing technology, for example, to a method, device, device, and medium for finding the location of a user.
背景技术Background technique
结伴出行,不管是去食堂吃饭,还是去室内景点参观,是大多数人的选择,但是当场地较大,人数较多时,结伴同行的人们容易被冲散。Traveling in groups, whether it is to eat in the cafeteria or to visit indoor attractions, is the choice of most people, but when the venue is large and the number of people is large, the people traveling together are easy to be washed away.
例如,和同事、朋友一起结伴去食堂吃饭时,通常会各自分头选购餐食,选餐完成后希望和小伙伴们坐到同一桌子上吃饭,如果食堂较大、人数较多、餐桌也较多,则不容易找到其他小伙伴们在哪里,尤其是,在无法与小伙伴们通信(未携带手机或是环境嘈杂导致对方未听到来电等)时,只能靠人眼去观察找人了。然而,人眼找人的效率很低,还存在找不到的可能,严重影响了用户的心情。For example, when going to a cafeteria with colleagues and friends for dinner, they will usually purchase meals separately. After the meal is selected, I hope to sit at the same table with my friends. If the cafeteria is larger, the number of people is large, and the table is also If there are more, it is not easy to find where other friends are, especially when you can’t communicate with your friends (not carrying a mobile phone or the environment is noisy and the other party does not hear the call, etc.), you can only rely on human eyes to observe and find People. However, the efficiency of human eyes to find people is very low, and there is still the possibility of not being found, which seriously affects the mood of users.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this article. This summary is not intended to limit the scope of protection of the claims.
本申请实施例提供了一种用户位置的查找方法、装置、设备及介质,以提高用户在固定区域内寻找其他同伴的效率,解决人眼寻找同伴效率低的问题。The embodiments of the present application provide a method, device, device, and medium for finding a user's location, so as to improve the efficiency of a user in finding other companions in a fixed area, and solve the problem of low efficiency of human eyes in finding a companion.
第一方面,本申请实施例提供了一种用户位置的查找方法,包括:In the first aspect, an embodiment of the present application provides a method for finding a user location, including:
根据目标区域内至少一个摄像头实时捕捉的场景图像,实时更新与所述目标区域对应的用户位置记录表,其中,所述用户位置记录表中的一条记录包括:用户识别信息、以及与所述用户识别信息对应的用户定位结果;According to the scene image captured by at least one camera in the target area in real time, the user location record table corresponding to the target area is updated in real time, wherein a record in the user location record table includes: user identification information and user identification information The user positioning result corresponding to the identification information;
获取与所述目标区域对应的用户位置查找请求,并根据所述用户位置查找请求中包括的查找用户识别信息,在所述用户位置记录表中进行搜索;Acquiring a user location search request corresponding to the target area, and searching in the user location record table according to the search user identification information included in the user location search request;
根据对所述查找用户识别信息的搜索结果,生成与所述用户查找请求匹配的查找反馈结果。According to the search result of the search user identification information, a search feedback result that matches the user search request is generated.
第二方面,本申请实施例还提供了一种用户位置的查找装置,包括:In the second aspect, an embodiment of the present application also provides an apparatus for finding a user location, including:
用户位置记录表实时更新模块,用于根据目标区域内至少一个摄像头实时 捕捉的场景图像,实时更新与所述目标区域对应的用户位置记录表,其中,所述用户位置记录表中的一条记录包括:用户识别信息、以及与所述用户识别信息对应的用户定位结果;The user location record table real-time update module is used to update the user location record table corresponding to the target area in real time according to the scene image captured by at least one camera in the target area, wherein one record in the user location record table includes : User identification information, and user positioning results corresponding to the user identification information;
用户位置查找模块,用于获取与所述目标区域对应的用户位置查找请求,并根据所述用户位置查找请求中包括的查找用户识别信息,在所述用户位置记录表中进行搜索;The user location search module is configured to obtain a user location search request corresponding to the target area, and search in the user location record table according to the search user identification information included in the user location search request;
查找反馈结果生成模块,用于根据对所述查找用户识别信息的搜索结果,生成与所述用户查找请求匹配的查找反馈结果。The search feedback result generation module is configured to generate a search feedback result that matches the user search request according to the search result of the search user identification information.
第三方面,本申请实施例还提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如本申请任意实施例所述的用户位置的查找方法。In the third aspect, the embodiments of the present application also provide a computer device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor. When the processor executes the program, the implementation is as follows: The method for finding the location of the user described in any embodiment.
第四方面,本申请实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本申请任意实施例所述的用户位置的查找方法。In a fourth aspect, an embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the method for searching the user location as described in any embodiment of the present application is implemented.
本申请实施例提供的一种用户位置的查找方法、装置、设备及介质,根据目标区域内至少一个摄像头实时捕捉的场景图像,实时更新与目标区域对应的用户位置记录表,该用户位置记录表中记录中目标区域内对用户的定位结果,当接收到与目标区域对应的用户位置查找请求时,在用户位置记录表中搜索用户位置查找请求中包括的查找用户识别信息,根据搜索结果生成对用户位置查找请求的反馈结果。通过上述技术方案,用户可以在一个固定区域(典型的,封闭区域)内,快速、高效、便捷地查询到需要寻找的其他用户的定位信息,进而可以根据查询到的定位信息直接去找人,明显地提高了找人效率,解决了人眼找人效率低的问题。The method, device, device, and medium for searching the user location provided by the embodiments of the present application update the user location record table corresponding to the target area in real time according to the scene image captured by at least one camera in the target area in real time. The user location record table The location result of the user in the target area in the record. When a user location search request corresponding to the target area is received, the user location record table is searched for the user identification information included in the user location search request, and the search result is generated. The feedback result of the user location search request. Through the above technical solutions, users can quickly, efficiently and conveniently query the location information of other users that need to be found in a fixed area (typically closed area), and then can directly find people based on the queried location information. Significantly improves the efficiency of finding people, and solves the problem of low efficiency in finding people.
在阅读并理解了附图和详细描述后,可以明白其他方面。After reading and understanding the drawings and detailed description, other aspects can be understood.
附图说明Description of the drawings
图1是本申请实施例一中的一种用户位置的查找方法的流程图;Fig. 1 is a flowchart of a method for finding a user location in Embodiment 1 of the present application;
图2是本申请实施例二中的一种用户位置的查找方法的流程图;2 is a flowchart of a method for finding a user location in Embodiment 2 of the present application;
图3是本申请实施例三中的一种用户位置的查找方法的流程图;FIG. 3 is a flowchart of a method for finding the location of a user in Embodiment 3 of the present application;
图4是本申请实施例四中的一种用户位置的查找装置的结构示意图;FIG. 4 is a schematic structural diagram of an apparatus for finding a user location in Embodiment 4 of the present application;
图5是本申请实施例五中的一种计算机设备的结构示意图。FIG. 5 is a schematic structural diagram of a computer device in Embodiment 5 of the present application.
具体实施方式detailed description
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本申请,而非对本申请的限定。另外还需 要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部结构。The application will be further described in detail below with reference to the drawings and embodiments. It is understandable that the specific embodiments described here are only used to explain the application, but not to limit the application. In addition, it should be noted that, for ease of description, the drawings only show a part of the structure related to the present application instead of all of the structure.
实施例一Example one
图1是本实施例提供的一种用户位置的查找方法的流程图,可适用于用户在目标场所与同伴走散后想要寻找同伴的情况,该方法可以由本申请实施例提供的用户位置的查找装置来执行,该装置可采用软件和/或硬件的方式实现。如图1所示,本实施例的方法具体包括:FIG. 1 is a flowchart of a method for finding a user's location provided by this embodiment, which is applicable to a situation where a user wants to find a companion after leaving a companion at a target location. This method can be determined by the user's location provided by the embodiment of this application. The search device is executed, and the device can be implemented by software and/or hardware. As shown in Fig. 1, the method of this embodiment specifically includes:
S110、根据目标区域内至少一个摄像头实时捕捉的场景图像,实时更新与目标区域对应的用户位置记录表,其中,所述用户位置记录表中的一条记录包括:用户识别信息、以及与所述用户识别信息对应的用户定位结果。S110. According to the scene image captured by at least one camera in the target area in real time, update the user location record table corresponding to the target area in real time, wherein a record in the user location record table includes: user identification information and information related to the user The user positioning result corresponding to the identification information.
目标区域,指的是用户想要寻找同伴或其他用户的固定区域,可以是室内区域,也可以是室外区域。通常,该固定区域的面积较大,不便于寻人,例如是面积较大的景区、展览厅、餐厅等,其中,该固定区域中安装有至少一个摄像头,用于拍摄处于该目标区域内的场景图像,当人位于摄像头的拍摄范围内时,摄像头拍摄的场景图像中包括人的影像。例如,当目标区域为例如食堂之类的长方形室内区域时,可以仅在目标区域的出入口以及目标区域的四角安装摄像头(典型的,高清摄像头),来拍摄目标区域内的场景图像。The target area refers to the fixed area where the user wants to find companions or other users. It can be an indoor area or an outdoor area. Generally, the fixed area has a large area and is not convenient for tracing people, such as large scenic spots, exhibition halls, restaurants, etc., where at least one camera is installed in the fixed area to take pictures of people in the target area. Scene image. When a person is within the shooting range of the camera, the scene image shot by the camera includes the image of the person. For example, when the target area is a rectangular indoor area such as a canteen, cameras (typically, high-definition cameras) may be installed only at the entrance and exit of the target area and the four corners of the target area to capture scene images in the target area.
用户位置记录表,记录的是位于目标区域内、能够被摄像头拍摄到的人的定位信息,且用户位置记录表中记录的人的定位信息是根据摄像头实时捕捉的场景图像更新的,也即,随着人在目标区域内的移动,摄像头拍摄实时捕捉的场景图像也就不同,进而根据摄像头拍摄实时捕捉的场景图像确定的人的定位信息也会发生变化。The user location record table records the location information of people who are located in the target area and can be captured by the camera, and the location information of the people recorded in the user location record table is updated based on the scene image captured by the camera in real time, that is, As the person moves in the target area, the real-time captured scene image captured by the camera is also different, and the location information of the person determined according to the real-time captured scene image captured by the camera also changes.
值得指出的是,由于目标区域内的摄像头是固定安装的,所以每个摄像头捕捉的场景图像中的每个区域均对应着目标区域中的一个实际区域,根据人的影像在场景图像中的区域位置即可确定这个人在目标区域内的实际区域位置。具体的,确定的查找用户在目标区域内的实际区域位置,可以是场景图像中参照物的区域位置信息,或是参照物的相关信息,例如是编号信息。It is worth pointing out that since the cameras in the target area are fixedly installed, each area in the scene image captured by each camera corresponds to an actual area in the target area. According to the area of the human image in the scene image The location can determine the actual location of the person in the target area. Specifically, the determined actual area location of the search user in the target area may be area location information of the reference object in the scene image, or related information of the reference object, such as number information.
其中,用户位置记录表中每条记录信息包括用户识别信息以及与用户识别信息对应的用户定位结果,也即用户识别信息与用户定位结果成对出现。Among them, each piece of record information in the user location record table includes user identification information and a user positioning result corresponding to the user identification information, that is, the user identification information and the user positioning result appear in pairs.
在一实施例中,用户位置记录表中的用户识别信息可以是人脸图像,和/或用户标识信息,其中,人脸图像与用户标识信息之间的对应关系通过预先建立的标准用户库确定。In one embodiment, the user identification information in the user location record table may be a face image and/or user identification information, wherein the correspondence between the face image and the user identification information is determined by a pre-established standard user library .
用户识别信息是用于识别用户的唯一标识信息,用户识别信息可以是用户标识信息,例如是身份证号等,典型的,以目标区域为某公司的专用场所为例, 前往这个目标区域的人都是该公司的员工,那么用户标识信息可以是员工工号;用户识别信息还可以是用户的人脸图像,该人脸图像可以是标准用户库中存储的用户的标准人脸图像,也可以是在摄像头实时捕捉的场景图像中抓取的一张人脸图像;用户识别信息还可以是用户标识信息和对应的人脸图像的组合。User identification information is the unique identification information used to identify the user. User identification information can be user identification information, such as an ID number. Typically, taking the target area as a company’s special place as an example, people who go to this target area If they are all employees of the company, the user identification information can be the employee ID; the user identification information can also be the user’s face image, which can be the standard face image of the user stored in the standard user library, or It is a face image captured in the scene image captured by the camera in real time; the user identification information can also be a combination of user identification information and the corresponding face image.
目标区域内的摄像头实时捕捉场景图像,例如是每5秒捕获一张场景图像,场景图像中的人的影像的位置可能发生变化,可能不发生变化,当摄像头实时捕捉的场景图像中人的影像的位置发生变化时,例如是,场景图像中人的影像在移动,或者是,有新的人的影像进入到场景图像中,根据人的影像在场景图像中的实时区域位置确定这个人在目标区域内的实际区域位置后,对用户位置记录表中目标记录的用户定位结果进行实时更新,以使用户位置记录表中记录的用户定位结果始终是根据最新捕捉的场景图像确定的。当摄像头实时捕捉的场景图像中人的影像的位置未发生变化时,也是会执行根据该场景图像实时更新用户位置记录表的,只是用户位置记录表中相应的目标记录未发生变化而已。The camera in the target area captures the scene image in real time. For example, it captures a scene image every 5 seconds. The position of the image of the person in the scene image may or may not change. When the camera captures the image of the person in the scene image in real time When the position of the person changes, for example, the image of a person in the scene image is moving, or an image of a new person enters the scene image, and the person is at the target according to the real-time location of the person’s image in the scene image After the actual area location within the area, the user location result recorded in the target record in the user location record table is updated in real time, so that the user location result recorded in the user location record table is always determined based on the latest captured scene image. When the position of the person's image in the scene image captured by the camera in real time has not changed, the user location record table will be updated in real time based on the scene image, but the corresponding target record in the user location record table has not changed.
S120、获取与目标区域对应的用户位置查找请求,并根据用户位置查找请求中包括的查找用户识别信息,在用户位置记录表中进行搜索。S120: Obtain a user location search request corresponding to the target area, and search in the user location record table according to the search user identification information included in the user location search request.
当用户具有在目标区域范围内查找其他用户定位信息的用户位置查找请求时,发送包括查找用户识别信息的用户位置查找请求,其中,查找用户识别信息可以是用户人脸图像,例如是手机中存储的包括查找用户的人脸图像的照片,还可以是用户标识信息,例如是查找用户的身份证号,或是查找用户的员工工号(针对查找用户为同事的情况)等。When the user has a user location search request to find other user location information within the target area, the user location search request including the search user identification information is sent, where the search user identification information may be a user's face image, such as stored in a mobile phone It includes looking up the photo of the user's face image, and it can also be user identification information, such as looking up the user's ID number, or looking up the user's employee ID (for the case where the user is a colleague).
例如,可以根据本实施例提供的用户位置的查找方法开发手机APP(Application,应用程序),当用户具有在目标区域范围内查找其他用户定位信息的用户位置查找请求时,在手机APP中的用户定位信息查询入口输入用户位置查找请求后,等待手机APP返回的查找反馈结果。For example, a mobile phone APP (Application, application program) can be developed according to the user location search method provided in this embodiment. When the user has a user location search request to find other user location information within the target area, the user in the mobile phone APP After the location information query portal enters the user location search request, it waits for the search feedback result returned by the mobile APP.
值得指出的是,手机APP可以只对应一个目标区域,也可以对应多个目标区域,当对应多个目标区域时,用户在输入用户位置查找请求之前,需要先选则需要查询的目标区域范围。It is worth pointing out that the mobile APP can correspond to only one target area or multiple target areas. When corresponding to multiple target areas, the user needs to select the target area range that needs to be queried before entering the user location search request.
当系统接收到用户发起的目标区域范围内的用户位置查找请求时,分析用户位置查找请求中包括的查找用户识别信息,然后在用户位置记录表中搜索,用户位置记录表中是否包括查找用户识别信息的目标记录。如果用户位置查找请求中包括的查找用户识别信息是用户标识信息,则在用户位置记录表中搜索查找用户的用户标识信息;如果用户位置查找请求中包括的查找用户识别信息是用户人脸图像,则在用户位置记录表中搜索查找用户的用户人脸图像。When the system receives a user location search request within the target area initiated by the user, it analyzes the search user identification information included in the user location search request, and then searches in the user location record table, whether the user location record table includes the search user identification The target record of the information. If the search user identification information included in the user location search request is user identification information, search for the user identification information of the user in the user location record table; if the search user identification information included in the user location search request is the user's face image, Then search for the user's face image of the user in the user location record table.
S130、根据对查找用户识别信息的搜索结果,生成与用户查找请求匹配的查找反馈结果。S130. Generate a search feedback result that matches the user's search request according to the search result of searching for user identification information.
如果在用户位置记录表中搜索到查找用户识别信息,则根据用户位置记录表中记录的与查找用户识别信息对应的用户定位结果生成与用户查找请求匹配的查找反馈结果;如果在用户位置记录表中未搜索到查找用户识别信息,则将无法查找到用户位置作为与用户查找请求匹配的查找反馈结果。If the user identification information is searched in the user location record table, a search feedback result that matches the user search request is generated according to the user location result recorded in the user location record table corresponding to the search user identification information; if the user location record table is If the user identification information is not found in the search, the user location cannot be found as the search feedback result matching the user search request.
当在用户位置记录表中能够搜索到查找用户识别信息时,则获取用户位置记录表中与查找用户识别信息对应的目标记录,将目标记录中的用户定位结果作为查找反馈结果进行反馈;当在用户位置记录表中不能搜索到查找用户识别信息时,则无法返回查找用户的用户定位结果,只能反馈例如“无法查找到用户位置”之类的反馈结果,此种情况下,可能是该查找用户未在目标区域内,也可能是每个摄像头都未能成功捕捉到该查找用户的影像,尤其是人脸图像。When the user identification information can be searched in the user location record table, the target record corresponding to the search user identification information in the user location record table is obtained, and the user location result in the target record is used as the search feedback result for feedback; When the user identification information cannot be searched in the user location record table, the user location result of the search user cannot be returned, and only feedback results such as "user location cannot be found" can be fed back. In this case, it may be the search The user is not in the target area, or each camera failed to successfully capture the image of the searching user, especially the face image.
本申请实施例中,根据目标区域内至少一个摄像头实时捕捉的场景图像,实时更新与目标区域对应的用户位置记录表,该用户位置记录表中记录中目标区域内对用户的定位结果,当接收到与目标区域对应的用户位置查找请求时,在用户位置记录表中搜索用户位置查找请求中包括的查找用户识别信息,根据搜索结果生成对用户位置查找请求的反馈结果。通过上述技术方案,用户可以在一个固定区域(例如封闭区域)内,快速、高效、便捷地查询到需要寻找的其他用户的定位信息,进而可以根据查询到的定位信息直接去找人,明显地提高了找人效率,解决了人眼找人效率低的问题。In the embodiment of the present application, the user location record table corresponding to the target area is updated in real time according to the scene image captured by at least one camera in the target area. The user location record table records the location result of the user in the target area. When the user location search request corresponding to the target area is reached, the user location record table is searched for the user identification information included in the user location search request, and a feedback result of the user location search request is generated according to the search result. Through the above technical solutions, users can quickly, efficiently and conveniently query the location information of other users that they need to find in a fixed area (such as a closed area), and then can directly find people based on the queried location information. Obviously Improve the efficiency of finding people, and solve the problem of low efficiency in finding people.
在上述技术方案的基础上,根据目标区域内至少一个摄像头实时捕捉的场景图像,实时更新与所述目标区域对应的用户位置记录表时,还可以执行如下操作:如果在设定时间段内根据目标区域内至少一个摄像头实时捕捉的场景图像未对用户位置记录表中的目标记录进行更新,则删除目标记录。On the basis of the above technical solution, according to the scene image captured by at least one camera in the target area in real time, when the user location record table corresponding to the target area is updated in real time, the following operations can also be performed: The scene image captured by at least one camera in the target area in real time does not update the target record in the user location record table, then the target record is deleted.
当用户位置记录表中的目标记录超过设定时间段(例如为两个小时,具体可以根据实际情况进行设置)未更新,则将该目标记录删除。根据每个摄像头实时捕捉的场景图像,在设定时间段内,均未能对用户位置记录表中的目标记录进行更新,表明目标区域内的每个摄像头在这时间段内均未能捕捉到与目标记录对应的用户的影像,尤其是人脸图像,也就可以认为该用户已经离开了目标区域,无需对该用户的定位信息进行记录了,减少了用户位置记录表中的记录数量之后,也可以提高对其他查找用户识别信息的搜索效率,减少搜索时间。即使,该用户未离开目标区域,仅是在每个摄像头的死角无法被任一个摄像头捕捉到影像,删除目标记录也不会产生影响,首先目标记录中的定位信息已不准确,其次只要该用户重新走动,摄像头就会捕捉到该用户的影像,使用户位置记录表更新,重新添加与该用户对应的定位信息记录。When the target record in the user location record table exceeds the set time period (for example, two hours, which can be specifically set according to the actual situation) and is not updated, the target record is deleted. According to the scene image captured by each camera in real time, within the set time period, the target record in the user location record table was not updated, indicating that each camera in the target area failed to capture within this time period The image of the user corresponding to the target record, especially the face image, can be considered that the user has left the target area, and there is no need to record the user's location information. After reducing the number of records in the user location record table, It can also improve the efficiency of searching for other user identification information and reduce search time. Even if the user does not leave the target area, only the blind spot of each camera cannot be captured by any camera, deleting the target record will not have an impact. First, the positioning information in the target record is not accurate, and secondly, as long as the user Walk around again, the camera will capture the image of the user, update the user location record table, and re-add the location information record corresponding to the user.
在一实施例中,用户位置记录表中的每条记录不仅包括用户识别信息以及与所述用户识别信息对应的用户定位结果,还包括与用户定位结果对应的更新 时间,进而,根据对查找用户识别信息的搜索结果生成的与用户查找请求匹配的查找反馈结果中也可以包括与用户定位结果对应的更新时间。In an embodiment, each record in the user location record table not only includes user identification information and user positioning results corresponding to the user identification information, but also includes the update time corresponding to the user positioning results, and further, according to the search for users The search feedback result matching the user search request generated by the search result of the identification information may also include the update time corresponding to the user positioning result.
例如,也可以在用户位置记录表中的目标记录中的更新时间与当前时间相差超过设定时间段后,删除目标记录。此时表明,没有任何摄像头能够捕捉到与目标记录对应的用户的影像,可以认为该用户已经离开了目标区域,或是认为该用户未离开目标区域,但在每个摄像头的死角无法获取其定位信息。For example, it is also possible to delete the target record after the update time in the target record in the user location record table differs from the current time by more than a set time period. At this point, it shows that no camera can capture the image of the user corresponding to the target record. It can be considered that the user has left the target area, or that the user has not left the target area, but the position cannot be obtained in the blind corner of each camera information.
实施例二Example two
图2是本申请实施例二提供的一种用户位置的查找方法的流程图,本实施例以上述实施例为基础进行具体化,其中,将根据目标区域内至少一个摄像头实时捕捉的场景图像,实时更新与目标区域对应的用户位置记录表,具体为:FIG. 2 is a flowchart of a method for finding the location of a user provided in the second embodiment of the present application. This embodiment is embodied on the basis of the above-mentioned embodiment, in which, according to the scene image captured by at least one camera in the target area in real time, Update the user location record table corresponding to the target area in real time, specifically:
将目标区域内至少一个摄像头实时捕捉的场景图像输入至预先训练的人头识别模型中,获取人头识别模型输出的人头图像,以及与人头图像对应的用户定位结果;Input the scene image captured by at least one camera in the target area in real time into the pre-trained head recognition model, and obtain the head image output by the head recognition model and the user positioning result corresponding to the head image;
根据人头图像在场景图像中图像位置,在场景图像中确定人脸图像,人脸图像与人头图像关联;According to the image position of the human head image in the scene image, determine the human face image in the scene image, and the human face image is associated with the human head image;
根据确定出的人脸图像,以及与人脸图像对应的用户定位结果,实时更新与目标区域对应的用户位置记录表。According to the determined face image and the user positioning result corresponding to the face image, the user location record table corresponding to the target area is updated in real time.
如图2所示,本实施例的方法具体可以包括:As shown in Figure 2, the method of this embodiment may specifically include:
S210、将目标区域内至少一个摄像头实时捕捉的场景图像输入至预先训练的人头识别模型中,获取人头识别模型输出的人头图像,以及与人头图像对应的用户定位结果。S210. Input the scene image captured by at least one camera in the target area in real time into a pre-trained head recognition model, and obtain a head image output by the head recognition model and a user positioning result corresponding to the head image.
人头识别模型的输入是摄像头实时捕捉的场景图像,输出是场景图像中的每个人头图像,以及与每个人头图像对应的用户定位结果,其中,用户定位结果是根据人头图像在场景图像中的坐标位置确定的,也即用户定位结果与人头图像在场景图像中的坐标位置是有专门的对应关系的,确定了人头图像在场景图像中的坐标位置,也就确定了与人头图像对应的用户定位结果。The input of the human head recognition model is the scene image captured by the camera in real time, and the output is each human head image in the scene image, and the user positioning result corresponding to each human head image, where the user positioning result is based on the human head image in the scene image The coordinate position is determined, that is, there is a special correspondence between the user positioning result and the coordinate position of the human head image in the scene image. The coordinate position of the human head image in the scene image is determined, and the user corresponding to the human head image is also determined Positioning results.
在一实施例中,用户定位结果可以是场景图像中参照物的区域位置信息,或是参照物的相关信息,例如是编号信息。In an embodiment, the user positioning result may be regional location information of the reference object in the scene image, or related information of the reference object, such as number information.
其中,人头识别模型的训练方法如下:Among them, the training method of the head recognition model is as follows:
1)获取样本场景图像、样本场景图像中的每个人头图像以及与样本场景图像中的每个人头图像对应的用户定位结果。1) Obtain a sample scene image, each head image in the sample scene image, and a user positioning result corresponding to each head image in the sample scene image.
2)将样本场景图像、样本场景图像中的每个人头图像以及与样本场景图像中的每个人头图像对应的用户定位结果对应作为一组训练样本。2) The sample scene image, each human head image in the sample scene image, and the user positioning result corresponding to each human head image in the sample scene image are corresponded as a set of training samples.
3)采用大量的训练样本,对标准识别模型(例如是原始机器学习模型)进 行训练,生成人头识别模型。3) A large number of training samples are used to train standard recognition models (such as original machine learning models) to generate a head recognition model.
进而,将摄像头实时捕捉的场景图像输入至人头识别模型中,可以得到与场景图像对应的每个人头图像,以及与每个人头图像分别对应的用户定位结果。Furthermore, by inputting the scene image captured by the camera in real time into the human head recognition model, each human head image corresponding to the scene image and the user positioning result corresponding to each human head image can be obtained.
S220、根据人头图像在场景图像中图像位置,在场景图像中确定人脸图像,所述人脸图像与所述人头图像关联。S220: Determine a face image in the scene image according to the image position of the head image in the scene image, where the face image is associated with the head image.
人头图像在场景图像中的图像位置,例如是坐标位置,也可以通过人头识别模型得出,只需训练人头识别模块时在训练样本中添加人头图像在场景图像中的图像位置信息即可。The image position of the human head image in the scene image, such as the coordinate position, can also be obtained by the human head recognition model. It is only necessary to add the image position information of the human head image in the scene image to the training sample when training the human head recognition module.
确定了人头图像在场景图像中的图像位置之后,在该图像位置之处通过人脸识别技术识别人脸图像,将识别出的人脸图像与该图像位置处的人头图像关联起来,即可获知该人头图像是哪个用户。After determining the image position of the human head image in the scene image, the facial image is recognized by face recognition technology at the image position, and the recognized facial image is associated with the human head image at the image position to know Which user the head image is.
在一实施例中,可以将S220具体为:依次获取一个人头图像,作为第一目标处理图像;In an embodiment, S220 may be specifically: acquiring a human head image sequentially as the first target processing image;
在与第一目标处理图像对应的场景图像中,根据第一目标处理图像所在图像位置,确定备选人脸搜索区域;In the scene image corresponding to the first target processed image, determine the candidate face search area according to the image position of the first target processed image;
如果确定在备选人脸搜索区域内识别出人脸图像,则将人脸图像与第一目标处理图像关联;If it is determined that the face image is recognized in the candidate face search area, then the face image is associated with the first target processed image;
返回执行依次获取一个人头图像,作为第一目标处理图像的操作,直至完成对全部人头图像的处理。Return to the operation of sequentially acquiring a human head image and processing the image as the first target until the processing of all human head images is completed.
在摄像头实时捕捉的场景图像中,对人头识别模型识别出的每个人头图像依次进行分析,获取一个人头图像之后,在与该人头图像对应的场景图像中,根据该人头图像所在的图像位置(例如为坐标位置)确定备选人脸搜索区域,如果根据人脸识别技术在备选人脸搜索区域内能够识别出人脸图像,则将识别出的人脸图像与该人头图像进行关联,也即该人头图像是与该人脸图像对应的用户。如果根据人脸识别技术在备选人脸搜索区域内不能识别出人脸图像,则获取下一个人头图像进行分析。In the scene image captured by the camera in real time, each head image recognized by the head recognition model is analyzed in turn. After obtaining a head image, in the scene image corresponding to the head image, according to the image position of the head image ( For example, the coordinate position) to determine the candidate face search area. If the face image can be recognized in the candidate face search area according to the face recognition technology, then the recognized face image is associated with the head image. That is, the head image is the user corresponding to the face image. If the face image cannot be recognized in the candidate face search area according to the face recognition technology, the next head image is obtained for analysis.
其中,备选人脸搜索区域是紧邻人头图像所在图像位置的区域,其具体区域范围大小可以根据实际勤快具体设定,例如根据摄像头拍摄的场景图像中人头图像越大的位置确定的备选人脸搜索区域的范围就大,根据摄像头拍摄的场景图像中人头图像越小的位置确定的备选人脸搜索区域的范围就小。Among them, the candidate face search area is the area next to the image position of the human head image. The specific area size can be set according to actual diligence, for example, the candidate person determined according to the position of the larger human head image in the scene image taken by the camera The range of the face search area is larger, and the range of the candidate face search area determined according to the smaller the position of the head image in the scene image taken by the camera is smaller.
在一实施例中,还可以将S220具体为:依次获取一个人头图像,作为第一目标处理图像;In an embodiment, S220 may also be specifically: acquiring a human head image sequentially as the first target processing image;
在与第一目标处理图像对应的场景图像中,根据第一目标处理图像所在图像位置,确定备选人脸搜索区域;In the scene image corresponding to the first target processed image, determine the candidate face search area according to the image position of the first target processed image;
如果确定调用预先训练的人脸识别模型在备选人脸搜索区域内识别出人脸 图像,则将人脸图像与第一目标处理图像关联;If it is determined that the pre-trained face recognition model is called to recognize the face image in the candidate face search area, then the face image is associated with the first target processed image;
返回执行依次获取一个人头图像,作为第一目标处理图像的操作,直至完成对全部人头图像的处理。Return to the operation of sequentially acquiring a human head image and processing the image as the first target until the processing of all human head images is completed.
在上述实施方式中,具体是调用预先训练的人脸识别模型在备选人脸搜索区域内进行人脸识别,其中,人脸识别模型识别出的人脸可以是正脸,也可以是带有一定偏转角度的侧脸。In the above-mentioned embodiment, specifically, the pre-trained face recognition model is called to perform face recognition in the candidate face search area, where the face recognized by the face recognition model can be a positive face or a certain The profile of the deflection angle.
在本步骤中,将通过人头识别模型识别出的全部人头图像进行分析,得到可以成功关联人脸图像的人头图像,进而,将人头图像对应的用户定位结果确定为与关联的人脸图像对应的用户定位结果。In this step, all the head images recognized by the head recognition model are analyzed to obtain the head image that can be successfully associated with the face image, and then the user positioning result corresponding to the head image is determined to correspond to the associated face image User positioning results.
S230、根据确定出的人脸图像,以及与人脸图像对应的用户定位结果,实时更新与目标区域对应的用户位置记录表。S230: According to the determined face image and the user positioning result corresponding to the face image, update the user location record table corresponding to the target area in real time.
其中,用户位置记录表中的一条记录包括:用户识别信息、以及与用户识别信息对应的用户定位结果。Wherein, a record in the user location record table includes: user identification information and a user positioning result corresponding to the user identification information.
在识别出一个人脸图像之后,可以根据预先建立的标准用户库中记录的人脸图像与用户标识信息之间的对应关系,确定出与人脸图像对应的用户标识信息,进而可以得到包括用户的人脸图像和/或用户标识信息,以及用户定位结果的一组数据,进而可以根据这一组数据对用户位置记录表进行实时更新。After identifying a face image, the user identification information corresponding to the face image can be determined according to the correspondence between the face image recorded in the standard user library and the user identification information, and then the user identification information can be obtained. The face image and/or user identification information of the user, and a set of data of the user positioning result, and then the user location record table can be updated in real time based on this set of data.
在一实施例中,可以将S230具体为:In an embodiment, S230 may be specifically:
依次获取一个确定出的人脸图像作为第二目标处理图像;Sequentially acquiring a determined face image as the second target processing image;
判断用户位置记录表是否存储有包括第二目标处理图像,或者,与第二目标处理图像对应的用户标识信息的目标记录;Judging whether the user location record table stores a target record including the second target processed image, or user identification information corresponding to the second target processed image;
若是,则根据第二目标处理图像以及与第二目标处理图像对应的用户定位结果更新目标记录;If yes, update the target record according to the second target processed image and the user positioning result corresponding to the second target processed image;
若否,则根据第二目标处理图像以及与第二目标处理图像对应的用户定位结果建立新记录加入至用户位置记录表中。If not, a new record is created and added to the user location record table according to the second target processed image and the user positioning result corresponding to the second target processed image.
在使用用户的人脸图像和/或用户标识信息,以及用户定位结果对用户位置记录表进行更新时,首先判断用户位置记录表中是否存在该人脸图像或用户标识信息,如果存在匹配的目标记录,则可使用与人脸图像对应的用户定位结果对目标记录中的用户定位结果进行更新,如果不存在匹配的记录,则将该人脸图像和/或用户标识信息(具体可根据用户位置记录表中的用户识别信息的形式具体设置),以及对应的用户定位结果作为一组新记录添加至用户位置记录中。When using the user's face image and/or user identification information, and the user location result to update the user location record table, first determine whether the face image or user identification information exists in the user location record table, and if there is a matching target Record, the user positioning result corresponding to the face image can be used to update the user positioning result in the target record. If there is no matching record, the face image and/or user identification information (specifically based on the user location The form of the user identification information in the record table is specifically set), and the corresponding user location result is added to the user location record as a set of new records.
S240、获取与目标区域对应的用户位置查找请求,并根据用户位置查找请求中包括的查找用户识别信息,在用户位置记录表中进行搜索。S240. Obtain a user location search request corresponding to the target area, and search in the user location record table according to the search user identification information included in the user location search request.
S250、根据对查找用户识别信息的搜索结果,生成与用户查找请求匹配的查找反馈结果。S250: Generate a search feedback result that matches the user's search request according to the search result of searching for user identification information.
本实施例未尽详细解释之处,请参见前述实施例,在此不再赘述。For the parts that are not explained in detail in this embodiment, please refer to the foregoing embodiment, which will not be repeated here.
在上述技术方案中,首先对摄像头实时捕捉的场景图像中的人头图像进行识别,然后在人头图像位置附近进行人脸识别,将识别得到的人脸图像与人头图像进行绑定,进而根据人脸图像识别出对应的人头图像是哪个用户,然后即可根据识别出的用户识别信息,以及与人头图像对应的用户定位信息对用户位置记录表进行实时更新,以使用户存在用户查找请求时,可以在实时更新的用户位置记录表中进行搜索,并快速、准确地生成反馈结果,以使用户在接收到包含用户定位信息的反馈结果时,可以根据用户定位信息快速、便捷、准确地找到对应的用户。同时,相比于直接在场景图像中进行人脸图像识别的数据处理速度,在场景图像中先进行人头图像识别再在人头图像附近进行人脸图像识别的数据处理速度明显要快一些,由此,进一步提高了用户位置记录表的实时更新速度。In the above technical solution, the human head image in the scene image captured by the camera in real time is first recognized, then the face recognition is performed near the position of the human head image, and the recognized face image is bound with the human head image, and then according to the face The image recognizes which user the corresponding head image is, and then the user location record table can be updated in real time according to the recognized user identification information and the user positioning information corresponding to the head image, so that when the user has a user search request, Search in the user location record table that is updated in real time, and quickly and accurately generate feedback results, so that when users receive feedback results that contain user location information, they can quickly, conveniently and accurately find the corresponding user. At the same time, compared to the data processing speed of face image recognition directly in the scene image, the data processing speed of the face image recognition first in the scene image and then the face image recognition near the head image is obviously faster. , Further improve the real-time update speed of the user location record table.
实施例三Example three
图3是本申请实施例三提供的一种用户位置的查找方法的流程图,本实施例提供一种具体的实施方式,其中,目标区域为食堂,用户定位结果为用户最近邻的餐桌的编号信息。FIG. 3 is a flowchart of a method for finding the location of a user according to Embodiment 3 of the present application. This embodiment provides a specific implementation manner, where the target area is a dining hall, and the user positioning result is the number of the user's nearest neighbor table information.
如图3所示,本实施例的方法具体可以包括:As shown in FIG. 3, the method of this embodiment may specifically include:
S310、将食堂内至少一个摄像头实时捕捉的场景图像输入至预先训练的人头识别模型中,获取人头识别模型输出的人头图像,以及人头图像在场景图像中的图像位置。S310. Input the scene image captured by at least one camera in the canteen in real time into the pre-trained head recognition model, and obtain the head image output by the head recognition model and the image position of the head image in the scene image.
例如,可以仅在食堂的出入口,以及食堂的四个角上安装摄像头,用于捕捉位于食堂内的所有用户的影像,以此降低本实施例的硬件成本。For example, cameras can be installed only at the entrance and exit of the canteen and on the four corners of the canteen to capture images of all users in the canteen, thereby reducing the hardware cost of this embodiment.
S320、根据人头图像在场景图像中的图像位置确定与人头图像对应的最近邻的餐桌的编号信息。S320: Determine the number information of the nearest dining table corresponding to the human head image according to the image position of the human head image in the scene image.
确定人头图像在场景图像中的图像位置之后,例如是确定了人头图像的坐标信息,则在该图像位置附近进行餐桌识别,并比较识别出的多张餐桌的位置信息与人头图像的位置信息之间的距离,进一步确定与人头图像最近邻的餐桌图像,然后对这餐桌图像中包括的编号信息进行字符识别,由此,这个与人头图像最邻近,也就是与这个用户最邻近的餐桌的编号信息作为与人头图像对应的用户定位结果。After determining the image position of the human head image in the scene image, for example, the coordinate information of the human head image is determined, the table recognition is performed near the image position, and the position information of the recognized multiple dining tables is compared with the position information of the human head image. Further determine the table image closest to the head image, and then perform character recognition on the number information included in the table image. As a result, this is the closest neighbor to the head image, which is the number of the table closest to the user The information is used as the user positioning result corresponding to the head image.
S330、根据人头图像在场景图像中图像位置,在场景图像中确定人脸图像,所述人脸图像与所述人头图像关联。S330: Determine a face image in the scene image according to the image position of the head image in the scene image, where the face image is associated with the head image.
S340、根据确定出的人脸图像,以及与人脸图像对应的最近邻的餐桌的编号信息,实时更新与食堂对应的用户位置记录表。S340. According to the determined face image and the number information of the nearest neighbor dining table corresponding to the face image, update the user location record table corresponding to the canteen in real time.
用户位置记录表中的一条记录包括:用户识别信息、以及与用户识别信息对应的最近邻的餐桌的编号信息。A record in the user location record table includes: user identification information and the number information of the nearest neighbor dining table corresponding to the user identification information.
由于人脸图像和人头图像是关联的,那么与人脸图像对应的最近邻的餐桌的编号信息,即为与人脸图像对应的最近邻的餐桌的编号信息。Since the face image and the head image are related, the number information of the nearest neighbor dining table corresponding to the face image is the number information of the nearest neighbor dining table corresponding to the face image.
判断用户位置记录表中是否存在该人脸图像或与人脸图像对应的用户标识信息,如果存在匹配的目标记录,则可使用与人脸图像对应的最近邻的餐桌的编号信息对目标记录中的最近邻的餐桌的编号信息进行更新,如果不存在匹配的记录,则将该人脸图像和/或用户标识信息(具体可根据用户位置记录表中的用户识别信息的形式具体设置),以及对应的最近邻的餐桌的编号信息作为一组新记录添加至用户位置记录中。Determine whether the face image or the user identification information corresponding to the face image exists in the user location record table. If there is a matching target record, you can use the number information of the nearest neighbor dining table corresponding to the face image to the target record The number information of the nearest neighbor dining table is updated. If there is no matching record, the face image and/or user identification information (specifically can be set according to the form of user identification information in the user location record table), and The number information of the corresponding nearest neighbor dining table is added to the user location record as a set of new records.
S350、获取与食堂对应的用户位置查找请求,并根据用户位置查找请求中包括的查找用户识别信息,在用户位置记录表中进行搜索。S350. Obtain a user location search request corresponding to the canteen, and search in the user location record table according to the search user identification information included in the user location search request.
S360、根据对查找用户识别信息的搜索结果,生成与用户查找请求匹配的查找反馈结果。S360. Generate a search feedback result that matches the user's search request according to the search result of searching for user identification information.
如果在用户位置记录表中进行搜索到查找用户识别信息,则根据用户位置记录表中记录的与查找用户识别信息对应的最近邻的餐桌的编号信息生成与用户查找请求匹配的查找反馈结果,例如是XX用户位于xx号餐桌附近。If the user identification information is found in the user location record table, a search feedback result that matches the user's search request is generated according to the number information of the nearest neighbor dining table recorded in the user location record table corresponding to the search user identification information, for example The XX user is located near the xx table.
如果在用户位置记录表中未搜索到查找用户识别信息,则将无法查找到用户位置作为与用户查找请求匹配的查找反馈结果,例如是未查找到XX用户的定位信息。If the user identification information is not found in the user location record table, the user location cannot be found as a search feedback result matching the user search request, for example, the location information of the XX user is not found.
本实施例未尽详细解释之处,请参见前述实施例,在此不再赘述。For the parts that are not explained in detail in this embodiment, please refer to the foregoing embodiment, which will not be repeated here.
上述技术方案,使用户可以在食堂中快速、高效、便捷地找人,解决了人眼找人浪费时间的问题,即使食堂再大,都可以快速地找到人。而且,只需在食堂的出入口以及四个角安装摄像头,成本较低。The above technical solution enables users to find people in the canteen quickly, efficiently and conveniently, and solves the problem of wasting time in finding people. Even if the canteen is large, people can be found quickly. Moreover, only cameras need to be installed at the entrance and exit of the canteen and at the four corners, which reduces the cost.
实施例四Example four
图4是本实施例提供的一种用户位置的查找装置的结构示意图,可适用于用户在目标场所与同伴走散后想要寻找同伴的情况,该装置可采用软件和/或硬件的方式实现,并一般可集成在计算机设备中,例如是与目标场所内多个摄像头建立通信连接的计算机设备中。如图4所示,该装置具体包括:Figure 4 is a schematic structural diagram of a user location search device provided by this embodiment, which can be applied to a situation where a user wants to find a companion after leaving a companion at a target place. The device can be implemented by software and/or hardware. , And generally can be integrated in a computer device, such as a computer device that establishes a communication connection with multiple cameras in the target location. As shown in Figure 4, the device specifically includes:
用户位置记录表实时更新模块410,设置为根据目标区域内至少一个摄像头实时捕捉的场景图像,实时更新与所述目标区域对应的用户位置记录表,其中,所述用户位置记录表中的一条记录包括:用户识别信息、以及与所述用户识别信息对应的用户定位结果;The user location record table real-time update module 410 is configured to update the user location record table corresponding to the target area in real time according to the scene image captured by at least one camera in the target area in real time, wherein one record in the user location record table Including: user identification information and user positioning results corresponding to the user identification information;
用户位置查找模块420,设置为获取与所述目标区域对应的用户位置查找 请求,并根据所述用户位置查找请求中包括的查找用户识别信息,在所述用户位置记录表中进行搜索;The user location search module 420 is configured to obtain a user location search request corresponding to the target area, and search in the user location record table according to the search user identification information included in the user location search request;
查找反馈结果生成模块430,设置为根据对所述查找用户识别信息的搜索结果,生成与所述用户查找请求匹配的查找反馈结果。The search feedback result generation module 430 is configured to generate a search feedback result matching the user search request according to the search result of the search user identification information.
本申请实施例中,根据目标区域内至少一个摄像头实时捕捉的场景图像,实时更新与目标区域对应的用户位置记录表,该用户位置记录表中记录中目标区域内对用户的定位结果,当接收到与目标区域对应的用户位置查找请求时,在用户位置记录表中搜索用户位置查找请求中包括的查找用户识别信息,根据搜索结果生成对用户位置查找请求的反馈结果。通过上述技术方案,用户可以在一个固定区域(典型的,封闭区域)内,快速、高效、便捷地查询到需要寻找的其他用户的定位信息,进而可以根据查询到的定位信息直接去找人,明显地提高了找人效率,解决了人眼找人效率低的问题。In the embodiment of the present application, the user location record table corresponding to the target area is updated in real time according to the scene image captured by at least one camera in the target area. The user location record table records the location result of the user in the target area. When the user location search request corresponding to the target area is reached, the user location record table is searched for the user identification information included in the user location search request, and a feedback result of the user location search request is generated according to the search result. Through the above technical solutions, users can quickly, efficiently and conveniently query the location information of other users that need to be found in a fixed area (typically closed area), and then can directly find people based on the queried location information. Significantly improves the efficiency of finding people, and solves the problem of low efficiency in finding people.
在一实施例中,用户位置记录表实时更新模块410包括:人头识别单元、人头人脸关联单元和用户位置记录表更新单元,其中,In an embodiment, the user location record table real-time update module 410 includes: a head recognition unit, a head and face association unit, and a user location record table update unit, where
人头识别单元,设置为将所述目标区域内至少一个摄像头实时捕捉的场景图像输入至预先训练的人头识别模型中,获取所述人头识别模型输出的人头图像,以及与所述人头图像对应的用户定位结果;A human head recognition unit configured to input scene images captured by at least one camera in the target area in real time into a pre-trained human head recognition model, and obtain a human head image output by the human head recognition model and a user corresponding to the human head image Positioning result
人头人脸关联单元,设置为根据所述人头图像在所述场景图像中图像位置,在所述场景图像中确定人脸图像,所述人脸图像与所述人头图像关联;A human head and human face associating unit configured to determine a human face image in the scene image according to the image position of the human head image in the scene image, and the human face image is associated with the human head image;
用户位置记录表更新单元,设置为根据确定出的所述人脸图像,以及与所述人脸图像对应的用户定位结果,实时更新与所述目标区域对应的用户位置记录表。The user location record table update unit is configured to update the user location record table corresponding to the target area in real time according to the determined face image and the user positioning result corresponding to the face image.
在一实施例中,人头人脸关联单元,具体包括:人头图像获取子单元、备选人脸搜索区域确定子单元、人头人脸关联子单元和第一循环处理子单元,其中,In an embodiment, the head and face association unit specifically includes: a head image acquisition subunit, a candidate face search area determination subunit, a head and face association subunit, and a first loop processing subunit, wherein,
人头图像获取子单元,设置为依次获取一个人头图像,作为第一目标处理图像;The human head image acquisition sub-unit is set to acquire one human head image in turn, and process the image as the first target;
备选人脸搜索区域确定子单元,设置为在与所述第一目标处理图像对应的场景图像中,根据所述第一目标处理图像所在图像位置,确定备选人脸搜索区域;A candidate face search area determination subunit, configured to determine the candidate face search area in the scene image corresponding to the first target processed image according to the image position of the first target processed image;
人头人脸关联子单元,设置为如果确定在所述备选人脸搜索区域内识别出人脸图像,则将所述人脸图像与所述第一目标处理图像关联;The human head and human face association subunit is configured to associate the human face image with the first target processed image if it is determined that a human face image is recognized in the candidate face search area;
第一循环处理子单元,设置为返回执行依次获取一个人头图像,作为第一目标处理图像的操作,直至完成对全部人头图像的处理。The first loop processing sub-unit is set to return to perform the operation of sequentially acquiring a human head image and processing the image as the first target until the processing of all human head images is completed.
在一实施例中,人头人脸关联子单元设置为如果调用预先训练的人脸识别 模型在所述备选人脸搜索区域内识别出人脸图像,则将所述人脸图像与所述第一目标处理图像关联。In an embodiment, the head and face association subunit is configured to: if a pre-trained face recognition model is called to recognize a face image in the candidate face search area, then the face image will be combined with the first face image. A target handles image association.
在一实施例中,所述用户位置记录表中的用户识别信息包括:人脸图像,和/或用户标识信息;其中,所述人脸图像与用户标识信息之间的对应关系通过预先建立的标准用户库确定。In an embodiment, the user identification information in the user location record table includes: a face image, and/or user identification information; wherein the correspondence between the face image and the user identification information is pre-established The standard user library is determined.
在一实施例中,用户位置记录表更新单元具体包括:In an embodiment, the user location record table update unit specifically includes:
人脸图像获取子单元,设置为依次获取一个确定出的人脸图像作为第二目标处理图像;The face image acquisition subunit is set to sequentially acquire a determined face image as the second target processed image;
用户位置记录表更新子单元,设置为判断所述用户位置记录表是否存储有包括所述第二目标处理图像,或者,与所述第二目标处理图像对应的用户标识信息的目标记录;若是,则根据所述第二目标处理图像以及与所述第二目标处理图像对应的用户定位结果更新所述目标记录;若否,则根据所述第二目标处理图像以及与所述第二目标处理图像对应的用户定位结果建立新记录加入至所述用户位置记录表中。The user location record table update subunit is configured to determine whether the user location record table stores a target record including the second target processed image, or user identification information corresponding to the second target processed image; if so, Update the target record according to the second target processed image and the user positioning result corresponding to the second target processed image; if not, update the target record according to the second target processed image and the second target processed image The corresponding user location result creates a new record and adds it to the user location record table.
在一实施例中,用户位置记录表实时更新模块410还包括:记录删除单元,设置为如果在设定时间段内根据目标区域内至少一个摄像头实时捕捉的场景图像未对所述用户位置记录表中的目标记录进行更新,则删除所述目标记录。In an embodiment, the user location record table real-time update module 410 further includes: a record deletion unit configured to: if the user location record table is not recorded according to the scene image captured in real time by at least one camera in the target area within a set time period If the target record in is updated, the target record is deleted.
在一实施例中,查找反馈结果生成模块430,具体包括:第一反馈生成单元和第二反馈生成单元,其中,In an embodiment, the search feedback result generation module 430 specifically includes: a first feedback generation unit and a second feedback generation unit, wherein:
第一反馈生成单元,设置为如果在所述用户位置记录表中搜索到所述查找用户识别信息,则根据所述用户位置记录表中记录的与所述查找用户识别信息对应的用户定位结果生成与所述用户查找请求匹配的查找反馈结果;The first feedback generating unit is configured to, if the search user identification information is searched in the user location record table, generate according to the user positioning result recorded in the user location record table corresponding to the search user identification information A search feedback result that matches the user search request;
第二反馈生成单元,设置为如果在所述用户位置记录表中未搜索到所述查找用户识别信息,则将无法查找到用户位置作为与所述用户查找请求匹配的查找反馈结果。The second feedback generating unit is configured to, if the search user identification information is not searched in the user location record table, the user location cannot be found as a search feedback result that matches the user search request.
在一实施例中,所述目标区域包括:食堂;所述用户定位结果包括:用户最邻近的餐桌的编号信息。In an embodiment, the target area includes: a canteen; and the user positioning result includes: the number information of the table closest to the user.
上述用户位置的查找装置可执行本申请任意实施例所提供的用户位置的查找方法,具备执行用户位置的查找方法相应的功能模块和有益效果。The above-mentioned user location searching device can execute the user location searching method provided in any embodiment of the present application, and has the corresponding functional modules and beneficial effects for executing the user location searching method.
实施例五Example five
图5示出了适于用来实现本申请实施方式的示例性计算机设备12的框图。图5显示的计算机设备12仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。Figure 5 shows a block diagram of an exemplary computer device 12 suitable for implementing embodiments of the present application. The computer device 12 shown in FIG. 5 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present application.
如图5所示,计算机设备12以通用计算设备的形式表现。计算机设备12 的组件可以包括但不限于:一个或者多个处理器或者处理单元16,系统存储器28,连接不同系统组件(包括系统存储器28和处理单元16)的总线18。As shown in FIG. 5, the computer device 12 takes the form of a general-purpose computing device. The components of the computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 connecting different system components (including the system memory 28 and the processing unit 16).
总线18表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。The bus 18 represents one or more of several types of bus structures, including a memory bus or a memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any bus structure among multiple bus structures. For example, these architectures include but are not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and peripheral component interconnection ( PCI) bus.
计算机设备12典型地包括多种计算机系统可读介质。这些介质可以是任何能够被计算机设备12访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。The computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer device 12, including volatile and non-volatile media, removable and non-removable media.
系统存储器28可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)30和/或高速缓存存储器32。计算机设备12可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统34可以用于读写不可移动的、非易失性磁介质(图5未显示,通常称为“硬盘驱动器”)。尽管图5中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线18相连。存储器28可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本申请各实施例的功能。The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32. The computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. For example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media (not shown in FIG. 5, and generally referred to as a "hard drive"). Although not shown in FIG. 5, a disk drive for reading and writing to a removable non-volatile disk (such as a "floppy disk") and a removable non-volatile disk (such as CD-ROM, DVD-ROM) can be provided. Or other optical media) read and write optical disc drives. In these cases, each drive can be connected to the bus 18 through one or more data media interfaces. The memory 28 may include at least one program product, the program product having a set (for example, at least one) program modules, and these program modules are configured to perform the functions of the embodiments of the present application.
具有一组(至少一个)程序模块42的程序/实用工具40,可以存储在例如存储器28中,这样的程序模块42包括但不限于操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块42通常执行本申请所描述的实施例中的功能和/或方法。A program/utility tool 40 having a set of (at least one) program module 42 may be stored in, for example, the memory 28. Such program module 42 includes but is not limited to an operating system, one or more application programs, other program modules, and program data Each of these examples or some combination may include the implementation of a network environment. The program module 42 usually executes the functions and/or methods in the embodiments described in this application.
计算机设备12也可以与一个或多个外部设备14(例如键盘、指向设备、显示器24等)通信,还可与一个或者多个使得用户能与该计算机设备12交互的设备通信,和/或与使得该计算机设备12能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口22进行。并且,计算机设备12还可以通过网络适配器20与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图5所示,网络适配器20通过总线18与计算机设备12的其它模块通信。应当明白,尽管图5中未示出,可以结合计算机设备12使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The computer device 12 can also communicate with one or more external devices 14 (such as keyboards, pointing devices, displays 24, etc.), and can also communicate with one or more devices that enable users to interact with the computer device 12, and/or communicate with Any device (such as a network card, modem, etc.) that enables the computer device 12 to communicate with one or more other computing devices. This communication can be performed through an input/output (I/O) interface 22. In addition, the computer device 12 may also communicate with one or more networks (for example, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through the network adapter 20. As shown in FIG. 5, the network adapter 20 communicates with other modules of the computer device 12 through the bus 18. It should be understood that although not shown in FIG. 5, other hardware and/or software modules can be used in conjunction with the computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tapes Drives and data backup storage systems, etc.
处理单元16通过运行存储在系统存储器28中的程序,从而执行各种功能应用以及数据处理,例如实现本申请实施例所提供的用户位置的查找方法。也即,所述处理单元执行所述程序时实现:The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, such as implementing the user location search method provided in the embodiments of the present application. That is, when the processing unit executes the program:
根据目标区域内至少一个摄像头实时捕捉的场景图像,实时更新与所述目标区域对应的用户位置记录表,其中,所述用户位置记录表中的一条记录包括:用户识别信息、以及与所述用户识别信息对应的用户定位结果;According to the scene image captured by at least one camera in the target area in real time, the user location record table corresponding to the target area is updated in real time, wherein a record in the user location record table includes: user identification information and user identification information The user positioning result corresponding to the identification information;
获取与所述目标区域对应的用户位置查找请求,并根据所述用户位置查找请求中包括的查找用户识别信息,在所述用户位置记录表中进行搜索;Acquiring a user location search request corresponding to the target area, and searching in the user location record table according to the search user identification information included in the user location search request;
根据对所述查找用户识别信息的搜索结果,生成与所述用户查找请求匹配的查找反馈结果。According to the search result of the search user identification information, a search feedback result that matches the user search request is generated.
实施例六Example Six
本实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本申请所有实施例提供的用户位置的查找方法。也即,该程序被处理器执行时实现:This embodiment provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the method for searching the user location as provided in all embodiments of the present application is implemented. That is, when the program is executed by the processor:
根据目标区域内至少一个摄像头实时捕捉的场景图像,实时更新与所述目标区域对应的用户位置记录表,其中,所述用户位置记录表中的一条记录包括:用户识别信息、以及与所述用户识别信息对应的用户定位结果;According to the scene image captured by at least one camera in the target area in real time, the user location record table corresponding to the target area is updated in real time, wherein a record in the user location record table includes: user identification information and user identification information The user positioning result corresponding to the identification information;
获取与所述目标区域对应的用户位置查找请求,并根据所述用户位置查找请求中包括的查找用户识别信息,在所述用户位置记录表中进行搜索;Acquiring a user location search request corresponding to the target area, and searching in the user location record table according to the search user identification information included in the user location search request;
根据对所述查找用户识别信息的搜索结果,生成与所述用户查找请求匹配的查找反馈结果。According to the search result of the search user identification information, a search feedback result that matches the user search request is generated.
可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。Any combination of one or more computer-readable media may be used. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), Erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In this document, the computer-readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, apparatus, or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读 的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。The computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and computer-readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. The computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium. The computer-readable medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、电线、光缆、RF等等,或者上述的任意合适的组合。The program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
可以以一种或多种程序设计语言或其组合来编写用于执行本申请操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“如“语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)域连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。The computer program code used to perform the operations of the present application can be written in one or more programming languages or a combination thereof. The programming languages include object-oriented programming languages-such as Java, Smalltalk, C++, and also conventional Procedural programming language-such as "like" language or similar programming language. The program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any kind of network-including a local area network (LAN) or a wide area network (WAN) domain, or it can be connected to an external computer (for example, using an Internet service provider to pass Internet connection).

Claims (12)

  1. 一种用户位置的查找方法,所述方法包括:A method for finding the location of a user, the method comprising:
    根据目标区域内至少一个摄像头实时捕捉的场景图像,实时更新与所述目标区域对应的用户位置记录表,其中,所述用户位置记录表中的一条记录包括:用户识别信息、以及与所述用户识别信息对应的用户定位结果;According to the scene image captured by at least one camera in the target area in real time, the user location record table corresponding to the target area is updated in real time, wherein a record in the user location record table includes: user identification information and user identification information The user positioning result corresponding to the identification information;
    获取与所述目标区域对应的用户位置查找请求,并根据所述用户位置查找请求中包括的查找用户识别信息,在所述用户位置记录表中进行搜索;Acquiring a user location search request corresponding to the target area, and searching in the user location record table according to the search user identification information included in the user location search request;
    根据对所述查找用户识别信息的搜索结果,生成与所述用户查找请求匹配的查找反馈结果。According to the search result of the search user identification information, a search feedback result that matches the user search request is generated.
  2. 根据权利要求1所述的方法,其中,根据目标区域内至少一个摄像头实时捕捉的场景图像,实时更新与所述目标区域对应的用户位置记录表,包括:The method according to claim 1, wherein the real-time updating of the user location record table corresponding to the target area according to the scene image captured by at least one camera in the target area in real time comprises:
    将所述目标区域内至少一个摄像头实时捕捉的场景图像输入至预先训练的人头识别模型中,获取所述人头识别模型输出的人头图像,以及与所述人头图像对应的用户定位结果;Inputting real-time scene images captured by at least one camera in the target area into a pre-trained human head recognition model, and acquiring a human head image output by the human head recognition model and a user positioning result corresponding to the human head image;
    根据所述人头图像在所述场景图像中图像位置,在所述场景图像中确定人脸图像,所述人脸图像与所述人头图像关联;Determining a face image in the scene image according to the image position of the head image in the scene image, and the face image is associated with the head image;
    根据确定出的所述人脸图像,以及与所述人脸图像对应的用户定位结果,实时更新与所述目标区域对应的用户位置记录表。According to the determined face image and the user positioning result corresponding to the face image, the user location record table corresponding to the target area is updated in real time.
  3. 根据权利要求2所述的方法,其中,根据所述人头图像在所述场景图像中图像位置,在所述场景图像中确定人脸图像,包括:The method according to claim 2, wherein determining the face image in the scene image according to the image position of the head image in the scene image comprises:
    依次获取一个人头图像,作为第一目标处理图像;Acquire an image of a human head in turn, and process the image as the first target;
    在与所述第一目标处理图像对应的场景图像中,根据所述第一目标处理图像所在图像位置,确定备选人脸搜索区域;In the scene image corresponding to the first target processed image, determine the candidate face search area according to the image position of the first target processed image;
    如果确定在所述备选人脸搜索区域内识别出人脸图像,则将所述人脸图像与所述第一目标处理图像关联;If it is determined that a face image is recognized in the candidate face search area, associating the face image with the first target processed image;
    返回执行依次获取一个人头图像,作为第一目标处理图像的操作,直至完成对全部人头图像的处理。Return to the operation of sequentially acquiring a human head image and processing the image as the first target until the processing of all human head images is completed.
  4. 根据权利要求3所述的方法,其中,在所述备选人脸搜索区域内识别出人脸图像,包括:The method according to claim 3, wherein identifying a face image in the candidate face search area comprises:
    调用预先训练的人脸识别模型,在所述备选人脸搜索区域内识别出人脸图像。The pre-trained face recognition model is invoked, and the face image is recognized in the candidate face search area.
  5. 根据权利要求2所述的方法,其中,所述用户位置记录表中的用户识别信息包括:人脸图像和用户标识信息中的至少之一;The method according to claim 2, wherein the user identification information in the user location record table includes: at least one of a face image and user identification information;
    其中,所述人脸图像与用户标识信息之间的对应关系通过预先建立的标准用户库确定。Wherein, the correspondence between the face image and the user identification information is determined by a pre-established standard user library.
  6. 根据权利要求5所述的方法,其中,根据确定出的所述人脸图像,以及 与所述人脸图像对应的用户定位结果,实时更新与所述目标区域对应的用户位置记录表,包括:The method according to claim 5, wherein, according to the determined face image and the user positioning result corresponding to the face image, updating the user location record table corresponding to the target area in real time, comprising:
    依次获取一个确定出的人脸图像作为第二目标处理图像;Sequentially acquiring a determined face image as the second target processing image;
    判断所述用户位置记录表是否存储有包括所述第二目标处理图像,或者,与所述第二目标处理图像对应的用户标识信息的目标记录;Determining whether the user location record table stores a target record including the second target processed image or user identification information corresponding to the second target processed image;
    若是,则根据所述第二目标处理图像以及与所述第二目标处理图像对应的用户定位结果更新所述目标记录;If yes, update the target record according to the second target processed image and the user positioning result corresponding to the second target processed image;
    若否,则根据所述第二目标处理图像以及与所述第二目标处理图像对应的用户定位结果建立新记录加入至所述用户位置记录表中。If not, a new record is created and added to the user location record table according to the second target processed image and the user positioning result corresponding to the second target processed image.
  7. 根据权利要求1所述的方法,其中,根据目标区域内至少一个摄像头实时捕捉的场景图像,实时更新与所述目标区域对应的用户位置记录表,还包括:The method according to claim 1, wherein, according to the scene image captured by at least one camera in the target area in real time, updating the user location record table corresponding to the target area in real time, further comprising:
    如果在设定时间段内根据目标区域内至少一个摄像头实时捕捉的场景图像,未对所述用户位置记录表中的目标记录进行更新,则删除所述目标记录。If the target record in the user location record table is not updated according to the scene image captured by at least one camera in the target area in real time within the set time period, the target record is deleted.
  8. 根据权利要求1所述的方法,其中,根据对所述查找用户识别信息的搜索结果,生成与所述用户查找请求匹配的查找反馈结果,包括:The method according to claim 1, wherein generating a search feedback result matching the user search request according to a search result of the search user identification information comprises:
    如果在所述用户位置记录表中搜索到所述查找用户识别信息,则根据所述用户位置记录表中记录的与所述查找用户识别信息对应的用户定位结果,生成与所述用户查找请求匹配的查找反馈结果;If the search user identification information is searched in the user location record table, based on the user positioning result corresponding to the search user identification information recorded in the user location record table, generate a match with the user search request Search feedback results;
    如果在所述用户位置记录表中未搜索到所述查找用户识别信息,则将无法查找到用户位置作为与所述用户查找请求匹配的查找反馈结果。If the search user identification information is not found in the user location record table, the user location cannot be found as a search feedback result that matches the user search request.
  9. 根据权利要求1-8任一项所述的方法,其中,The method according to any one of claims 1-8, wherein:
    所述目标区域包括:食堂;所述用户定位结果包括:用户最邻近的餐桌的编号信息。The target area includes: a canteen; and the user positioning result includes: the number information of the table closest to the user.
  10. 一种用户位置的查找装置,所述装置包括:A device for finding the location of a user, the device comprising:
    用户位置记录表实时更新模块,设置为根据目标区域内至少一个摄像头实时捕捉的场景图像,实时更新与所述目标区域对应的用户位置记录表,其中,所述用户位置记录表中的一条记录包括:用户识别信息、以及与所述用户识别信息对应的用户定位结果;The user location record table real-time update module is configured to update the user location record table corresponding to the target area in real time according to the scene image captured by at least one camera in the target area, wherein one record in the user location record table includes : User identification information, and user positioning results corresponding to the user identification information;
    用户位置查找模块,设置为获取与所述目标区域对应的用户位置查找请求,并根据所述用户位置查找请求中包括的查找用户识别信息,在所述用户位置记录表中进行搜索;The user location search module is configured to obtain a user location search request corresponding to the target area, and search in the user location record table according to the search user identification information included in the user location search request;
    查找反馈结果生成模块,设置为根据对所述查找用户识别信息的搜索结果,生成与所述用户查找请求匹配的查找反馈结果。The search feedback result generation module is configured to generate a search feedback result that matches the user search request according to the search result of the search user identification information.
  11. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现如权利 要求1-10中任一所述的用户位置的查找方法。A computer device, comprising a memory, a processor, and a computer program stored on the memory and running on the processor, wherein the processor executes the program as described in any one of claims 1-10 Find the location of the user described above.
  12. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-10中任一所述的用户位置的查找方法。A computer-readable storage medium with a computer program stored thereon, wherein the program is executed by a processor to realize the user location search method according to any one of claims 1-10.
PCT/CN2019/103921 2019-03-20 2019-09-02 User location lookup method and apparatus, device and medium WO2020186701A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910213278.X 2019-03-20
CN201910213278.XA CN109819400B (en) 2019-03-20 2019-03-20 User position searching method, device, equipment and medium

Publications (1)

Publication Number Publication Date
WO2020186701A1 true WO2020186701A1 (en) 2020-09-24

Family

ID=66609583

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/103921 WO2020186701A1 (en) 2019-03-20 2019-09-02 User location lookup method and apparatus, device and medium

Country Status (2)

Country Link
CN (1) CN109819400B (en)
WO (1) WO2020186701A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113570341A (en) * 2021-07-30 2021-10-29 国网电子商务有限公司 Distribution network equipment information input method and device

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113448251A (en) * 2020-03-24 2021-09-28 海信集团有限公司 Position prompting method and system
CN111479217B (en) * 2020-04-17 2022-03-04 新石器慧通(北京)科技有限公司 Method and system for positioning unmanned vehicle in tunnel and electronic equipment
CN111949186B (en) * 2020-07-20 2022-02-15 上海淇馥信息技术有限公司 Method and device for assisting in finding target object in cluster and electronic equipment
CN112528699B (en) * 2020-12-08 2024-03-19 北京外号信息技术有限公司 Method and system for obtaining identification information of devices or users thereof in a scene
CN112866611A (en) * 2020-12-31 2021-05-28 上海新住信机电集成有限公司 Intelligent building monitoring system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049734A (en) * 2011-10-12 2013-04-17 杜惠红 Method and system for finding person in public place
CN202940921U (en) * 2012-12-13 2013-05-15 深圳市赛格导航科技股份有限公司 Real-time monitoring system based on face identification
US20160295356A1 (en) * 2012-05-22 2016-10-06 Trimble Navigation Limited Entity tracking
CN107423674A (en) * 2017-05-15 2017-12-01 广东数相智能科技有限公司 A kind of looking-for-person method based on recognition of face, electronic equipment and storage medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10133950B2 (en) * 2011-03-04 2018-11-20 Qualcomm Incorporated Dynamic template tracking
CN105205467A (en) * 2015-09-22 2015-12-30 哈尔滨多智科技发展有限公司 Monitoring and tracking method based on face identification system and vehicle identification system
JP6701017B2 (en) * 2016-07-15 2020-05-27 キヤノン株式会社 Communication device, imaging device, control method, and program
CN107643086B (en) * 2016-07-22 2021-04-13 北京四维图新科技股份有限公司 Vehicle positioning method, device and system
US9589255B1 (en) * 2016-09-14 2017-03-07 Graffiti Video Inc. Collaborative media capture and sharing system
CN109212571A (en) * 2017-06-29 2019-01-15 沈阳新松机器人自动化股份有限公司 Navigation locating method and device
CN107529221A (en) * 2017-08-22 2017-12-29 上海兴容信息技术有限公司 A kind of follow-up analysis system and method for combination video monitoring and Wi Fi positioning
CN107798781A (en) * 2017-09-20 2018-03-13 广东东为信息技术有限公司 A kind of shared bicycle management system and method based on community cloud monitoring system
CN108416265A (en) * 2018-01-30 2018-08-17 深圳大学 A kind of method for detecting human face, device, equipment and storage medium
CN109186584B (en) * 2018-07-18 2020-09-29 浙江臻万科技有限公司 Indoor positioning method and positioning system based on face recognition

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049734A (en) * 2011-10-12 2013-04-17 杜惠红 Method and system for finding person in public place
US20160295356A1 (en) * 2012-05-22 2016-10-06 Trimble Navigation Limited Entity tracking
CN202940921U (en) * 2012-12-13 2013-05-15 深圳市赛格导航科技股份有限公司 Real-time monitoring system based on face identification
CN107423674A (en) * 2017-05-15 2017-12-01 广东数相智能科技有限公司 A kind of looking-for-person method based on recognition of face, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113570341A (en) * 2021-07-30 2021-10-29 国网电子商务有限公司 Distribution network equipment information input method and device
CN113570341B (en) * 2021-07-30 2024-01-16 国网数字科技控股有限公司 Distribution network equipment information input method and device

Also Published As

Publication number Publication date
CN109819400B (en) 2021-05-04
CN109819400A (en) 2019-05-28

Similar Documents

Publication Publication Date Title
WO2020186701A1 (en) User location lookup method and apparatus, device and medium
US11688399B2 (en) Computerized intelligent assistant for conferences
EP3341851B1 (en) Gesture based annotations
US11409390B2 (en) Method, apparatus and computer-readable media for touch and speech interface with audio location
US10339715B2 (en) Virtual reality system
JP2021009701A (en) Interface intelligent interaction control method, apparatus, system, and program
US20190156558A1 (en) Virtual reality system
JP2021034003A (en) Human object recognition method, apparatus, electronic device, storage medium, and program
US11789998B2 (en) Systems and methods for using conjunctions in a voice input to cause a search application to wait for additional inputs
JP2021068455A (en) Method of recognizing and utilizing user's face based on image and computer system
US10678941B2 (en) Privacy focused network sensor device object recognition
WO2019214132A1 (en) Information processing method, device and equipment
KR102440198B1 (en) VIDEO SEARCH METHOD AND APPARATUS, COMPUTER DEVICE, AND STORAGE MEDIUM
WO2019214019A1 (en) Online teaching method and apparatus based on convolutional neural network
US20190171734A1 (en) Information presentation device, information presentation system, and information presentation method
US11978252B2 (en) Communication system, display apparatus, and display control method
JP4649944B2 (en) Moving image processing apparatus, moving image processing method, and program
EP3686755B1 (en) Automatic reference finding in audiovisual scenes
US20220083596A1 (en) Information processing apparatus and information processing method
CN108989677A (en) A kind of automatic photographing method, device, server and storage medium
US20230154214A1 (en) Method and Arrangement for the digital Capture of Spaces in a Building
EP4329292A1 (en) Information processing device, information processing method, terminal device, and display method
CN112905825B (en) Method, apparatus, and computer storage medium for information processing
WO2021119908A1 (en) Data processing method and apparatus, electronic device, and storage medium
WO2024031109A2 (en) Audio-visual information system for smart eyewear

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 04/02/2022)

122 Ep: pct application non-entry in european phase

Ref document number: 19919620

Country of ref document: EP

Kind code of ref document: A1