CN113630721A - Method and device for generating recommended tour route and computer readable storage medium - Google Patents

Method and device for generating recommended tour route and computer readable storage medium Download PDF

Info

Publication number
CN113630721A
CN113630721A CN202010319188.1A CN202010319188A CN113630721A CN 113630721 A CN113630721 A CN 113630721A CN 202010319188 A CN202010319188 A CN 202010319188A CN 113630721 A CN113630721 A CN 113630721A
Authority
CN
China
Prior art keywords
tour
route
tourists
preset
tourist
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010319188.1A
Other languages
Chinese (zh)
Inventor
卢毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN202010319188.1A priority Critical patent/CN113630721A/en
Publication of CN113630721A publication Critical patent/CN113630721A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/024Guidance services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/14Travel agencies
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/35Services specially adapted for particular environments, situations or purposes for the management of goods or merchandise
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20081Training; Learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20084Artificial neural networks [ANN]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30232Surveillance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30242Counting objects in image

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • Health & Medical Sciences (AREA)
  • Signal Processing (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Primary Health Care (AREA)
  • Data Mining & Analysis (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • General Business, Economics & Management (AREA)
  • Evolutionary Computation (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Traffic Control Systems (AREA)

Abstract

The embodiment of the application provides a method and a device for generating a recommended tour route and a computer readable storage medium, which can determine the tour route of a tourist through a monitoring image, and recommend a suitable tour route according to the real-time number of the tourist at different tour positions in a scenic spot. The generation method of the recommended tour route comprises the following steps: collecting monitoring images shot by cameras arranged at different visiting positions in a scenic spot; identifying the number of visitors appearing in the monitored image; counting the total number of tourists appearing in the monitoring image of each tourist position in the current preset time period; and determining the current recommended tour route according to the total number of the tourists in the current preset time period at each tour position.

Description

Method and device for generating recommended tour route and computer readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for generating a recommended tour route, and a computer-readable storage medium.
Background
The current scenic spot tour route recommendation method needs to count according to big data of historical tour routes of a large number of tourists so as to recommend. When a tourist visits a scenic spot, the tourist usually depends on the support of wireless communication modules such as bluetooth and Wi-Fi of the tourist mobile device, and uses wireless communication devices arranged at different positions in the scenic spot to communicate with the wireless communication module of the tourist mobile device so as to determine the current location of the tourist, the tourist is required to turn on the functions of the mobile device, and if the tourist does not turn on the corresponding functions of the mobile device, the position of the tourist cannot be determined. The inventor found that, in the related art, since the conditions of the tourists at different visiting positions in the scenic spot cannot be accurately counted, the tourists cannot be recommended with real-time visiting routes according to the real-time visiting conditions in the scenic spot.
Disclosure of Invention
In view of the above, embodiments of the present application provide a method and an apparatus for generating a recommended tour route, and a computer-readable storage medium, which are capable of determining a tour path of a visitor through a monitoring image, and recommending a suitable tour route according to a real-time number of visitors at different tour locations in a scenic spot.
In a first aspect, an embodiment of the present application provides a method for generating a recommended tour route, including: collecting monitoring images shot by cameras arranged at different visiting positions in a scenic spot; identifying the number of visitors appearing in the monitored image; counting the total number of tourists appearing in the monitoring image of each tourist position in the current preset time period; and determining the current recommended tour route according to the total number of the tourists in the current preset time period at each tour position.
In one possible implementation, determining the current recommended tour route according to the total number of tourists in the current preset time period at each tour position includes: acquiring a preset tour route; and adjusting the tour sequence of the corresponding tour position in the preset tour route according to the total number of the tourists of each tour position in the current preset time period.
In a possible implementation manner, adjusting the tour order of the corresponding tour position in the preset tour route according to the total number of tourists in each tour position within the current preset time period includes: in a preset tour route, determining tour positions of which the total number of tourists exceeds a preset threshold value in a current preset time period to obtain congested tour positions; searching for a tour position which is closest to the congested tour position and has the total number of tourists smaller than a preset threshold value within a preset range near the congested tour position to obtain a substitute tour position; and replacing the jammed tour position in the preset tour route with the alternative tour position to obtain the current recommended tour route.
In a possible implementation manner, adjusting the tour order of the corresponding tour position in the preset tour route according to the total number of tourists in each tour position within the current preset time period includes: in a preset tour route, determining tour positions of which the total number of tourists exceeds a preset threshold value in a current preset time period to obtain congested tour positions; and pushing the tour sequence of the congested tour positions to obtain the current recommended tour route.
In one possible implementation, obtaining the preset tour route includes: receiving a route recommendation request sent by a target tourist through a client; acquiring a label combination of a target visitor, wherein the label combination comprises all labels pre-configured for an account of the target visitor, and each label is used for representing one attribute characteristic of the target visitor; selecting a tour route with the most number of matches with the tags in the tag combination from a plurality of candidate tour routes to obtain a preset tour route, wherein each candidate tour route in the plurality of candidate tour routes corresponds to one or more tags.
In one possible implementation, the plurality of candidate tour routes are obtained by: extracting human body identification features from monitoring images shot at different time and different visiting positions; matching the extracted human body identification features with human body identification features in a tourist feature library to identify tourists appearing in the monitoring image, wherein the tourist feature library stores human body identification features of a plurality of tourists collected in advance; recording the tour position and the tour time of each visitor according to the identification result of each monitoring image so as to obtain the tour route of each visitor; selecting a plurality of tour routes with the same tour route and the largest number of people from the tour routes of a plurality of tourists to obtain a plurality of candidate tour routes; acquiring a preset label combination of each tourist; and determining the label corresponding to each candidate tour route according to the preset label combination of the visitor corresponding to each candidate tour route.
In one possible implementation, after receiving a route recommendation request sent by a target guest through a client, the method further includes: acquiring a monitoring image of a target tourist appearing last time; identifying human behavior characteristics of the target tourist in the monitoring image; judging whether the target visitor has a target behavior according to the human behavior characteristics; and if so, pushing a message corresponding to the target behavior to the tourist.
In a second aspect, an embodiment of the present application provides an apparatus for generating a recommended tour route, including: the acquisition unit is used for acquiring monitoring images shot by cameras arranged at different visiting positions in a scenic spot; an identification unit for identifying the number of visitors appearing in the monitored image; the statistical unit is used for counting the total number of tourists appearing in the monitoring image of each tourist position in the current preset time period; and the determining unit is used for determining the current recommended tour route according to the total number of the tourists in the current preset time period at each tour position.
In one possible implementation, the determining unit includes: the first acquisition module is used for acquiring a preset tour route; and the first adjusting module is used for adjusting the tour sequence of the corresponding tour position in the preset tour route according to the total number of the tourists of each tour position in the current preset time period.
In one possible implementation, the first adjusting module includes: the first determining module is used for determining the tourist positions of which the total number of the tourists exceeds a preset threshold value in the current preset time period in a preset tourist route to obtain the congested tourist positions; the searching module is used for searching the tour position which is closest to the jammed tour position and has the total number of the tourists smaller than a preset threshold value in a preset range near the jammed tour position so as to obtain a substitute tour position; and the replacing module is used for replacing the jammed tour position in the preset tour route with the replacing tour position to obtain the current recommended tour route.
In one possible implementation, the first adjusting module includes: the second determination module is used for determining the tourist positions of which the total number of the tourists exceeds a preset threshold value in the current preset time period in the preset tourist route to obtain the congested tourist positions; and the second adjusting module is used for pushing the tour sequence of the jammed tour positions to obtain the current recommended tour route.
In one possible implementation manner, the first obtaining module includes: the receiving module is used for receiving a route recommendation request sent by a target tourist through a client; the second acquisition module is used for acquiring a tag combination of the target visitor, wherein the tag combination comprises all tags pre-configured for an account of the target visitor, and each tag is used for representing an attribute characteristic of the target visitor; the selection module is used for selecting the tour route with the maximum number of matched labels in the label combination from the candidate tour routes to obtain a preset tour route, wherein each candidate tour route in the candidate tour routes corresponds to one or more labels.
In one possible implementation, the apparatus further includes: a first acquisition unit configured to acquire a plurality of candidate tour routes, the first acquisition unit including: the extraction module is used for extracting human body identification features from the monitoring images shot at different time and different visiting positions; the matching module is used for matching the extracted human body identification features with human body identification features in a tourist feature library so as to identify tourists appearing in the monitoring image, wherein the tourist feature library stores human body identification features of a plurality of tourists which are acquired in advance; the recording module is used for recording the tour position and the tour time of each visitor according to the identification result of each monitoring image so as to obtain the tour route of each visitor; the selection module is used for selecting a plurality of tour routes with the same tour route and the maximum number of people from the tour routes of a plurality of tourists to obtain a plurality of candidate tour routes; the third acquisition module is used for acquiring a preset label combination of each visitor; and the third determining module is used for determining the label corresponding to each candidate tour route according to the preset label combination of the visitor corresponding to each candidate tour route.
In one possible implementation, the apparatus further includes: the second acquisition unit is used for acquiring a monitoring image of the target tourist appearing last time after receiving a route recommendation request sent by the target tourist through the client; the identification unit is used for identifying human behavior characteristics of the target tourist in the monitored image; the judging unit is used for judging whether the target visitor has the target behavior according to the human behavior characteristics; and the pushing unit is used for pushing a message corresponding to the target behavior to the tourist if the judgment result is yes.
In a third aspect, the present application provides a computer-readable storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the method provided in the first aspect or any optional implementation manner of the first aspect.
One of the above technical solutions has the following beneficial effects: monitoring images shot by cameras arranged at different visiting positions in a scenic spot are collected; identifying tourists appearing in the monitoring image according to image identification features in a tourist feature library, wherein the image identification features of a plurality of tourists are stored in the tourist feature library, the image identification features of each tourist comprise human face identification features and human body identification features extracted by shooting ticket checking images of the corresponding tourists according to a camera arranged at a ticket checking position of a scenic spot, and the image identification features of each tourist are bound with tourist identity identifications collected by ticket checking equipment arranged at the ticket checking position; recording the tour path of each visitor in a visitor feature library according to the shooting position and the shooting time of the monitoring image identified by the visitor; dividing a plurality of tourists in a tourist feature library into a plurality of categories according to attribute features, wherein the attribute features of each tourist comprise human body identification features and/or group features acquired according to the identity of the tourist; aiming at each category of tourists, the recommended tour route corresponding to the category of tourists is generated according to the tour route of the tourists belonging to the category, so that the tour route statistics of the tourists is more accurate, the tourists do not need to depend on mobile equipment of the tourists or corresponding card swiping equipment configured in a scenic spot, the operation cost of the scenic spot is saved, the recommended tour route more conforming to the personality of the tourists can be recommended to the tourists according to a more accurate tour route statistics result, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart diagram of an alternative embodiment of a method for generating a recommended tour route provided by an embodiment of the present application;
FIG. 2 is a first interaction diagram of a method for generating a recommended tour route according to an embodiment of the present disclosure;
fig. 3 is a flowchart illustrating another alternative embodiment of a method for generating a recommended tour route according to an embodiment of the present application;
fig. 4 is a flowchart illustrating another alternative embodiment of a method for generating a recommended tour route according to an embodiment of the present application;
fig. 5 is a flowchart illustrating another alternative embodiment of a method for generating a recommended tour route according to an embodiment of the present application;
fig. 6 is a flowchart illustrating another alternative embodiment of a method for generating a recommended tour route according to an embodiment of the present application;
fig. 7 is a flowchart illustrating another alternative embodiment of a method for generating a recommended tour route according to an embodiment of the present application;
fig. 8 is a flowchart illustrating another alternative embodiment of a method for generating a recommended tour route according to an embodiment of the present application;
fig. 9 is a flowchart illustrating another alternative embodiment of a method for generating a recommended tour route according to an embodiment of the present application;
fig. 10 is a schematic view of a scene of obtaining a ticket checking image in a method for generating a recommended tour route provided in an embodiment of the present application;
FIG. 11 is a second interaction diagram of a method for generating a recommended tour route according to an embodiment of the present application;
FIG. 12 is a third interaction diagram of a method for generating a recommended tour route according to an embodiment of the present application;
fig. 13 is a schematic diagram of a communication architecture of a method for generating a recommended tour route according to an embodiment of the present application;
fig. 14 is a schematic block diagram of a monitoring terminal provided in an embodiment of the present application;
FIG. 15 is a fourth interaction diagram of a method for generating a recommended tour route according to an embodiment of the present application;
fig. 16 is a schematic diagram of a historical tour route generated by the method for generating a recommended tour route according to the embodiment of the present application;
fig. 17 is a functional block diagram of a recommended tour route generation device provided in an embodiment of the present application.
Detailed Description
The terminology used in the examples section of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the examples of this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship. It should be understood that although the terms first, second, third, etc. may be used to describe a certain term in the embodiments of the present application, they should not be limited to these terms. The first, second and third are only used to distinguish these terms from each other. The word "if" as used in the embodiments of the present application may be interpreted as "at … …" or "at … …" or "in response to … …", depending on the context.
For better understanding of the technical solutions of the present application, the following detailed descriptions of the embodiments of the present application are provided with reference to the accompanying drawings. It should be understood that the embodiments described are only a few embodiments of the present application, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the embodiments in the present application.
An embodiment of the present application provides a method for generating a recommended tour route, where the method provided in the embodiment of the present application may be executed by a server, and the recommended tour route may be used to be provided to a client communicatively connected to the server, as shown in fig. 1, the method for generating a recommended tour route provided in the embodiment of the present application may include the following steps:
step 101, collecting monitoring images shot by cameras arranged at different visiting positions in a scenic spot.
A scenic spot is an area in physical space, which includes different tour locations, each tour location being a location in the scenic spot, each tour location corresponding to a node in a tour route, the tour route including nodes of a plurality of tour locations arranged in an order. At least one camera is arranged at each tour position to shoot monitoring images in real time, the shooting period interval can be set, for example, the shooting can be set once every 1 minute, or the shooting can be set once every 5 minutes, and the setting of the specific shooting period can be determined according to specific situations.
Step 102, identify the number of guests present in the monitored image.
The number of the tourists appearing in the monitoring image is identified, namely, the face recognition (and/or the human body recognition) is carried out in the monitoring image, and after all people appearing in the monitoring image are identified, the number of the people is determined, so that the number of the tourists is obtained. The face recognition or the human body recognition may adopt some image recognition algorithms provided in the existing related technologies, for example, a pre-trained face recognition neural network model may be used to recognize all faces in an image, and determine the number of faces to obtain the number of tourists.
And 103, counting the total number of tourists appearing in the monitoring image of each tourist position in the current preset time period.
Counting the total number of the tourists in a preset time (in a current preset time period) before the current time of each tourist position, determining all monitoring images of a camera arranged for the tourist position in the period (in the current preset time period) for each tourist position, and adding the number of the tourists identified in the images to obtain the total number of the tourists in the period of each tourist position.
And 104, determining the current recommended tour route according to the total number of the tourists in the current preset time period at each tour position.
The total number of the tourists obtained through the step 103 can represent the passenger flow situation of a tourist location in the current preset time period. A higher total number of guests indicates that the tour location is at peak during the period of time, and a higher volume of traffic, and a lower total number of guests indicates that the location is not at peak during the period of time, and the volume of traffic is lower. According to the total number of the tourists at each touring position in the current preset time period, the real-time passenger flow rate condition of each touring position can be determined, and then whether one touring position is placed in the recommended touring route or not and the touring sequence of each touring position in the recommended touring route are determined according to the passenger flow rate, so that the current recommended touring route is obtained.
Alternatively, the determination of the current recommended tour route may be in response to a recommendation request sent by the client, where the recommendation request is used to request the server to send the recommended tour route. After the server determines the recommended tour route, the recommended tour route may be sent to the client and displayed on the client, for example, an interactive interface when the recommended tour route is displayed on the client may be as shown in fig. 2, and the tour route may include: the entrance-tour position a-tour position B-tour position C-tour position D-exit, optionally, the content sent by the server to the client may include node (tour position) identifiers arranged in order (tour order) of the recommended tour route, and after receiving the content sent by the server, the client connects the positions of the node identifiers on the map in the tour order on the map to show the recommended tour route.
Alternatively, as shown in fig. 3, the step 104 of determining the current recommended tour route according to the total number of tourists in the current preset time period at each tour position may include the following steps:
step 1041, acquiring a preset tour route;
and 1042, adjusting the tour sequence of the corresponding tour position in the preset tour route according to the total number of the tourists of each tour position in the current preset time period.
That is, the recommended tour route is obtained by adjusting a default tour route (a preset tour route) according to the real-time passenger flow volume condition in the current scenic spot. The adjusting method is that the tour sequence is adjusted according to the current passenger flow condition of each tour position in the preset tour route.
The adjustment rule used for adjusting the tour order may be a preset rule, as shown in fig. 4, in a possible implementation manner, the step 1042 adjusts the tour order of the corresponding tour position in the preset tour route according to the total number of visitors at each tour position in the current preset time period, and may include the following steps:
step 1421, in a preset tour route, determining a tour position where the total number of tourists exceeds a preset threshold value in a current preset time period, and obtaining a congested tour position;
step 1422, searching for a tour position, which is closest to the congested tour position and has a total number of visitors smaller than a preset threshold value, within a preset range near the congested tour position to obtain a substitute tour position;
in step 1423, the congested tour location in the preset tour route is replaced with a substitute tour location, so as to obtain the current recommended tour route.
That is, the congested tour position in the preset tour route is replaced with a tour position (alternate tour position) that is not in the preset tour route, and the alternate tour position selected is the tour position closest to the congested tour position where the total number of visitors is less than a preset threshold.
For example, the preset tour route is tour position a-tour position B-tour position C-tour position D-tour position E, the total number of tourists at tour position B exceeds 1000 people in the current preset period, 200 meters around tour position B are searched for tour positions with the total number of tourists less than 1000 people in the current preset period, and tour position F, tour position G and tour position H are obtained, wherein tour position F is the closest to tour position B, tour position B is replaced by tour position F, and the current recommended tour route is obtained as: tour position a-tour position F-tour position C-tour position D-tour position E. After the server obtains the current recommended tour route, the server can push the current recommended tour route to a client requesting for recommending the tour route, so that the effect of guiding the tourists to the position with less passenger flow is achieved.
In another possible implementation manner, as shown in fig. 5, the step 1042 of adjusting the tour order of the corresponding tour positions in the preset tour route according to the total number of visitors at each tour position in the current preset time period may include the following steps:
step 1424, in the preset tour route, determining a tour position where the total number of tourists exceeds a preset threshold value in the current preset time period, and obtaining a congested tour position;
in step 1425, the tour order of the congested tour locations is pushed back to obtain the current recommended tour route.
The positions of the tour order of the congested tour positions may be pushed back by a predetermined number of times, for example, the tour route is the tour position a-the tour position B-the tour position C-the tour position D-the tour position E, and the total number of visitors visiting the tour position B exceeds 1000 persons within the current predetermined time period, and the tour position B is pushed back by 2 positions, so that the current recommended tour route is the tour position a-the tour position C-the tour position D-the tour position B-the tour position E.
Optionally, as shown in fig. 6, the step 1041 of obtaining the preset tour route may include the following steps:
step 1411, receiving a route recommendation request sent by a target visitor through a client;
step 1412, acquiring a tag combination of the target guest, wherein the tag combination includes all tags pre-configured for the account of the target guest, and each tag is used for representing an attribute characteristic of the target guest;
in step 1413, selecting a tour route with the largest number of matches with the tags in the tag combination from the plurality of candidate tour routes to obtain a preset tour route, wherein each candidate tour route in the plurality of candidate tour routes corresponds to one or more tags.
For example, a tourist logs in a client through an account, clicks a button icon of "route recommendation" in an interface of the client, and then the client sends a route recommendation request to a server. After receiving the route recommendation request, the server obtains all tags corresponding to the account of the visitor, where each tag may represent an attribute feature, for example, the attribute feature of the gender attribute is "woman", the attribute feature of the age attribute is "70 post", the attribute feature of the professional attribute is "lawyer", the attribute features of the personality attribute include "humorous", "cheering", and the like, and the tag of each visitor may be automatically generated according to personal information filled by the visitor or may be selected by the visitor. The existing candidate tour routes include three, the label corresponding to the first candidate tour route includes "male", "female", "student", "post 00" and "humor", the label corresponding to the second candidate tour route includes "female", "student", "attorney", "open", "master", "star pursuit", "post 70" and "post 80", the label corresponding to the third candidate tour route includes "male", "doctor", "stable", "post 60" and "Beijing", the candidate tour route with the most number of matching labels with the visitor is the second, and the second candidate tour route is selected as the preset tour route.
The candidate tour route may be several most popular tour routes counted according to the historical visitor tour records, and further, for each candidate tour route, several tags with the largest number of tags of the visitor are counted as the tags of the candidate tour route. An alternative embodiment is that, before performing step 1413, a plurality of candidate tour routes is obtained by the following steps as shown in fig. 7:
step 1051, extracting human body identification features from monitoring images shot at different time and different visiting positions;
step 1052, matching the extracted human body identification features with human body identification features in a tourist feature library to identify tourists appearing in the monitoring image, wherein the tourist feature library stores human body identification features of a plurality of tourists collected in advance;
step 1053, recording the tour position and the tour time of each visitor according to the identification result of each monitoring image so as to obtain the tour route of each visitor;
step 1054, selecting a plurality of tour routes with the same tour route and the largest number of people from the tour routes of a plurality of tourists to obtain a plurality of candidate tour routes;
step 1055, acquiring a preset tag combination of each visitor;
and 1056, determining the label corresponding to each candidate tour route according to the preset label combination of the visitor corresponding to each candidate tour route.
Through the steps, a plurality of candidate tour routes and the label corresponding to each tour route can be obtained.
Optionally, as shown in fig. 8, after the step 1411 is executed to receive the route recommendation request sent by the target guest through the client, the method further includes the following steps:
step 1061, acquiring a monitoring image of the target visitor appearing last time;
step 1062, identifying human behavior characteristics of the target tourist in the monitoring image;
step 1063, judging whether the target visitor has the target behavior according to the human behavior characteristics;
and step 1064, if the judgment result is yes, pushing a message corresponding to the target behavior to the guest.
For example, a behavior recognition algorithm is configured in the server. The behavior recognition algorithm is a technology for recognizing and analyzing behaviors of pedestrians by analyzing video data, and the technology is widely applied to the fields of video classification, human-computer interaction, security monitoring and the like. The server may analyze the individual behavior of the guest, using a behavior recognition algorithm to assist in recognizing the guest as appearing in the monitored image. Furthermore, the human behavior recognition algorithm is used to judge whether the tourist has a certain specific behavior, such as the desire to purchase goods. For example, if the behavior recognition algorithm recognizes that the time for which the guest watches the merchandise exceeds a preset time period, which indicates that the guest may have an intention to purchase, the server may push introduction information, promotion information, etc. of some merchandise to the guest's client.
In order to further explain the method for generating the recommended tour route provided by the embodiment of the present application, an implementation of the method for generating the recommended tour route provided by the embodiment of the present application in a specific application scenario will be described in detail below with reference to fig. 9 to 16.
As shown in fig. 9, the method for generating a recommended tour route provided in the embodiment of the present application includes the following steps:
step 201, the tourist scans the two-dimensional code at the ticket checking device.
The ticket checking device can be arranged at an entrance of a scenic spot, an alternative embodiment of the ticket checking device is a ticket checking gate 301 as shown in fig. 10, the ticket checking gate 301 can be arranged at a ticket checking position of the scenic spot, a ticket checking terminal 304 is arranged inside the ticket checking gate 301, and the ticket checking gate 301 is further provided with a camera 303 and a two-dimensional code scanning port 302 which can communicate with the ticket checking terminal 304.
Before entering the scenic spot, the tourist can open the ticketing software pre-installed in the mobile phone (as shown in fig. 11), and can purchase a ticket in real time or advance to obtain a two-dimensional code corresponding to the ticket entering the scenic spot (as shown in fig. 12). The tourist can make the two-dimensional code displayed on the mobile phone face to the two-dimensional code scanning port 302 shown in fig. 10, the camera of the two-dimensional code scanning port 302 shoots the image of the two-dimensional code displayed on the tourist's mobile phone, and the ticket checking terminal 304 can receive the scanned two-dimensional code image.
202. In response to a ticket checking operation in which the guest scans the two-dimensional code, the ticket checking terminal 304 may control the camera 303 to capture an image of the guest.
After the tourist executes the ticket checking operation of scanning the two-dimensional code, the ticket checking terminal 304 receives the two-dimensional code image collected by the two-dimensional code scanning port 302, and in response to the receipt of the two-dimensional code image by the ticket checking terminal 304, the ticket checking terminal 304 can control the camera 303 to collect a tourist entering image, which is referred to as a ticket checking image in the embodiment of the application.
203. According to the ticket checking image, the image identification characteristics of the tourist can be extracted.
The image recognition features may include guest face recognition features and body recognition features. The extraction of the face recognition features can use some existing face recognition technologies, and the face recognition features in the ticket checking image can be extracted based on technologies such as deep learning or neural network models. The human body identification features are attribute features of a human body extracted based on the images, which can be used for classifying the tourists, such as one or more attribute features of age, gender, height, clothes color and the like, and can be processed by using some existing image extraction technologies. The embodiment of the present application is not particularly limited to the manner of extracting the image recognition features.
It should be noted that this step may be performed by the ticket checking terminal 304, and optionally, when the operation pressure of the ticket checking terminal 304 is too large (for example, whether the operation pressure of the ticket checking terminal 304 is too large may be determined according to the processing time length for extracting the image identification feature), the ticket checking terminal 304 may send the ticket checking image to the server 300, and the server 300 extracts the image identification feature in the ticket checking image, and the specific configuration may be determined according to the circumstances, which is not limited in this embodiment of the present application.
204. After receiving the two-dimensional code image of the ticket checking, the ticket checking terminal 304 acquires the identity of the tourist in the two-dimensional code information.
The two-dimensional code information carried in the two-dimensional code image can include a tourist identity, and the tourist identity can include one or more of the following information: the name, the identification card number, the ticket purchasing account number, the mobile phone number and the identity of the tourist are used for marking the tourist.
205. And acquiring the group characteristics of the tourists according to the identity of the tourists.
After obtaining the guest identity, the ticket checking terminal 304 may send the guest identity to the server 300 through the wireless communication module configured by the guest identity, as shown in fig. 13, the server 300 may query the association server 307 for group characteristics of the guest corresponding to the guest identity, for example, one or more characteristics of age, gender, work industry, interests and hobbies and the like, according to the guest identity. An alternative embodiment is that if the group characteristics and the human body identification characteristics comprise the same category, the human body identification characteristics may be based on, for example, age and gender, since the person who purchased the ticket may not be the visitor himself, and the actual characteristics extracted from the image of the visitor who entered the scenic spot may be based on.
It should be noted that step 202 and step 204 are executed after step 201 is executed, but there is no precedence relationship between step 202 and step 204.
206. The attribute characteristics of the tourists comprise image identification characteristics and group characteristics of the tourists, and after the image identification characteristics and the group characteristics of the tourists are obtained, the attribute characteristics of the tourists are stored in a scenic spot tourist database.
The scenic spot visitor database (visitor feature library) may be stored by the server 300, or may be stored by another database server capable of communicating with the server 300. The scenic spot visitor database may include therein attribute characteristics of visitors entering the scenic spot, wherein the image recognition characteristics of the visitors and the identities of the visitors are bound. The scenic spot tourist database also comprises a current-day tourist database, and the data in the current-day tourist database is emptied in a day period, for example, the data in the current-day tourist database is emptied at 0 o' clock every day, so that the information stored in the current-day tourist database is the attribute characteristic of the tourist visiting the scenic spot on the current day. The arrangement of the database of the tourists on the same day improves the efficiency of extracting the image recognition features of the tourists on the same day by the server 300, and facilitates the server 300 to provide more real-time services for the tourists on the same day.
207. Monitoring images of a plurality of positions in a scenic spot are collected.
In addition to the ticket gate terminal 304 provided at the entrance of the scenic spot having a camera, a monitoring terminal including a camera is provided at a different position within the scenic spot, as shown in fig. 13, including a monitoring terminal 305, monitoring terminals 306, … …, and the like. An alternative embodiment of the structure of the monitoring terminal 305 is shown in fig. 14, and may include a camera 3051, a micro-processing unit 3053 and a wireless communication module 3052, wherein the wireless communication module 3052 is used for communicating with the server 300.
The micro-processing unit 3053 may execute some predetermined instructions. For example, in response to an instruction to capture an image transmitted from the server 300, the camera 3051 is controlled to capture a monitoring image, and the monitoring image is transmitted to the server 300 using the wireless communication module 3052. For another example, the micro-processing unit 3053 may perform preset processing on the monitoring image acquired by the camera 3051 to extract an image recognition feature in the monitoring image.
The monitoring terminals 305 and 306 may acquire the monitoring images at corresponding positions in a preset period, optionally, the server 300 may control the acquisition periods of the monitoring terminals 305 and 306, and under the condition that the monitoring terminals 305 and 306 are installed on an operable pan/tilt head, the server 300 may also control the pan/tilt head installed on the monitoring terminals 305 and 306 to move and rotate, so as to control the shooting angles of the monitoring terminals 305 and 306.
208. And extracting image identification features in the monitored image.
The micro-processing unit 3053 of the monitoring terminal 305 may perform preset processing on the monitoring image acquired by the camera 3051, for example, the micro-processing unit 3053 may include a computer-readable storage medium in which program instructions capable of executing an algorithm for extracting image recognition features (including face recognition features and human body recognition features) in the monitoring image are stored, and the algorithm may be the same as the algorithm for extracting image recognition features in the ticket checking image by the ticket checking terminal 304. When the instructions are executed, the micro-processing unit 3053 may extract an image recognition feature in a monitored image captured by the camera 3051.
Optionally, when the current processing capability of the micro-processing unit 3053 of the monitoring terminal 305 is not sufficient (for example, the duration of processing a monitoring image exceeds the preset duration, and the duration of responding to the information sent by the server 300 exceeds the preset duration), the monitoring terminal 305 may directly send the monitoring image to the server 300, and the server 300 extracts the image identification feature in the monitoring image, so as to maximize the utilization rate of the server 300 and the monitoring terminal device set in the scenic spot.
209. And comparing the image identification characteristic of the ticket checking image with the image identification characteristic of the monitoring image to identify the tourists appearing in the monitoring image.
The step may be executed by the server 300, where the server 300 obtains the image recognition features of the guest in the guest database of the current day, and compares the image recognition features with the image recognition features in the monitoring image, and a specific comparison algorithm may use a target re-recognition algorithm, a trained image recognition neural network algorithm, and the like in the prior art, which is not limited in the embodiment of the present application and is not described herein again.
Alternatively, the presence of guests in the monitored images may be preferentially identified using face recognition features. Because some tourists appearing in the monitored image may not face the camera, the monitored image with the face recognition feature extracted cannot be shot, and the tourists appearing in the monitored image can be recognized by using a human body recognition feature recognition technology.
210. In the scenic spot visitor database, the tour path of each visitor is recorded.
The tour path of the guest includes the guest's tour location and tour time. The tourist location may be determined according to a photographing location of the monitoring image in which the visitor is recognized, and the tourist time may be determined according to a photographing time of the monitoring image in which the visitor is recognized. The shooting position of the monitoring image is the position of the monitoring terminal for shooting the monitoring image, and the shooting time is the time for shooting the monitoring image by the monitoring terminal. The tourist position can be determined according to the shooting position, specifically, the tourist position can refer to an area covered by the monitoring terminal, for example, the tourist position can be an area which is manually configured in advance and has a mapping relation with the number of the monitoring terminal. According to the shooting time, the tour time of the tourist can be determined, for example, if the tourist f appears in the monitoring images shot at the first tour positions of 10:35 and 10:45 and is not identified in the monitoring images at other positions of 10: 35-10: 45, the tour time of the tourist f at the first tour position is recorded to be 10: 35-10: 45. After the tour position and the tour time of the tourist are respectively determined according to the shooting position and the shooting time, the tour position and the tour time of the tourist are recorded in a scenic spot tourist database, and the tour path of the tourist is recorded in the form of the tour position and the tour time.
211. And classifying the tourists in the scenic spot tourist database according to the attribute characteristics to generate a recommended tour route of each type of tourists.
The server 300 may read the data of all the tourists in the scenic spot tourist database at a fixed period (for example, every week) and perform clustering according to the attribute features, and an alternative embodiment is to cluster the tourists in the scenic spot tourist database into a plurality of categories by taking each attribute feature as one dimension according to a part of the attribute features (such as sex, age, work, residence, clothing features) and classifying the tourists into a plurality of categories based on the dimensions of a plurality of the attribute features.
And for each category of tourists, generating a recommended tour route corresponding to the category of tourists according to the tour path of the tourists belonging to the category. An alternative embodiment is that, according to the tour position and the tour time of each visitor, the tour order of each visitor at each tour position is determined, the number of visitors in each tour position and the tour order of a category of visitors are sorted, and the tour preference of the category of visitors is determined, for example, the average number of visitors and the average tour order of each tour position can be counted, the first n tour positions with the highest average number of visitors are selected, then an ordered sequence of tour positions is obtained according to the high-low order sorting of the average tour order of the n tour positions, and then the recommended tour route of the category of visitors is generated according to the sequence of tour positions. In addition, the tour duration of the tourist at the tour position can be determined according to the tour time of the tourist at the tour position, then the average tour duration of the tourist at the tour position of a category is counted, and then the recommended tour duration corresponding to the tour position can be provided for the tourist of the category according to the average tour duration of the tourist at the tour position of the category.
The generated recommended tour route may be stored in a database, optionally, the generated recommended tour route may be stored in the scenic spot visitor database, or a recommended tour route for visitors with different attribute characteristics may be configured. A database storing recommended tour routes may be accessed and read by the server 300, and the server 300 may recommend to the guest a recommended tour route that meets the guest's attribute characteristics upon the guest's request. An alternative embodiment comprises the steps of:
step 1, receiving a route recommendation request of a target tourist.
For example, the interface of the ticketing software is shown in fig. 15, which displays icons of a plurality of functions, and the target guest can click on the icon of "recommended tour route" among the icons. After receiving the click of the user (the target tourist), the mobile phone receives a route recommendation request of the target tourist.
And 2, acquiring the attribute characteristics of the target tourist, and determining the corresponding category according to the attribute characteristics of the target tourist.
The mobile phone may send the route recommendation request to the server 300, after receiving the route recommendation request, the server 300 searches the attribute features of the target visitor, such as information of gender, age, occupation, height, and the like, in the scenic spot visitor database according to the account of the target visitor logged in to the ticketing software sent by the mobile phone as an index, and then performs clustering according to the attribute features of the target visitor, where a clustering method is the same as the clustering method described in step 211, and a specific clustering method is adopted without limitation in the embodiment of the present application. After clustering, the server 300 may determine the category to which the target guest belongs.
And 3, searching for the recommended tour route of the tourists of the corresponding category.
The server 300 may read a database in which recommended tour routes are stored, search for the recommended tour route corresponding to the category to which the target visitor belongs, and send the recommended tour route to the mobile phone of the target visitor. An alternative embodiment of the interaction diagram of the recommended tour route displayed on the cell phone side is shown in fig. 2, from entrance to exit, via sight point A, B, C, D.
Optionally, before the server 300 sends the recommended tour route to the mobile phone side, the server 300 may further adjust the recommended tour route according to real-time tour conditions of the current day, for example, the server 300 may read tour data of the current day from a database of the current day of the tourist, determine a tour position (i.e., a congested tour position) at which the number of the tourists exceeds a preset threshold in a current period of time (e.g., within 20 minutes), and if the congested tour position exists in the recommended tour route, the server 300 may remove the congested tour position in the recommended tour route, replace the congested tour position with another tour position, may set to replace another nearby tour position, or replace a tour position with the highest number of tourists in the category except the tour position appearing in the recommended tour route, and so on, which is not limited in the embodiment of the present application.
Alternatively, as shown in fig. 15, in addition to the function of recommending tour routes, the ticketing software of the mobile phone can also provide a function of historical tour routes, and the target tourist can view the tour routes visited on the current day in real time or view the tour routes played in the previous scenic spot. The historical tour route may be generated by the server 300 from the tour locations and tour times stored by the target visitors in the scenic spot visitor database. An optional schematic diagram is shown in fig. 16, for a target visitor, the monitoring terminals 305, 306 and 307 arranged at different positions in a scenic spot respectively capture monitoring images of corresponding areas, the sequence of the monitoring terminals capturing the monitoring images of the target visitor is the monitoring terminals 305, 306 and 307, and according to the sequence and the positions of the target visitor, the tour positions are concatenated in time sequence, and a tour path shown in fig. 16 is generated by fitting. Optionally, the tour path may be a path of the visitor in one day, or may be a path of the visitor visiting a plurality of times on different dates, and may be configured according to the requirement of the target visitor.
Optionally, the server 300 may also count hot visiting locations in a period of time, for example, every quarter, the server 300 reads visiting data of tourists in the scenic spot tourist database, including visiting locations and visiting times, and evaluates the visiting location of the quarter hottest according to a preset hottest evaluation criterion, for example, may count the visiting location of the most tourists in the peak period, the visiting location of the most tourists in the average period, the visiting location of the longest tourists in the average visiting period, and the like, which are used for illustrative purposes only and are not meant to limit the embodiments of the present application.
In some possible implementation manners, the ticketing software of the mobile phone may further include functions of scenic spot explanation, scenic spot activity information release, and the like, and provide the user with voices or characters for explaining the scenic spots, and release the scenic spot positions to be performed, and optionally, the server 300 may determine the current visiting position of the visitor according to the monitoring image, select the visitor near the scenic spot position where the activity is to be performed, and push the scenic spot activity information, so that the visitor near the activity location goes to.
The method for recommending the tour route does not depend on modules of mobile equipment such as Bluetooth and Wi-Fi, and does not need to start Bluetooth and Wi-Fi functions of a mobile phone of a visitor; the method has the advantages that the device for brushing the entity entrance tickets with the RFID at different positions is not needed to count the action routes of the tourists, the operation cost of the scenic spot is saved, the image identification features of the tourists contained in the ticket checking images are stored and serve as comparison features, the tourists are compared and identified in the monitoring images, the tourists can be identified by utilizing the existing monitoring terminal device in the scenic spot, the operation cost of hardware devices in the scenic spot is not needed to be increased, only the improvement on the algorithm is needed, and the method can be realized by adding limited server devices.
The embodiment of the application further provides an embodiment of a device for realizing the steps and the method in the embodiment of the method.
Please refer to fig. 17, which is a functional block diagram of a recommended tour route generation apparatus according to an embodiment of the present application. As shown in fig. 17, the apparatus includes: the device comprises an acquisition unit 10, a recognition unit 20, a statistic unit 30 and a determination unit 40. The system comprises an acquisition unit, a display unit and a control unit, wherein the acquisition unit is used for acquiring monitoring images shot by cameras arranged at different visiting positions in a scenic spot; an identification unit for identifying the number of visitors appearing in the monitored image; the statistical unit is used for counting the total number of tourists appearing in the monitoring image of each tourist position in the current preset time period; and the determining unit is used for determining the current recommended tour route according to the total number of the tourists in the current preset time period at each tour position.
In one possible implementation, the determining unit includes: the first acquisition module is used for acquiring a preset tour route; and the first adjusting module is used for adjusting the tour sequence of the corresponding tour position in the preset tour route according to the total number of the tourists of each tour position in the current preset time period.
In one possible implementation, the first adjusting module includes: the first determining module is used for determining the tourist positions of which the total number of the tourists exceeds a preset threshold value in the current preset time period in a preset tourist route to obtain the congested tourist positions; the searching module is used for searching the tour position which is closest to the jammed tour position and has the total number of the tourists smaller than a preset threshold value in a preset range near the jammed tour position so as to obtain a substitute tour position; and the replacing module is used for replacing the jammed tour position in the preset tour route with the replacing tour position to obtain the current recommended tour route.
In one possible implementation, the first adjusting module includes: the second determination module is used for determining the tourist positions of which the total number of the tourists exceeds a preset threshold value in the current preset time period in the preset tourist route to obtain the congested tourist positions; and the second adjusting module is used for pushing the tour sequence of the jammed tour positions to obtain the current recommended tour route.
In one possible implementation manner, the first obtaining module includes: the receiving module is used for receiving a route recommendation request sent by a target tourist through a client; the second acquisition module is used for acquiring a tag combination of the target visitor, wherein the tag combination comprises all tags pre-configured for an account of the target visitor, and each tag is used for representing an attribute characteristic of the target visitor; the selection module is used for selecting the tour route with the maximum number of matched labels in the label combination from the candidate tour routes to obtain a preset tour route, wherein each candidate tour route in the candidate tour routes corresponds to one or more labels.
In one possible implementation, the apparatus further includes: a first acquisition unit configured to acquire a plurality of candidate tour routes, the first acquisition unit including: the extraction module is used for extracting human body identification features from the monitoring images shot at different time and different visiting positions; the matching module is used for matching the extracted human body identification features with human body identification features in a tourist feature library so as to identify tourists appearing in the monitoring image, wherein the tourist feature library stores human body identification features of a plurality of tourists which are acquired in advance; the recording module is used for recording the tour position and the tour time of each visitor according to the identification result of each monitoring image so as to obtain the tour route of each visitor; the selection module is used for selecting a plurality of tour routes with the same tour route and the maximum number of people from the tour routes of a plurality of tourists to obtain a plurality of candidate tour routes; the third acquisition module is used for acquiring a preset label combination of each visitor; and the third determining module is used for determining the label corresponding to each candidate tour route according to the preset label combination of the visitor corresponding to each candidate tour route.
In one possible implementation, the apparatus further includes: the second acquisition unit is used for acquiring a monitoring image of the target tourist appearing last time after receiving a route recommendation request sent by the target tourist through the client; the identification unit is used for identifying human behavior characteristics of the target tourist in the monitored image; the judging unit is used for judging whether the target visitor has the target behavior according to the human behavior characteristics; and the pushing unit is used for pushing a message corresponding to the target behavior to the tourist if the judgment result is yes.
Since each unit in this embodiment can execute the method for generating the recommended tour route provided by this embodiment, reference may be made to the related description of the above method embodiment for a part of this apparatus embodiment that is not described in detail.
The embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer is enabled to execute the method for generating the recommended tour route provided by the embodiment of the present application, and for the part of the embodiment that is not described in detail, reference may be made to the relevant description of the embodiment of the method.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a Processor (Processor) to execute some steps of the methods according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (10)

1. A method of generating a recommended tour route, the method comprising:
collecting monitoring images shot by cameras arranged at different visiting positions in a scenic spot;
identifying the number of guests present in the monitored image;
counting the total number of tourists appearing in the monitoring image at each touring position within the current preset time period;
and determining the current recommended tour route according to the total number of the tourists at each tour position in the current preset time period.
2. The method of claim 1, wherein determining a current recommended tour route based on the total number of guests at each tour location within the current preset time period comprises:
acquiring a preset tour route;
and adjusting the tour sequence of the corresponding tour position in the preset tour route according to the total number of the tourists of each tour position in the current preset time period.
3. The method according to claim 2, wherein said adjusting the tour order of the corresponding tour positions in the preset tour route according to the total number of the tourists at each tour position in the current preset time period comprises:
in the preset tour route, determining tour positions of which the total number of tourists exceeds a preset threshold value in the current preset time period to obtain congested tour positions;
searching for a tour position which is closest to the congested tour position and has the total number of the tourists smaller than the preset threshold value in a preset range near the congested tour position to obtain a substitute tour position;
and replacing the jammed tour position in the preset tour route with the alternative tour position to obtain the current recommended tour route.
4. The method according to claim 2, wherein said adjusting the tour order of the corresponding tour positions in the preset tour route according to the total number of the tourists at each tour position in the current preset time period comprises:
in the preset tour route, determining tour positions of which the total number of tourists exceeds a preset threshold value in the current preset time period to obtain congested tour positions;
and pushing the tour sequence of the congested tour positions to obtain the current recommended tour route.
5. The method according to any one of claims 2-4, wherein the obtaining of the preset tour route comprises:
receiving a route recommendation request sent by a target tourist through a client;
acquiring a label combination of the target visitor, wherein the label combination comprises all labels pre-configured for an account of the target visitor, and each label is used for representing an attribute characteristic of the target visitor;
selecting a tour route with the largest number of matches with the tags in the tag combination from a plurality of candidate tour routes to obtain the preset tour route, wherein each candidate tour route in the plurality of candidate tour routes corresponds to one or more tags.
6. The method of claim 5, wherein the plurality of candidate tour routes are obtained by:
extracting human body identification features from monitoring images shot at different time and different visiting positions;
matching the extracted human body identification features with human body identification features in a tourist feature library to identify tourists appearing in the monitoring image, wherein the tourist feature library stores human body identification features of a plurality of tourists collected in advance;
recording the tour position and the tour time of each visitor according to the recognition result of each monitoring image so as to obtain the tour route of each visitor;
selecting a plurality of tour routes with the same tour route and the largest number of people from the tour routes of a plurality of tourists to obtain a plurality of candidate tour routes;
acquiring a preset label combination of each tourist;
and determining the label corresponding to each candidate tour route according to the preset label combination of the visitor corresponding to each candidate tour route.
7. The method of claim 6, wherein after receiving a route recommendation request sent by a target guest through a client, the method further comprises:
acquiring a monitoring image of the target visitor appearing last time;
identifying human behavior characteristics of the target tourist in the monitoring image;
judging whether the target visitor has a target behavior according to the human behavior characteristics;
and if so, pushing a message corresponding to the target behavior to the tourist.
8. An apparatus for generating a recommended tour route, the apparatus comprising:
the acquisition unit is used for acquiring monitoring images shot by cameras arranged at different visiting positions in a scenic spot;
an identification unit configured to identify the number of visitors appearing in the monitoring image;
the statistical unit is used for counting the total number of tourists appearing in the monitoring image at each tourist position in the current preset time period;
and the determining unit is used for determining the current recommended tour route according to the total number of the tourists at each tour position in the current preset time period.
9. The apparatus of claim 8, wherein the determining unit comprises:
the first acquisition module is used for acquiring a preset tour route;
and the first adjusting module is used for adjusting the tour sequence of the corresponding tour position in the preset tour route according to the total number of the tourists of each tour position in the current preset time period.
10. A computer-readable storage medium, in which a computer program is stored which, when run on a computer, causes the computer to carry out the method according to any one of claims 1 to 7.
CN202010319188.1A 2020-04-21 2020-04-21 Method and device for generating recommended tour route and computer readable storage medium Pending CN113630721A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010319188.1A CN113630721A (en) 2020-04-21 2020-04-21 Method and device for generating recommended tour route and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010319188.1A CN113630721A (en) 2020-04-21 2020-04-21 Method and device for generating recommended tour route and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN113630721A true CN113630721A (en) 2021-11-09

Family

ID=78376281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010319188.1A Pending CN113630721A (en) 2020-04-21 2020-04-21 Method and device for generating recommended tour route and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113630721A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116739838A (en) * 2023-05-06 2023-09-12 广州圈量网络信息科技有限公司 Passenger flow volume distribution system for intelligent analysis of geographic position
CN116933818A (en) * 2023-09-18 2023-10-24 深圳市景区码科技有限公司 Scenic spot two-dimension code management method, system and storage medium
CN117152677A (en) * 2023-08-01 2023-12-01 中国环境科学研究院 Monitoring system and method for evaluating satisfaction degree of tourists in scenic spot

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107797555A (en) * 2017-10-30 2018-03-13 奇瑞汽车股份有限公司 A kind of tourist coach automatic Pilot control method and device
CN108769924A (en) * 2018-04-28 2018-11-06 哈尔滨工业大学 A kind of scenic spot tourist chain type trip service system and method
CN110444133A (en) * 2019-08-13 2019-11-12 上饶市中科院云计算中心大数据研究院 A kind of method and apparatus of tourist attraction intelligent guide
CN110826870A (en) * 2019-10-22 2020-02-21 恒大智慧科技有限公司 Scenic spot consumption management method and system and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107797555A (en) * 2017-10-30 2018-03-13 奇瑞汽车股份有限公司 A kind of tourist coach automatic Pilot control method and device
CN108769924A (en) * 2018-04-28 2018-11-06 哈尔滨工业大学 A kind of scenic spot tourist chain type trip service system and method
CN110444133A (en) * 2019-08-13 2019-11-12 上饶市中科院云计算中心大数据研究院 A kind of method and apparatus of tourist attraction intelligent guide
CN110826870A (en) * 2019-10-22 2020-02-21 恒大智慧科技有限公司 Scenic spot consumption management method and system and computer readable storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116739838A (en) * 2023-05-06 2023-09-12 广州圈量网络信息科技有限公司 Passenger flow volume distribution system for intelligent analysis of geographic position
CN116739838B (en) * 2023-05-06 2024-03-08 广州圈量网络信息科技有限公司 Passenger flow volume distribution system for intelligent analysis of geographic position
CN117152677A (en) * 2023-08-01 2023-12-01 中国环境科学研究院 Monitoring system and method for evaluating satisfaction degree of tourists in scenic spot
CN116933818A (en) * 2023-09-18 2023-10-24 深圳市景区码科技有限公司 Scenic spot two-dimension code management method, system and storage medium
CN116933818B (en) * 2023-09-18 2024-02-06 深圳市景区码科技有限公司 Scenic spot two-dimension code management method, system and storage medium

Similar Documents

Publication Publication Date Title
CN107978044B (en) High-precision recognition system and recognition method based on face recognition technology and RFID technology
CN109271554B (en) Intelligent video identification system and application thereof
CN106776619B (en) Method and device for determining attribute information of target object
CN105488478B (en) Face recognition system and method
CN113630721A (en) Method and device for generating recommended tour route and computer readable storage medium
CN106296879B (en) The methods, devices and systems that flow of the people based on wireless exploration obtains
CN113674037B (en) Data acquisition and recommendation method based on shopping behaviors
CN105913507B (en) A kind of Work attendance method and system
CN108446681B (en) Pedestrian analysis method, device, terminal and storage medium
CN104112209A (en) Audience statistical method of display terminal, and audience statistical system of display terminal
CN111985348B (en) Face recognition method and system
CN111241932A (en) Automobile exhibition room passenger flow detection and analysis system, method and storage medium
CN108197318A (en) Face identification method, device, robot and storage medium
CN108540755A (en) Personal identification method and device
US10997609B1 (en) Biometric based user identity verification
CN107911643A (en) Show the method and apparatus of scene special effect in a kind of video communication
CN110533440A (en) A kind of internet advertisement information dispensing application method based on video camera
CN106529500A (en) Information processing method and system
CN111445252A (en) Method, device and equipment for establishing biological feature library
CN110175553B (en) Method and device for establishing feature library based on gait recognition and face recognition
Galiyawala et al. Person retrieval in surveillance using textual query: a review
CN115866547A (en) Fixed area tourist counting method, system and storage medium based on signaling data
CN113409056B (en) Payment method and device, local identification equipment, face payment system and equipment
CN112560775A (en) Switch control method and device, computer equipment and storage medium
KR102212711B1 (en) Amusement execution system

Legal Events

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