Photographing identification method and system for ball locking cabinet of billiard hall
By using a photo recognition method and system for pool hall lockers, and utilizing smart terminals and optical modules to automate the management of lockers, the problem of low efficiency in traditional manual management is solved, achieving efficient and secure management of lockers.
Patent Information
- Application Number
- CN202511592800.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-03
- Publication Date
- 2026-01-13
AI Technical Summary
Traditional billiard hall locker management relies on manual operation, which is inefficient and cannot meet the high-frequency usage demand, especially when there are many customers.
The system employs a photo recognition method and system for pool hall lockers. Through the collaborative work of intelligent terminals and optical modules, it achieves automated management, including acquiring status information, adjusting the optical environment, image acquisition and recognition, and generating feedback commands to control the operation of the lockers.
It has achieved automation and intelligence in the management of lockers, reduced manual intervention, improved management efficiency and accuracy, simplified customer operations, ensured the safety of property, and enhanced user satisfaction and operational order.
Smart Images

Figure CN121330243A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of this disclosure relate to the technical field of pool hall locker management, and more specifically, the embodiments of this disclosure relate to a method and system for photographic recognition of pool hall lockers. Background Technology
[0002] Traditional billiard hall locker management often relies on dedicated staff to retrieve and return equipment. This method is not only inefficient, but also becomes increasingly difficult to meet the demands of efficient operation when there are many customers, as the number of customers increases with the growth of the billiard hall business and the number of customers also increases significantly.
[0003] Public content In view of this, this disclosure provides a method and system for photo recognition of pool hall lockers, so as to enable users to use the lockers efficiently.
[0004] According to a first aspect of this disclosure, a method for photo recognition of pool hall lockers is provided, comprising: Obtain the status information of the lock-up pod with the specified code, and send task instructions to the user's smart terminal and the lock-up pod with the specified code respectively based on the status information; According to the task instructions, the optical environment of the optical modules pre-deployed inside the coded ball lock is managed so that the ball lock is in a specified optical environment. The task instruction drives the smart terminal to switch to photo recognition mode, so as to acquire images of the lock cabinet in a specified optical environment through the smart terminal in photo recognition mode, and obtain verification image data. The verification image data is used to identify the image content, and a feedback instruction is generated based on the identification result to be sent to the smart terminal and the lock-up cabinet to perform the corresponding operation.
[0005] According to a second aspect of this disclosure, a billiard hall locker photo recognition system is provided, used to implement the billiard hall locker photo recognition method described in any one of the first aspects, comprising: The task sending module is used to obtain the status information of the lock-up cabinet with a specified code, and send task instructions to the user's smart terminal and the lock-up cabinet with the specified code respectively according to the status information; An optical management module is used to manage the optical environment of optical modules pre-deployed inside a coded ball locker according to the task instructions, so that the ball locker is in a specified optical environment. The image acquisition module is used to drive the smart terminal to switch to the photo recognition mode through the task instruction, so as to acquire images of the lock-up cabinet in the specified optical environment through the smart terminal in the photo recognition mode, and obtain verification image data. The content recognition module is used to recognize the image content of the verification image data and generate feedback instructions based on the recognition results, which are then sent to the smart terminal and the lock cabinet to perform corresponding operations.
[0006] The technical solution disclosed herein has the following beneficial effects: This invention automates and intelligentizes management, reduces manual intervention, lowers labor costs, improves management efficiency and accuracy, and accurately records usage. In terms of user experience, it simplifies customer operation processes, allowing customers to complete tasks independently, saving time and increasing satisfaction. In terms of security, it verifies the status of props and lockers through image recognition to prevent loss of property and unauthorized operations, ensuring the safety of billiard hall property and operational order, and promoting the modernization of billiard hall management. Attached Figure Description
[0007] Figure 1 This illustration shows a step diagram of a method for photographing and recognizing a pool hall locker in this exemplary embodiment; Figure 2 This diagram illustrates the structure of a billiard hall locker photo recognition system according to an exemplary embodiment. Detailed Implementation
[0008] To make the objectives, technical solutions, and advantages of this disclosure clearer, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this disclosure, and not all of them. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure. Unless otherwise specified, the embodiments and features in the embodiments of this disclosure can be arbitrarily combined with each other. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than that shown here.
[0009] The term "comprising" and any variations thereof in the specification and claims of this disclosure are intended to cover non-exclusive protection. For example, a process, method, system, product, or apparatus that comprises a series of steps or units is not limited to the steps or units listed, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to such process, method, product, or apparatus.
[0010] In this disclosure, there are one or more embodiments; "multiple" refers to two or more. "And / or" describes the relationship between the associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following associated objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.
[0011] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order, sequence, size, or priority. For example, the terms "first dialogue information" and "second dialogue information" in the embodiments of this disclosure are merely used to distinguish different dialogue information. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0012] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, which are schematic illustrations of this disclosure and are not necessarily drawn to scale. Some block diagrams shown in the drawings may be functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software, in hardware modules or integrated circuits, or in networks, processors, or microcontrollers. Implementations can be carried out in various forms and should not be construed as limited to the examples set forth herein. The features, structures, or characteristics described in this disclosure can be combined in any suitable manner in one or more implementations. In the following description, numerous specific details are provided to give a thorough description of the embodiments of this disclosure. However, those skilled in the art will recognize that one or more specific details may be omitted when implementing the technical solutions of this disclosure, or other methods, components, devices, steps, etc., may be used to replace one or more specific details. It should be noted that in the embodiments of this disclosure, the dissemination and use of data comply with relevant national laws and regulations. Please see Figure 1 As shown in the figure, this disclosure provides a method for photo recognition of a pool hall locker, including: S1: Obtain the status information of the lock-up cabinet with the specified code, and send task instructions to the user's smart terminal and the lock-up cabinet with the specified code respectively according to the status information; S2: According to the task instructions, manage the optical environment of the optical modules pre-deployed inside the coded ball lock cabinet so that the ball lock cabinet is in a specified optical environment. S3: Drive the smart terminal to switch to photo recognition mode through the task instruction, so as to acquire images of the lock cabinet in the specified optical environment through the smart terminal in photo recognition mode, and obtain verification image data; S4: Recognize the image content of the verification image data, and generate feedback instructions based on the recognition results to send to the smart terminal and the lock-up cabinet to perform corresponding operations.
[0013] In step S1 of the embodiments provided in this disclosure, when a user uses a pool hall locker, their needs (such as which locker code to use, whether to retrieve or return equipment, etc.) are exchanged with a network service platform through a smart terminal. The network service platform can be the backend server of the pool hall management system. It receives request information sent by the user's smart terminal, thereby clarifying the user's locker usage needs at the current time. The locker usage needs include the specified code of the locker waiting to be used and the expected demand for the locker. Obtaining usage needs through interaction with the user's smart terminal is to achieve personalized service. Different users have different locker usage needs at different times. Only by accurately obtaining these needs can the system provide targeted services to users and improve the user experience.
[0014] More specifically, once the user's needs for using the locker are clarified, the system will control the opening of the locker door with the specified code according to the needs. If the user's expected need is to retrieve an item, the user can take the required item from the locker after the door opens; if it is to return an item, the user can put the item into the locker. During this process, the system will generate corresponding status information based on the locker's expected needs. The status information can include whether the locker is currently in the item retrieval or item return state, the open / closed state of the locker door, etc. Controlling the locker door to open is the basic operation to meet the user's needs for retrieving or returning items, while generating status information provides a basis for subsequent task allocation and operation verification. The status information can reflect the current usage status of the locker, and the system can use this information to determine whether subsequent operations meet expectations.
[0015] More specifically, the system analyzes and interprets the generated status information to clarify the tasks that the smart terminal and the coded locking cabinet need to perform. For the smart terminal, the task is to switch to photo recognition mode; for the locking cabinet, the task is to adjust the working state of the internal optical module. The interpretation of the status information is to break down the overall task into specific tasks for the smart terminal and the locking cabinet. Different devices play different roles in the entire photo recognition process. Only by clarifying their respective tasks can we ensure that all devices work together to complete the entire process.
[0016] More specifically, after determining the tasks to be performed by the smart terminal and the locking device, the system generates corresponding task instructions for them. These task instructions are specific operation commands; for example, the instruction for the smart terminal is "switch to photo recognition mode," and the instruction for the locking device is "turn on the basic light source optical module and the fluorescent display optical module." The system then sends these task instructions to the smart terminal and the locking device with the specified code, enabling them to perform the corresponding operations according to the instructions. Generating and sending task instructions ensures that the smart terminal and the locking device can accurately execute their respective tasks. An instruction is a clear operational directive; after receiving the instruction, the device can operate according to the predetermined procedure, ensuring the orderly progress of the entire photo recognition process.
[0017] In step S2 of the embodiments provided in this disclosure, after the system receives the task instruction, it first performs a detailed analysis. This is because the task instruction is usually a comprehensive instruction that includes the operational requirements for different optical modules inside the spherical cabinet. By analyzing the task instruction, the specific tasks that the basic light source optical module and the fluorescent display optical module need to perform can be clearly identified. The basic light source optical module needs to adjust parameters such as brightness and color, while the fluorescent display optical module needs to display specific content. The task instruction is usually a whole instruction, while the optical modules inside the spherical cabinet have different functions and operational requirements. Analyzing the task instruction can break down the overall task into specific tasks for each module, ensuring that each module can clearly understand the operations it needs to perform, thereby achieving precise control of the optical environment.
[0018] More specifically, after clarifying the task of the basic light source optical module, the system will drive the module to start working. The main function of the basic light source optical module is to provide a suitable ambient light source for the inside of the lock box. This light source can ensure that the inside of the lock box has sufficient brightness, so that the smart terminal can clearly capture the image information inside the lock box when taking pictures. The intensity, color and other parameters of the light source will be adjusted according to the task requirements to meet the photography needs in different scenarios. The ambient light source provided by the basic light source optical module is a key factor in ensuring that the smart terminal can take clear pictures. A suitable ambient light source can improve the clarity and contrast of the image, making the subsequent recognition of image content more accurate. If there is not enough light source, the captured image will be blurry, affecting the accuracy of the recognition results.
[0019] More specifically, in order to accurately record and verify the usage of the locker, the system obtains the locker's designated code and current time information. Then, according to preset rules, it encodes this information into features, converting it into content that can be displayed by the fluorescent display module. The purpose of this is to confirm the locker's identity and the time of the photo capture by recognizing the fluorescent display content during the photo recognition process, thereby increasing the accuracy and security of the verification. By encoding the locker's designated code and time information and displaying it on the fluorescent module, additional verification information can be provided for subsequent image recognition. This ensures that the captured image does indeed come from the locker with the designated code and records the time of the photo capture, preventing cheating or misoperation and improving the security and reliability of the entire system.
[0020] More specifically, for the generated fluorescent display content, the system will analyze its specific presentation according to preset rules. Because fluorescent displays can have many different presentation forms, such as different fonts, colors, and flashing frequencies, through analysis, multiple possible fluorescent display forms can be obtained. These forms can all display the same fluorescent display content, but they will differ in visual effects and recognition difficulty. Different fluorescent display forms will have different recognition effects under different light source environments. Analyzing multiple fluorescent display forms can provide more options for selecting the best display form in the future, thereby improving the recognizability of fluorescent display content under various light source environments.
[0021] More specifically, after obtaining multiple fluorescent display formats, the system comprehensively considers the ambient light source provided by the basic light source optical module and the external light source environment information of the lock cabinet. Different light source environments will affect the recognition of fluorescent displays. For example, strong light will mask the display effect of fluorescence, making recognition difficult. Therefore, the system will evaluate the recognition difficulty of each fluorescent display format and predict the recognition error probability. Based on the evaluation and prediction results, a recognition value parameter is generated. This parameter can reflect the recognition quality of each fluorescent display format in the current light source environment. Considering that the light source environment of the lock cabinet is complex and variable, different light source environments will have different effects on the recognition of fluorescent displays. By evaluating the recognition difficulty and predicting the recognition error probability, the fluorescent display format that is most easily recognized in the current light source environment can be identified, reducing recognition errors caused by light source environment problems and improving recognition accuracy.
[0022] More specifically, the system compares the recognition value parameters of various fluorescent display formats. Through comparison, it identifies the fluorescent display format with the lowest recognition difficulty and the lowest probability of recognition error under the current light source environment, and determines this as the optimal fluorescent display format. Then, the system drives the fluorescent display optical module to display fluorescently in this optimal form, creating a specified optical environment inside the lock cabinet. This allows the smart terminal to accurately capture images containing valid information. Selecting the optimal fluorescent display format ensures that the smart terminal can accurately capture the fluorescent display content when taking pictures, thereby improving the success rate and accuracy of image recognition. This step is the ultimate goal of the entire optical environment management process. By optimizing the fluorescent display format, the entire picture recognition process becomes more reliable and efficient.
[0023] In step S3 of the embodiments provided in this disclosure, the system sends the previously generated task instruction to the user's smart terminal. After receiving the task instruction, the smart terminal parses it and identifies the instruction content that requires switching to the photo recognition mode. The accurate transmission and parsing of the task instruction is the basis for ensuring that the smart terminal can perform the operation correctly. The system needs to clearly inform the smart terminal of the photo recognition task, and the smart terminal needs to accurately understand the instruction content in order to perform the subsequent mode switching operation.
[0024] More specifically, based on the parsed instructions, the smart terminal calls its own photo recognition function module to switch the device from the current mode to the photo recognition mode. This involves launching a specific photo application and loading a recognition algorithm model to ensure that the smart terminal has the ability to take pictures and recognize image content. The photo recognition mode is a necessary condition for the smart terminal to perform image acquisition and recognition tasks. Only by switching to this mode can the smart terminal call the corresponding function modules to prepare for subsequent image acquisition and recognition work.
[0025] More specifically, after the smart terminal successfully switches to the photo recognition mode, the system will prompt the user to take a picture of the lock cabinet in the specified optical environment through the smart terminal's interface or voice. The prompts include the operation method for taking pictures, the required angle and distance, etc., to help the user take pictures that meet the requirements. Since users are not familiar with the specific requirements and operation methods for taking pictures, prompting the user to take pictures can guide the user to take pictures that meet the system's requirements. This helps to improve the quality and efficiency of image acquisition and reduce the situation of invalid images or recognition errors caused by improper user operation.
[0026] More specifically, users follow the prompts to operate the smart terminal and take a picture of the locker. The smart terminal's camera captures images of the inside of the locker, including the arrangement of props and fluorescent display content, and collects and stores this image data. Image acquisition is one of the core steps in the entire photo recognition process. By taking images of the inside of the locker, key information such as the arrangement of props and fluorescent display content can be obtained. This information will be used in the subsequent recognition and verification process to determine whether the user's use of the locker meets expectations.
[0027] More specifically, after acquiring image data, the smart terminal performs preliminary processing on the image, including image cropping, brightness and contrast adjustment, and noise reduction, to improve image quality and make the subsequent recognition process more accurate. The original acquired image may have some quality problems, such as uneven brightness and noise interference, which can affect the accuracy of subsequent image recognition. By performing preliminary processing on the image, the image quality can be improved, the clarity and recognizability of key information in the image can be enhanced, thereby increasing the success rate of recognition.
[0028] More specifically, the image data after preliminary processing is marked as verification image data. The smart terminal prepares it for subsequent transmission and recognition processing. Marking the image data after preliminary processing as verification image data is to facilitate subsequent management and processing. The system can perform unified recognition and analysis based on the verification image data to determine the correctness of the user's operation and generate corresponding feedback instructions.
[0029] In step S4 of the embodiments provided in this disclosure, the prop placement and fluorescent display content of the verification image data are identified to obtain the prop placement and fluorescent display content inside the locker. This step typically uses image recognition algorithms, such as deep learning-based object detection algorithms, to identify the position, quantity, and placement of props, and character recognition algorithms to identify the character content displayed in the fluorescent display. The prop placement and fluorescent display content are key information for determining whether the user's operation is compliant. By identifying these contents, the system can obtain the actual situation inside the locker, providing basic data for subsequent verification and matching.
[0030] More specifically, the fluorescent display content is interpreted to obtain the designated code and shooting time of the locker corresponding to the verification image data. The interpreted designated code and shooting time are verified based on the status information of the locker with the designated code to determine whether the verification image data belongs to the locker with the designated code. For example, the interpreted code is compared with the target code recorded by the system to determine whether the shooting time is within a reasonable operating time period. The fluorescent display content contains the key identification of the locker and the shooting time information. Verifying this information can ensure the source and timeliness of the image data, prevent users from accidentally taking pictures or maliciously using images of other lockers for verification, and ensure the accuracy and security of the entire verification process.
[0031] More specifically, the placement of props is matched based on the status information to determine whether the prop placement reflected in the verification image data meets the user's expected needs for the locker. For example, if the user's expected need is to return all props, then it is checked whether the locker in the image contains all the props that should be returned and are neatly arranged. Determining whether the prop placement meets the expected needs is an important step in checking whether the user is using the locker correctly. If the prop placement does not meet the requirements, it means that the user has not returned or taken the props correctly, and it needs to be corrected to ensure the normal management and subsequent use of the locker.
[0032] More specifically, if the recognition result shows that the verification image data belongs to the locker with the specified code, and the placement of the props meets the user's expected requirements for the locker: a first type of feedback instruction is generated and sent to the smart terminal to indicate task completion, and simultaneously sent to the locker to control the locker to close the door. If the recognition result shows that the verification image data does not belong to the locker with the specified code: a second type of feedback instruction is generated and sent to the smart terminal to prompt the user to perform image acquisition on the locker with the specified code. If the recognition result shows that the verification image data belongs to the locker with the specified code, but the placement of the props does not meet the user's expected requirements for the locker: a third type of feedback instruction is generated and sent to the smart terminal to instruct the user to perform prop placement operations on the locker with the specified code and to perform image acquisition again. Generating corresponding feedback instructions based on different recognition results can promptly convey the operation results and next operation requirements to the user and the locker. In cases where the requirements are met, the user is promptly informed that the task is completed and the locker door is closed, improving efficiency; in cases where the requirements are not met, the user is prompted to perform the correct operation to ensure the normal operation of the entire system.
[0033] More specifically, while generating the second and third types of feedback instructions, a warning message will be sent to the management terminal to alert users of potential problems in using the pool locker. Sending the warning message to the management terminal allows managers to understand the problems encountered by users in using the pool locker in a timely manner, facilitates timely intervention and handling, prevents the problem from worsening, and ensures the smooth operation of the pool locker management in the billiard hall.
[0034] In one possible implementation, the user's smart terminal interacts with the network service platform to obtain the user's current locker usage needs; wherein, the locker usage needs include a designated code for a locker waiting to be used and the expected demand for lockers. According to the expected needs of the locker, the door of the locker with the specified code is opened so that the user can take or return the props inside the locker. At the same time, the corresponding status information is generated according to the expected needs of the locker with the specified code.
[0035] Specifically, users open an application or mini-program related to the management of billiard hall lockers on their smart terminals to enter the locker user interface. On this interface, users click on the corresponding operation buttons, such as "Take Item" or "Return Item," and select the specified code of the locker they want to use to initiate an information interaction request with the network service platform. The user's initiation of the interaction request is the starting point of the entire process. Through the smart terminal's operation interface, users can easily express their locker usage needs, which enables the system to process them accordingly based on the user's actual needs, improving user experience and system relevance.
[0036] More specifically, after receiving the user's operation command, the smart terminal packages the data such as the user's selected locker code and the locker's expected needs (retrieving or returning items), and sends it to the network service platform via a network (such as Wi-Fi or mobile data network). The smart terminal transmits the user's operation data to the network service platform so that the platform can obtain the user's needs information. As the core management node of the entire system, the network service platform needs to collect and process this information in order to uniformly control and manage the lockers.
[0037] More specifically, after receiving data from the smart terminal, the network service platform first verifies the integrity and legality of the data, checking whether the data format is correct and whether the user has the permission to use the locker. If the verification passes, the next step is performed; if the verification fails, an error message is returned to the smart terminal. The network service platform verifies the received data to ensure the security and stability of the system. Verifying the integrity and legality of the data can prevent illegal requests and erroneous data from interfering with the system and ensure the normal operation of the system.
[0038] More specifically, the network service platform generates a control command for opening the locker door with a specified code based on the user's locker usage needs. This command includes the specific code of the locker and relevant information about the opening operation. Generating control commands based on user needs is to achieve precise control of the locker. Different user needs correspond to different operation commands. Only by accurately generating control commands can we ensure that the locker opens according to the user's wishes.
[0039] More specifically, the network service platform sends the generated control commands to the coded lock-up cabinet control system via the network. After receiving the commands, the lock-up cabinet control system parses and verifies them to ensure their legality and validity. The process of sending the control commands to the lock-up cabinet control system and parsing and verifying them is to ensure that the commands are accurately transmitted to the lock-up cabinet. The lock-up cabinet control system needs to verify the commands to prevent malicious or erroneous commands from causing malfunctions in the lock-up cabinet.
[0040] More specifically, after verifying that the command is correct, the locker control system activates the locker door to open the door. At this point, the user can take or return the items inside the locker. The locker door opens, fulfilling the user's actual need to take or return items. This is one of the core objectives of the entire process. Through the system's automated control, the convenience of using the locker is improved.
[0041] More specifically, the network service platform generates corresponding status information based on the expected needs (access or return of items) of the locker with a specified code. The status information includes the current usage status of the locker (open, in use, closed, etc.), the expected item operation (access or return), and the operation time. This status information will be stored in the database of the network service platform for subsequent photo recognition and management. Generating status information and storing it in the database provides a basis for subsequent photo recognition and management. The status information records the usage and expected operation of the locker. During the photo recognition process, this information can be used to determine whether the user's operation meets expectations, thereby achieving effective management of the use of the locker.
[0042] In one possible implementation, the step of sending task instructions to the user's smart terminal and the locker with a specified code based on the status information includes: The status information is parsed to obtain the tasks to be executed by the smart terminal and the lock cabinet with the specified code. Based on the task to be executed, corresponding task instructions are generated for the smart terminal and the specified code, and the task instructions are sent to the smart terminal and the locker with the specified code.
[0043] Specifically, the network service platform first collects the status information of the previously generated, coded lock-up ball cabinets. This status information is stored in a database and includes the current usage status of the lock-up ball cabinet (such as open, item retrieved or returned, closed, etc.), expected item operation status, operation time, etc. The platform integrates this scattered status information to form a complete and easily processed status dataset. The collection and integration of status information is the foundation for subsequent task parsing. Scattered status information is not conducive to direct analysis and processing. By integrating it, relevant information can be centralized to form a clear status view, making it easier to accurately parse the tasks to be executed by the smart terminal and the lock-up ball cabinet.
[0044] More specifically, based on the integrated status information, the tasks that the smart terminal needs to perform are analyzed. For example, if the status information shows that the user needs to take a photo for verification after taking a prop, then the tasks to be performed by the smart terminal are to switch to photo recognition mode and prompt the user to take a photo. Similarly, the tasks to be performed by the locker are analyzed based on the status information. For example, if the user needs to adjust the optical environment to facilitate photo recognition after returning the prop, the tasks to be performed by the locker are to turn on the internal basic light source optical module and the fluorescent display optical module. Analyzing the tasks to be performed by the smart terminal and the locker is to clarify the specific work that each device needs to complete in the current state. Different status information corresponds to different operational requirements. Only by accurately analyzing the tasks to be performed can we provide a basis for generating appropriate task instructions and ensure that the system can operate according to the expected process.
[0045] More specifically, based on the tasks to be performed by the intelligent terminal obtained from the analysis, corresponding task instructions are generated. The instructions clearly tell the intelligent terminal the specific operations to be performed, such as "switch to photo recognition mode" or "display photo prompt information." The instructions are encapsulated in a specific data format for transmission over the network. For a lock-up pod with a specified code, corresponding task instructions are generated according to its tasks to be performed, such as "turn on the basic light source optical module and set the brightness to X" or "display specific code and time information on the fluorescent display optical module." These instructions are also encapsulated into a data format suitable for the lock-up pod control system to receive and process. Generating corresponding task instructions based on the tasks to be performed is a key step in realizing the system's automated control. The task instructions are specific operation instructions, and the intelligent terminal and lock-up pod need to perform corresponding operations based on these instructions. By generating clear and accurate task instructions, it can be ensured that the equipment can work according to the system requirements, thereby improving the system's reliability and stability.
[0046] More specifically, the network service platform sends the generated smart terminal task instructions to the user's smart terminal via a network (such as Wi-Fi, mobile data network, etc.). During the transmission process, a reliable transmission protocol is used to ensure that the instructions reach the smart terminal accurately. Similarly, the platform sends the task instructions of the ball lock cabinet to the ball lock cabinet control system with a specified code. This can be transmitted via wired network or wireless communication (such as ZigBee, Bluetooth, etc.) to ensure that the instructions are received and executed by the ball lock cabinet in a timely manner. Sending task instructions to the smart terminal and the ball lock cabinet is to enable the devices to receive operation instructions and execute corresponding tasks. Reliable instruction transmission is a necessary condition for ensuring the normal operation of the system. Using appropriate network transmission methods and protocols can ensure that instructions are not lost or tampered with during transmission, thereby enabling the smart terminal and the ball lock cabinet to accurately execute tasks and complete the entire photo recognition process.
[0047] In one possible implementation, the step of managing the optical environment of an optical module pre-deployed inside a coded ball lock according to the task instructions, so that the ball lock is in a specified optical environment, includes: The task instructions are parsed to obtain the module tasks of the basic light source optical module and the fluorescent display optical module pre-deployed inside the lock cabinet with a specified code; According to the module task, the basic light source optical module is driven to provide an ambient light source for the lock-up cabinet with a specified code. At the same time, according to the module task, the fluorescent display optical module is driven to perform fluorescent display of specified content, so that the lock-up cabinet is in a specified optical environment.
[0048] Specifically, after receiving the task instruction from the network service platform, the lock-up cabinet control system first performs a preliminary check on the completeness and legality of the instruction. This check includes verifying whether the instruction contains relevant operational information for the basic light source optical module and the fluorescent display optical module, and whether the data format of the instruction meets system requirements. If there are problems with the instruction, the system will report the error information to the network service platform. This preliminary check ensures the accuracy and reliability of subsequent operations. If the received instruction has issues with completeness or legality, it will cause the optical module to perform incorrect operations, affecting the image recognition effect. Through this preliminary check, problems in the instruction can be identified and addressed in a timely manner, ensuring the normal operation of the system.
[0049] More specifically, the task instructions that have undergone preliminary inspection are analyzed in detail to extract the module tasks of the basic light source optical module and the fluorescent display optical module. For example, for the basic light source optical module, the analyzed task is to turn on the light source and adjust the brightness to a specified value; for the fluorescent display optical module, it is to display specific codes and time information. The task instruction is usually a comprehensive instruction that contains the operation information of multiple modules. By analyzing the task instruction, the overall task can be decomposed into the specific tasks of the basic light source optical module and the fluorescent display optical module, which facilitates the separate control and management of the two modules.
[0050] More specifically, based on the analyzed basic light source optical module task, the parameters that need to be set for this module are determined, such as the brightness and color temperature of the light source. These parameters will be adjusted according to the environment of the lock-up device and the requirements of image recognition. If the environment around the lock-up device is dark, the brightness of the light source needs to be increased. The parameter configuration of the basic light source optical module directly affects the lighting environment inside the lock-up device. Appropriate lighting conditions are crucial for the smart terminal to capture clear and accurate images. Adjusting the light source parameters according to different environments and recognition requirements can improve image quality, thereby increasing the success rate of image recognition.
[0051] More specifically, the configured parameters are sent to the basic light source optical module to drive it to start working. After receiving the parameters, the module provides ambient light according to the set brightness, color temperature and other conditions to make the inside of the lock box reach a suitable lighting level. Driving the basic light source optical module is to provide a stable and suitable ambient light for the inside of the lock box. A good lighting environment can enable the smart terminal to more clearly capture the placement of props and fluorescent display content inside the lock box, providing strong support for subsequent recognition work.
[0052] More specifically, based on the task instructions and relevant information about the ball locker, the specified content to be displayed by the fluorescent display optical module is generated. This is usually done by combining the specified code of the ball locker and the current time information, and performing feature encoding according to preset rules, which is then converted into content that the fluorescent display can present. The fluorescent display content contains key identification information of the ball locker, such as the code and time. By generating specific fluorescent display content, additional verification evidence can be provided for photo recognition, ensuring that the captured image does indeed come from the ball locker with the specified code and that the accurate operation time is recorded.
[0053] More specifically, for the generated fluorescent display content, we analyze various possible specific forms of expression, such as different fonts, colors, and flashing frequencies. Combining the ambient light source provided by the basic light source optical module and the external light source environment information of the lock cabinet, we evaluate the recognition difficulty and recognition error probability of each display form, and select the best fluorescent display form. Different fluorescent display forms may have different recognition effects under different lighting environments. Selecting the best fluorescent display form can improve the recognizability of fluorescent content in the current environment, reduce recognition errors caused by inappropriate display forms, and improve the accuracy of the entire photo recognition system.
[0054] More specifically, the selected fluorescent display content and display format parameters are sent to the fluorescent display optical module, driving it to display the specified content. After receiving the instruction, the module displays the content and format as set, causing specific fluorescent markings to appear inside the locker. Driving the fluorescent display optical module to display the specified content is to form specific optical markings inside the locker. These markings can help the system accurately identify the locker's identity and operation time, further enhancing the accuracy and security of photo recognition.
[0055] In one possible implementation, the step of driving the fluorescent display optical module to perform fluorescent display of specified content according to the module task includes: Obtain the specified code and current time information of the locker, and perform feature encoding on the specified code and the time information according to preset rules to generate corresponding fluorescent display content; Based on preset rules, the specific manifestation of the fluorescent display content is analyzed to obtain several fluorescent display forms corresponding to the fluorescent display content; Based on the ambient light source provided by the basic light source optical module and the external light source environment information of the lock cabinet, the recognition difficulty of each fluorescent display form and the prediction of the recognition error probability are evaluated to generate recognition value parameters for each fluorescent display form. By comparing the various identification value parameters, the optimal fluorescent display format is determined as the specified content to drive the fluorescent display optical module to perform fluorescent display.
[0056] Specifically, the PTZ locker control system obtains the designated code of the PTZ locker from internal storage or a network service platform. This code is a unique identifier for the PTZ locker, used to distinguish different PTZ lockers. It obtains accurate current time information through the system's built-in clock module or by synchronizing with network time. Accurately obtaining the designated code and current time information of the PTZ locker is fundamental for subsequent operations. The designated code uniquely identifies the PTZ locker, ensuring that the image captured for recognition is specific to that locker; the current time information records the time of the operation, facilitating time verification and management, and preventing abnormal operations due to timing issues.
[0057] More specifically, according to preset rules, the acquired locker's designated code and current time information are feature-encoded. Using a certain encryption algorithm or specific character conversion rules, the code and time information are converted into a specific combination of characters or numbers to form corresponding fluorescent display content. This process can increase the security and uniqueness of the information, preventing it from being easily tampered with or forged. By converting the code and time information into specific fluorescent display content through feature encoding, the security and uniqueness of the information can be increased. During the photo recognition process, the system can verify the authenticity and validity of the image by decoding the fluorescent display content, preventing users from forging or tampering with information through improper means.
[0058] More specifically, based on preset rules, the generated fluorescent display content is analyzed for its specific presentation. The preset rules take into account factors such as the characteristics of fluorescent materials and the requirements of display effects, and analyze several different fluorescent display forms, such as different font styles (e.g., Songti, Heiti), different colors (e.g., red, green), different flashing frequencies (e.g., flashing once or twice per second), and different display brightness combinations. Each combination represents a fluorescent display form. Analyzing multiple fluorescent display forms can provide more options for selecting the best display form in the future. Different display forms will have different recognition effects in different environments. By pre-analyzing multiple forms, a relatively optimal display method can be found under different environmental conditions.
[0059] More specifically, the system collects ambient light information provided by the basic light source optical module, including the brightness, color temperature, and illumination angle of the light source. This information affects the visibility and clarity of the fluorescent display. At the same time, by using devices such as light sensors installed around the locking cabinet, the system obtains information about the external light environment in which the locking cabinet is located, such as the intensity, color, and presence of shadows. Ambient light and external light environment have a significant impact on the recognition of the fluorescent display. Collecting this information allows the system to have a more comprehensive understanding of the environmental conditions in which the fluorescent display is located, thereby making the assessment and prediction of recognition difficulty and error probability more accurate.
[0060] More specifically, by combining collected ambient light source information and external light source environment information, the difficulty of recognition and the probability of recognition error are evaluated for each fluorescent display form. For example, if the ambient light source is bright, some colors of fluorescent displays may be masked, making recognition difficult and increasing the probability of recognition error. Based on the evaluation and prediction results, a corresponding recognition value parameter is generated for each fluorescent display form. The recognition value parameter can be a comprehensive numerical value; the higher the value, the easier it is for the display form to be accurately recognized in the current environment. Evaluating the difficulty of recognition and predicting the probability of recognition error for each fluorescent display form, and generating recognition value parameters, can quantify the advantages and disadvantages of each display form in the current environment. Through this quantitative method, different display forms can be compared more objectively, providing a scientific basis for selecting the best display form.
[0061] More specifically, the recognition value parameters of all fluorescent display formats are compared, and the fluorescent display format with the highest recognition value parameter is selected as the best fluorescent display format. This is then determined as the specified content to be displayed. Selecting the best fluorescent display format ensures that the fluorescent display content can be most easily and accurately recognized by the smart terminal under the current environmental conditions. This can improve the success rate and accuracy of photo recognition and reduce recognition errors caused by poor display format.
[0062] More specifically, the relevant parameters (such as font, color, flashing frequency, etc.) of the determined optimal fluorescent display format and the fluorescent display content are sent to the fluorescent display optical module. The fluorescent display optical module performs corresponding fluorescent display operations based on the received information to present the best fluorescent display effect inside the lock cabinet. Sending the optimal fluorescent display format and content to the fluorescent display optical module and driving its display is the ultimate goal of the entire process. In this way, the inside of the lock cabinet can present the most suitable fluorescent display effect for photo recognition, ensuring the smooth progress of the subsequent photo recognition process.
[0063] In one possible implementation, the step of recognizing the image content of the verification image data includes: The props placement and fluorescent display content are identified from the verification image data to obtain the props placement and fluorescent display content inside the lockbox. The fluorescent display content is interpreted to obtain the specified code and shooting time of the locker corresponding to the verification image data. The interpreted specified code and shooting time are verified according to the status information of the locker with the specified code to determine whether the verification image data belongs to the locker with the specified code. The prop placement is matched based on the status information to determine whether the prop placement reflected in the verification image data meets the user's expected needs for the ball locker.
[0064] Specifically, noise reduction processing is performed on the verification image data to remove noise points caused by factors such as shooting equipment and environmental interference, thereby improving image clarity. For example, algorithms such as Gaussian filtering are used to smooth the image and reduce the impact of noise. The contrast of the image is adjusted to make the edges of objects in the image clearer, which facilitates the subsequent recognition of props and fluorescent display content. Histogram equalization and other methods can be used to enhance the contrast of the image. The image is also uniformly adjusted to a suitable size to meet the input requirements of the subsequent recognition algorithm, which helps to improve the stability and accuracy of the recognition algorithm.
[0065] More specifically, object detection algorithms (such as YOLO, Faster R-CNN, etc.) are used to identify props inside the locker in the image, determining the location, quantity, and type of props. Through a trained model, the props in the image are classified and located. Optical Character Recognition (OCR) technology is used to identify the fluorescent display content in the image, converting the fluorescent characters or numbers into text information for subsequent interpretation. Accurately identifying the placement of props is key to determining whether the user is using the locker correctly. Through object detection algorithms, props can be quickly and accurately located and classified, providing a basis for subsequent matching judgments. The fluorescent display content contains key identifiers of the locker and shooting time information; accurate identification of this information is an important step in verifying the image source and time validity.
[0066] More specifically, based on the feature encoding rules used when generating the fluorescent display content, the identified fluorescent display text information is decoded, and the encoded information is restored to the specified code and shooting time of the locker. The specified code and shooting time of the locker are accurately extracted from the decoded information.
[0067] More specifically, the decoded locker's designated code is compared with the code in the locker's status information recorded in the system. If they match, the image is preliminarily considered to originate from the locker with the designated code; otherwise, the verification image data is determined not to belong to the locker with the designated code, and the decoded capture time is checked to see if it falls within a reasonable operation timeframe. For example, if the system records the user opening the locker at 10:00 and closing it at 10:30, but the capture time is 11:00, then the image may be problematic.
[0068] More specifically, based on the status information of the locker with a specified code, the user's expected needs for the locker are determined. For example, if the user's expected need is to return all items, then the expected item arrangement should be that the locker contains all items that should be returned and are neatly arranged. The identified item arrangement is then matched with the expected needs. The quantity, type, and placement of the items are checked to see if they meet the expectations. If they completely match, the item arrangement is determined to meet the user's expected needs; if there are discrepancies, it is determined not to meet the expectations.
[0069] More specifically, since the fluorescent display content is generated through feature encoding, decoding is required to reconstruct the original locker code and shooting time information. The decoding process is a necessary step in obtaining valid verification information. Accurately extracting key information from the decoded data provides specific data for subsequent verification, ensuring that the captured image indeed comes from the locker with the specified code. This prevents users from mistakenly taking images or maliciously using images from other lockers for verification, guaranteeing the system's security and accuracy. Checking the reasonableness of the shooting time avoids abnormal timing operations, such as taking images during periods when the locker is not open or is closed, further improving the reliability of the verification.
[0070] More specifically, clearly defining the user's expected needs is the standard for judging whether the placement of props meets the requirements. Only by clearly understanding the expected needs can effective matching be made. Determining whether the placement of props meets the expected needs is one of the core objectives of the entire photo recognition process. If the placement of props does not meet the requirements, it means that the user is not using the locker correctly, and appropriate action needs to be taken.
[0071] In one possible implementation, the step of generating a feedback instruction based on the identification result and sending it to the smart terminal and the locker to perform the corresponding operation includes: If the recognition result shows that the verification image data belongs to the lock ball cabinet with the specified code, and the prop placement meets the user's expected needs for the lock ball cabinet, then a first type of feedback instruction is generated to be sent to the smart terminal to display that the task is completed, and at the same time sent to the lock ball cabinet to control the lock ball cabinet to close the cabinet door; If the recognition result shows that the verification image data does not belong to the locker with the specified code, a second type of feedback instruction is generated and sent to the smart terminal to prompt the user to collect images of the locker with the specified code. If the recognition result shows that the verification image data belongs to the locker with the specified code, but the placement of the props does not meet the user's expected needs for the locker, a third type of feedback instruction is generated and sent to the smart terminal to instruct the user to place the props in the locker with the specified code and to re-capture the image.
[0072] Specifically, the system comprehensively evaluates the results obtained after recognizing the verification image data. It determines whether the verification image data belongs to a locker with a specified code, and whether the placement of the props meets the user's expected requirements for the locker. This step is based on a comprehensive judgment of information obtained during the preceding image recognition process, including the locker code, shooting time, and prop placement.
[0073] More specifically, when the evaluation results show that the verification image data belongs to the lock-up hood with the specified code, and the placement of the props meets the user's expected needs for the lock-up hood, the system generates a first type of feedback instruction. This instruction contains two parts: one part is used to notify the smart terminal to display the information that the task is completed, and the other part is used to control the lock-up hood with the specified code to close the door.
[0074] More specifically, the system sends the task completion notification portion of the first type of feedback instruction to the user's smart terminal via a network (such as Wi-Fi or mobile data network). After receiving the instruction, the smart terminal displays corresponding prompts on its interface, such as "Task completed, thank you for using," informing the user that the operation has been successfully completed. At the same time, the system sends the cabinet door closing instruction from the first type of feedback instruction to the lock-and-lock control system with the specified code. After receiving the instruction, the lock-and-lock control system drives the door lock device to close the cabinet door.
[0075] More specifically, if the evaluation results show that the verification image data does not belong to the locker with the specified code, the system generates a second type of feedback instruction. This instruction is mainly a prompt message to remind the user to take an image of the locker with the specified code. The system sends the second type of feedback instruction to the user's smart terminal via the network. After receiving the instruction, the smart terminal displays a prompt message on its interface, such as "The image you took is not of the locker with the specified code. Please take a new picture of the locker with the specified code [specific code]".
[0076] More specifically, when the evaluation results show that the verified image data belongs to the locker with the specified code, but the placement of the props does not meet the user's expected requirements for the locker, the system generates a third type of feedback instruction. This instruction contains two parts: first, it instructs the user on the specific requirements for placing the props on the locker with the specified code; second, it prompts the user to take the image again. The system sends the third type of feedback instruction to the user's smart terminal. After receiving the instruction, the smart terminal displays detailed prompt information on its interface, such as "The locker code you photographed is correct, but the prop placement does not meet the requirements. Please arrange the [specific props] neatly and take another photo."
[0077] More specifically, accurately assessing the recognition results is the foundation for generating correct feedback instructions. Only by comprehensively and accurately judging all information in the image data can we determine whether the user's operation meets the requirements, thereby taking appropriate measures to ensure the smooth operation of the entire locker usage process.
[0078] More specifically, when a user correctly uses the designated code-locked pool cabinet and arranges the props appropriately, generating a first-type feedback instruction can promptly inform the user of the successful operation, providing clear feedback and improving the user experience. At the same time, controlling the locker cabinet to close the door can ensure the safety of the props inside, restore the locker cabinet to its normal state, and send the task completion information to the smart terminal, allowing the user to know the result of their operation immediately, avoiding confusion due to uncertainty about whether the operation was successful. Timely closing of the cabinet door can prevent others from accidentally operating or illegally taking the props inside the locker cabinet, ensuring the property safety and management order of the billiard hall.
[0079] More specifically, when the image captured by the user is not of the locker with the specified code, generating a second type of feedback instruction can promptly correct the user's erroneous operation. Clear prompts can help the user quickly understand the problem and operate according to the correct requirements. Conveying prompts to the user through the smart terminal can ensure that the user receives feedback in a timely manner, avoid the user from continuing to operate incorrectly, and improve the efficiency of the entire process.
[0080] More specifically, when the locker code is correct but the props are not placed correctly, a third type of feedback instruction is generated to guide the user to place the props correctly. Detailed prompts allow the user to clearly understand how to adjust the props. At the same time, requiring image capture again ensures that the adjusted props placement meets the requirements. The instruction is sent to the smart terminal, allowing the user to view the prompts at any time while operating the locker, make timely adjustments and take another picture, and ensure that the props placement in the locker meets the expected requirements.
[0081] In one possible implementation, while generating the second type of feedback instruction and the third type of feedback instruction, a warning message is sent to the management terminal to alert the user to potential hazards in using the ball lock cabinet.
[0082] Specifically, after completing the recognition of the verification image data and generating the second or third type of feedback instruction, the system first determines the current situation where an early warning message needs to be sent, that is, whether the recognition result shows that the verification image data does not belong to the locker with the specified code (corresponding to the second type of feedback instruction), or whether the verification image data belongs to the locker with the specified code but the placement of the props does not meet the user's expected needs for the locker (corresponding to the third type of feedback instruction).
[0083] More specifically, based on different recognition results, corresponding warning information is generated. If it corresponds to the second type of feedback instruction, the warning information is "The image taken by the user does not belong to the locker with the specified code, indicating misoperation or violation." If it corresponds to the third type of feedback instruction, the warning information is "The placement of the locker props with the specified code does not meet the expected requirements, and the user is not using the locker correctly." The warning information is processed in a format that the management terminal can receive and display, such as setting it to a specific text format that includes key information such as the locker code, user identification, and problem description.
[0084] More specifically, the system retrieves relevant information about the management terminal from a database or configuration file, including the terminal's network address (e.g., IP address), communication protocol (e.g., HTTP, TCP), and port number for receiving information. This information is essential to ensure that warning messages are accurately sent to the management terminal. Based on the retrieved information, the system attempts to establish a network connection with the management terminal. If the HTTP protocol is used, an HTTP request is initiated; if the TCP protocol is used, a TCP connection is established. After successfully establishing the connection, the generated warning message is sent to the management terminal. During the transmission process, a reliable transmission mechanism is employed to ensure that the information arrives at the management terminal completely and accurately.
[0085] More specifically, after receiving the warning information, the management terminal will return a confirmation message to the system. The system will then use this confirmation message to determine whether the warning information was successfully sent. If no confirmation message is received or an error is detected, the system will retry the operation until the warning information is successfully sent or the maximum number of retries is reached.
[0086] More specifically, accurately judging the identification results is crucial in determining whether to send an early warning message. Only when there is a potential hazard caused by a user's use of the locker should management personnel be notified promptly to avoid unnecessary information interference and ensure that the real problem is addressed in a timely manner.
[0087] More specifically, clear and concise warning information allows managers to quickly understand the nature and severity of a problem, enabling them to take appropriate measures. Different problem scenarios require targeted descriptions to help managers accurately identify the problem. Standardized information formats ensure that management terminals can correctly parse and display warning information. A unified format also facilitates the classification, storage, and processing of information by management terminals, improving management efficiency.
[0088] More specifically, obtaining accurate information from the management terminal is fundamental to the accurate transmission of early warning information. Only by knowing the management terminal's network address, communication protocol, and port number can the system establish an effective connection with the management terminal, promptly conveying early warning information to administrators. Timely transmission of early warning information to the management terminal allows administrators to immediately understand potential hazards encountered by users during the use of the pool lockers. Administrators can then intervene based on the early warning information, such as reminding users to operate correctly or checking for malfunctions in the pool lockers, thereby ensuring the normal use of the pool lockers and the operational order of the billiard hall.
[0089] More specifically, confirming whether the warning information has been successfully sent can ensure the reliability of information transmission. If the transmission fails, the system can retry in a timely manner to ensure that managers do not miss important warning information. At the same time, this also helps the system to troubleshoot and handle errors, thereby improving the stability of the entire system.
[0090] Please see Figure 2 As shown, this disclosure provides a billiard hall locker photo recognition system to implement the billiard hall locker photo recognition method described in any one of the first aspects, including: The task sending module is used to obtain the status information of the lock-up cabinet with a specified code, and send task instructions to the user's smart terminal and the lock-up cabinet with the specified code respectively according to the status information; An optical management module is used to manage the optical environment of optical modules pre-deployed inside a coded ball locker according to the task instructions, so that the ball locker is in a specified optical environment. The image acquisition module is used to drive the smart terminal to switch to the photo recognition mode through the task instruction, so as to acquire images of the lock-up cabinet in the specified optical environment through the smart terminal in the photo recognition mode, and obtain verification image data. The content recognition module is used to recognize the image content of the verification image data and generate feedback instructions based on the recognition results, which are then sent to the smart terminal and the lock cabinet to perform corresponding operations.
[0091] In this embodiment, the specific implementation of each module in the above system embodiment is described in the above method embodiment, and will not be repeated here.
[0092] As can be seen from the above, the technical solutions disclosed herein can be implemented as methods, apparatus, systems, computer program products, storage media, electronic devices, etc. Those skilled in the art will understand that various aspects of this disclosure can be specifically implemented in the following forms: a completely hardware implementation, a completely software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, which may be referred to as "circuit," "module," or "system," respectively.
[0093] It should be understood that this disclosure is not limited to the specific methods, steps, or structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. Those skilled in the art will readily conceive of other embodiments based on the specific implementations provided in this disclosure. Therefore, the specific implementations provided in this disclosure are merely exemplary, and the scope and spirit of this disclosure are indicated by the claims, and should cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary technical means in the art not disclosed in this disclosure.
Claims
1. A method for photo recognition of pool hall lockers, characterized in that, include: Obtain the status information of the lock-up pod with the specified code, and send task instructions to the user's smart terminal and the lock-up pod with the specified code respectively based on the status information; According to the task instructions, the optical environment of the optical modules pre-deployed inside the coded ball lock is managed so that the ball lock is in a specified optical environment. The task instruction drives the smart terminal to switch to photo recognition mode, so as to acquire images of the lock cabinet in a specified optical environment through the smart terminal in photo recognition mode, and obtain verification image data. The verification image data is used to identify the image content, and a feedback instruction is generated based on the identification result to be sent to the smart terminal and the lock-up cabinet to perform the corresponding operation.
2. The method for photographing and recognizing pool lockers in a billiard hall as described in claim 1, characterized in that, The system interacts with the network service platform through the user's smart terminal to obtain the user's current locker usage needs; wherein, the locker usage needs include the designated code of the locker waiting to be used and the expected demand for lockers. According to the expected needs of the locker, the door of the locker with the specified code is opened so that the user can take or return the props inside the locker. At the same time, the corresponding status information is generated according to the expected needs of the locker with the specified code.
3. The method for photographing and recognizing pool lockers in a billiard hall as described in claim 1, characterized in that, The steps of sending task instructions to the user's smart terminal and the locker with the specified code based on the status information include: The status information is parsed to obtain the tasks to be executed by the smart terminal and the lock cabinet with the specified code. Based on the task to be executed, corresponding task instructions are generated for the smart terminal and the specified code, and the task instructions are sent to the smart terminal and the locker with the specified code.
4. The method for photographing and recognizing pool lockers in a billiard hall as described in claim 1, characterized in that, The steps of managing the optical environment of the optical modules pre-deployed inside a coded ball lock according to the task instructions, so that the ball lock is in a specified optical environment, include: The task instructions are parsed to obtain the module tasks of the basic light source optical module and the fluorescent display optical module pre-deployed inside the lock cabinet with a specified code; According to the module task, the basic light source optical module is driven to provide an ambient light source for the lock-up cabinet with a specified code. At the same time, according to the module task, the fluorescent display optical module is driven to perform fluorescent display of specified content, so that the lock-up cabinet is in a specified optical environment.
5. The method for photographing and recognizing pool lockers in a billiard hall as described in claim 4, characterized in that, The steps for driving the fluorescent display optical module to display specified content according to the module task include: Obtain the specified code and current time information of the locker, and perform feature encoding on the specified code and the time information according to preset rules to generate corresponding fluorescent display content; Based on preset rules, the specific manifestation of the fluorescent display content is analyzed to obtain several fluorescent display forms corresponding to the fluorescent display content; Based on the ambient light source provided by the basic light source optical module and the external light source environment information of the lock cabinet, the recognition difficulty of each fluorescent display form and the prediction of the recognition error probability are evaluated to generate recognition value parameters for each fluorescent display form. By comparing the various identification value parameters, the optimal fluorescent display format is determined as the specified content to drive the fluorescent display optical module to perform fluorescent display.
6. The method for photographing and recognizing lockers in a billiard hall as described in claim 5, characterized in that, The steps for recognizing the image content of the verification image data include: The props placement and fluorescent display content are identified from the verification image data to obtain the props placement and fluorescent display content inside the lockbox. The fluorescent display content is interpreted to obtain the specified code and shooting time of the locker corresponding to the verification image data. The interpreted specified code and shooting time are verified according to the status information of the locker with the specified code to determine whether the verification image data belongs to the locker with the specified code. The prop placement is matched based on the status information to determine whether the prop placement reflected in the verification image data meets the user's expected needs for the ball locker.
7. The method for photographing and recognizing pool lockers in a billiard hall as described in claim 6, characterized in that, The steps of generating feedback instructions based on the recognition results and sending them to the smart terminal and the locker to perform corresponding operations include: If the recognition result shows that the verification image data belongs to the lock ball cabinet with the specified code, and the prop placement meets the user's expected needs for the lock ball cabinet, then a first type of feedback instruction is generated to be sent to the smart terminal to display that the task is completed, and at the same time sent to the lock ball cabinet to control the lock ball cabinet to close the cabinet door; If the recognition result shows that the verification image data does not belong to the locker with the specified code, a second type of feedback instruction is generated and sent to the smart terminal to prompt the user to collect images of the locker with the specified code. If the recognition result shows that the verification image data belongs to the locker with the specified code, but the placement of the props does not meet the user's expected needs for the locker, a third type of feedback instruction is generated and sent to the smart terminal to instruct the user to place the props in the locker with the specified code and to re-capture the image.
8. The method for photographing and recognizing pool lockers in a billiard hall as described in claim 7, characterized in that, While generating the second and third type of feedback instructions, a warning message will be sent to the management terminal to alert the user to potential risks in using the ball lock cabinet.
9. A photo recognition system for locking pool tables in a billiard hall, characterized in that, A method for photo recognition of a pool hall locker as described in any one of claims 1-8 includes: The task sending module is used to obtain the status information of the lock-up cabinet with a specified code, and send task instructions to the user's smart terminal and the lock-up cabinet with the specified code respectively according to the status information; An optical management module is used to manage the optical environment of optical modules pre-deployed inside a coded ball locker according to the task instructions, so that the ball locker is in a specified optical environment. The image acquisition module is used to drive the smart terminal to switch to the photo recognition mode through the task instruction, so as to acquire images of the lock-up cabinet in the specified optical environment through the smart terminal in the photo recognition mode, and obtain verification image data. The content recognition module is used to recognize the image content of the verification image data and generate feedback instructions based on the recognition results, which are then sent to the smart terminal and the lock cabinet to perform corresponding operations.