Billiard hall management cabinet management method and system
By setting up a wave-shaped recognition channel and multiple detection image analysis in the billiard ball management cabinet, the problem of insufficient efficiency and accuracy in billiard ball defect recognition in the existing technology is solved, and efficient and accurate fee settlement and improved user experience are achieved.
Patent Information
- Application Number
- CN202510941687.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-09
- Publication Date
- 2025-09-16
- Estimated Expiration
- 2045-07-09
AI Technical Summary
The existing billiard ball return management method based on billiard ball management cabinets is difficult to simultaneously take into account the efficiency and accuracy of billiard ball defect recognition, resulting in inaccurate fee settlement and poor user experience.
By setting up a downward-inclined wavy recognition channel in the billiard ball management cabinet and combining the analysis of multiple inspection images, the billiard ball defect information and missing quantity information can be identified, and the preset billing model can be input to obtain order settlement information.
It improves the accuracy and efficiency of billiard ball defect detection, ensures the accuracy of fee settlement, and enhances user experience.
Smart Images

Figure CN120450794B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of unmanned billiards management, and in particular to a billiard hall management cabinet management method and system. Background Art
[0002] In order to save the labor management costs of the billiard hall, equipment such as smart billiard management cabinets have emerged. When users need to use them, they can scan the code to open the corresponding electronic window of the management cabinet to take out the billiard balls. When they need to return them, they can also scan the code to open the electronic window corresponding to the vacant storage room. After returning the billiard balls, click the confirmation information on the operation screen of the management cabinet to generate the order fee settlement information, thereby realizing an unmanned self-service management operation mode.
[0003] At present, self-service billiard halls use billiard ball management cabinets, but the existing billiard ball return management method based on the billiard ball management cabinet is difficult to take into account both the efficiency and accuracy of billiard ball defect recognition. The low recognition accuracy may lead to inaccurate fee settlement, low recognition efficiency, long user waiting time, and poor user experience. Summary of the Invention
[0004] The main purpose of this application is to provide a billiard hall management cabinet management method and system, aiming to solve the technical problem that the existing billiard ball return management method based on the billiard ball management cabinet is difficult to simultaneously take into account the efficiency and accuracy of billiard ball defect recognition.
[0005] To achieve the above objectives, the present application provides a billiard hall management cabinet management method, comprising the following steps:
[0006] Get the billiard ball return request input by the user;
[0007] According to the billiard ball return request, unlocking information of the return window corresponding to the vacant storage room in the billiard ball management cabinet is obtained; wherein a downwardly inclined identification channel is connected to the storage room, and the identification channel is wavy;
[0008] Acquire multiple detection images of the target billiard ball passing through different positions of the recognition channel;
[0009] Identify defect information of the target billiard ball based on multiple inspection images;
[0010] Get the missing quantity information of the returned target billiard balls;
[0011] Input defect information and missing quantity information into the preset billing model to obtain order settlement information.
[0012] Optionally, the inner bottom of the identification channel is provided with a plurality of arc-shaped protrusions spaced apart along its length direction;
[0013] Acquire multiple detection images of the target billiard ball passing through different positions of the recognition channel, including:
[0014] Acquire multiple first detection images of the target billiard ball when it passes through different positions of the identification channel based on a top-down perspective of the target billiard ball; wherein the first detection images are used to identify the degree of damage to the target billiard ball;
[0015] Based on the side perspective of the target billiard ball, multiple second detection images are obtained when the target billiard ball passes through the arc-shaped protrusions at different positions of the identification channel; wherein the second detection images are used to identify the bounce height of the target billiard ball.
[0016] Optionally, identifying defect information of the target billiard ball based on the multiple detection images includes:
[0017] Identifying defect features of the target billiard ball based on the plurality of first detection images to obtain a surface defect value M; wherein the defect features include cracks and defects;
[0018] Obtaining a jitter abnormality value H of the target billiard ball according to the plurality of second detection images;
[0019] According to the abnormal value H of the runout and the surface defect value M, the defect degree value Q is obtained and output as defect information; where Q=K1 H+K2 M, K1 is the first adjustment coefficient, and K2 is the second adjustment coefficient.
[0020] Optionally, identifying defect features of the target billiard ball according to the plurality of first detection images to obtain a surface defect value M includes:
[0021] Screening out a first inspection image having defect features;
[0022] Comparing the screened first detection images with each other to determine whether there are at least two first detection images with the same defect characteristics;
[0023] If so, only one first inspection image with the corresponding defect feature is retained;
[0024] If not, based on the remaining first detection images, the crack length value and the defect area value are respectively obtained to obtain the surface defect value M.
[0025] Optionally, obtaining a jitter abnormality value H of the target billiard ball according to the plurality of second detection images includes:
[0026] sorting the plurality of second detection images according to the image acquisition time;
[0027] Obtaining a jumping height value of the target billiard ball relative to the bottom of the identification channel in the nth second detection image; wherein n is a positive integer greater than or equal to 1;
[0028] Obtain the height difference between the bounce height value and the current theoretical height value; wherein the current theoretical height value is the theoretical bounce height value of the complete target billiard ball after passing through the arc convexity at the corresponding position;
[0029] Determine whether the height difference is greater than a preset difference threshold. If so, output the currently obtained height difference as the jitter abnormality value H. If not, continue to obtain the jitter height value of the target billiard ball relative to the bottom of the identification channel in the n+1th second detection image until the end condition is met; wherein the end condition is to obtain the jitter abnormality value H or to identify all the second detection images. If the jitter abnormality value H is still not obtained after identifying all the second detection images, output the jitter abnormality value H=0.
[0030] Optionally, before acquiring a plurality of detection images of the target billiard ball passing through different positions of the recognition channel, the method further includes:
[0031] Get the number of balls placed in the target billiards window;
[0032] If the number of balls placed is greater than 1, the target billiard ball is controlled to exit the return window and a correct operation prompt message is sent; wherein, the correct operation prompt message is used to remind the user that only one billiard ball can be placed into the return window at a time.
[0033] Optionally, the billing model expression is:
[0034] R=R0+(W1 K3 Q+W2 K4 N) R0;
[0035] Where R is the order settlement fee, R0 is the basic fee, N is the number of missing target billiard balls, W1 is the first weight coefficient, W2 is the second weight coefficient, and W1<W2, K3 is the third adjustment coefficient, and K4 is the fourth adjustment coefficient.
[0036] Optionally, after inputting the defect information and missing quantity information into a preset billing model to obtain order settlement information, the following steps are also included:
[0037] If the order settlement fee R is greater than the basic fee R0, the storage room after the target billiard ball is returned will be marked as abnormal;
[0038] Defect information and / or missing quantity information corresponding to the target billiard balls in the storage room after the abnormality marking is sent to the management personnel.
[0039] Optionally, after inputting the defect information and missing quantity information into a preset billing model to obtain order settlement information, the following steps are also included:
[0040] The defect information and missing quantity information are sent to the display screen of the billiard management cabinet.
[0041] To achieve the above objectives, the present application also provides a billiard hall management cabinet management system, including:
[0042] Request information acquisition module, used to obtain the user's billiard ball return request;
[0043] The unlocking information acquisition module is used to obtain the unlocking information of the return window corresponding to the vacant storage room in the billiard ball management cabinet according to the billiard ball return request; wherein a downwardly inclined identification channel is connected to the storage room, and the identification channel is wavy in shape;
[0044] An image acquisition module is used to acquire multiple detection images of the target billiard ball when it passes through different positions of the recognition channel;
[0045] A defect information acquisition module is used to identify defect information of a target billiard ball based on multiple detection images;
[0046] A quantity information acquisition module is used to obtain the missing quantity information of the returned target billiard balls;
[0047] The settlement module is used to input defect information and missing quantity information into the preset billing model to obtain order settlement information.
[0048] To achieve the above objectives, the present application also provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the above method.
[0049] To achieve the above objectives, the present application also provides a computer-readable storage medium, on which a computer program is stored. A processor executes the computer program to implement the above method.
[0050] The beneficial effects that can be achieved by this application are as follows:
[0051] After recognizing the billiard ball return request input by the user, the present application can obtain the unlocking information of the return window corresponding to the vacant storage room in the billiard ball management cabinet, thereby controlling the automatic opening of the corresponding return window so that the user can put the billiard ball to be returned. Since a downwardly inclined identification channel is connected between the return window and the storage room, the billiard ball can automatically roll along the identification channel to the storage room. At the same time, since the identification channel is wavy, the rolling path of the billiard ball in the identification channel is also a wavy curve, so that the angle of the billiard ball continues to change when rolling, so that the multiple detection images of the target billiard ball obtained when passing through different positions of the identification channel can contain image information of different sides of the target billiard ball, thereby improving the accuracy. The adequacy of billiard ball image acquisition greatly reduces the probability of missed detection, and ultimately improves detection accuracy. At the same time, since the billiard ball completes the detection process while rolling in the identification channel, the detection efficiency is improved. Finally, based on multiple detection images, it is possible to identify whether there is defect information on the target billiard ball, and at the same time identify the missing quantity information of the returned target billiard balls. By inputting the defect information and the missing quantity information into the preset billing model, the order settlement information can be obtained, and the user can complete the payment settlement based on the order settlement information. Therefore, this application achieves the improvement of detection efficiency while meeting the accuracy of billiard ball defect detection, thereby taking into account the accuracy of fee settlement and user experience at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] To more clearly illustrate the specific embodiments of this application or the technical solutions in the prior art, the following briefly describes the drawings required for the specific embodiments or the description of the prior art. Similar elements or parts are generally identified by similar reference numerals throughout the drawings. Elements or parts in the drawings are not necessarily drawn to scale.
[0053] Figure 1 This is a flow chart of a billiard hall management cabinet management method in an embodiment of the present application;
[0054] Figure 2 Schematic diagram of the internal structure of the billiard ball management cabinet in an embodiment of the present application;
[0055] Figure 3 Schematic diagram of the connection structure between the storage chamber and the identification channel in an embodiment of the present application (top view);
[0056] Figure 4 for Figure 2 Schematic diagram of the right view of the structure.
[0057] Reference numerals:
[0058] 110-Billiard ball management cabinet, 120-Storage room, 130-Return window, 140-Identification channel, 150-Target billiard ball, 160-Arc-shaped protrusion, 170-Display screen, 180-Identification camera, 190-Billiard ball tray.
[0059] The realization of the objectives, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0060] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0061] It should be noted that if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of such features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the fact that they can be implemented by ordinary technicians in this field. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0062] Example 1:
[0063] Reference Figure 1-Figure 4 This embodiment provides a billiard hall management cabinet management method, including the following steps:
[0064] Get the billiard ball return request input by the user;
[0065] According to the billiard ball return request, unlocking information of the return window 130 corresponding to the vacant storage chamber 120 in the billiard ball management cabinet 110 is obtained; wherein a downwardly inclined identification channel 140 is connected between the return window 130 and the storage chamber 120, and the identification channel 140 is wavy;
[0066] Acquire multiple detection images of the target billiard ball 150 when it passes through different positions of the identification channel 140;
[0067] identifying defect information of the target billiard ball 150 according to the plurality of inspection images;
[0068] Obtaining missing quantity information of the returned target billiard balls 150;
[0069] Input defect information and missing quantity information into the preset billing model to obtain order settlement information.
[0070] Currently, cameras can be installed at the return window of the management cabinet to identify whether the returned billiard balls are missing or defective, so as to calculate whether additional fees are incurred based on the missing and defective billiard balls. To improve the recognition accuracy, the existing recognition method requires users to place the billiard balls under the camera in turn and rotate them at different angles according to the prompts to fully collect image information of the billiard balls. The recognition process is relatively slow and the user operation time is long, which affects the user experience. If all the billiard balls are placed in the return window of the management cabinet at once, the bottom surface of the billiard balls cannot be imaged, and the accuracy of billiard ball defect detection is low, resulting in the final fee settlement being lower than the actual amount.
[0071] Therefore, in this embodiment, after recognizing the billiard ball return request input by the user, the unlocking information of the return window 130 corresponding to the vacant storage chamber 120 in the billiard ball management cabinet 110 can be obtained, thereby controlling the automatic opening of the corresponding return window 130 so that the user can put the billiard ball to be returned. Since a downwardly inclined identification channel 140 is connected between the return window 130 and the storage chamber 120, the billiard ball can automatically roll along the identification channel 140 to the storage chamber 120. At the same time, since the identification channel 140 is wavy, the rolling path of the billiard ball in the identification channel 140 is also a wavy curve, so that the angle of the billiard ball continues to change when rolling, so that the multiple detection images of the target billiard ball 150 obtained when passing through different positions of the identification channel 140 can include image information of different surfaces of the target billiard ball 150, thereby improving the adequacy of billiard ball image acquisition, thereby greatly reducing the probability of missed detection, and ultimately improving detection accuracy. At the same time, since the billiard ball The detection process is completed when the ball rolls in the identification channel 140. The user only needs to put the target billiard ball 150 into the return window 130 one by one, which saves the user's time in manually rotating the billiard ball to complete the detection. The time for the billiard ball to pass through the identification channel 140 from the return window 130 and roll to the storage chamber 120 is relatively short, so the interval time between each time the user puts the billiard ball into the return window 130 is also relatively short, thereby improving the efficiency of billiard ball recovery detection. Finally, based on multiple detection images, it is possible to identify whether there is defect information on the target billiard ball 150 and identify the missing quantity information of the returned target billiard ball 150 at the same time. The defect information and the missing quantity information are input into the preset billing model to obtain the order settlement information. The user can complete the payment settlement according to the order settlement information. Therefore, this embodiment achieves the goal of meeting the accuracy of billiard ball defect detection while improving the detection efficiency, thereby taking into account the accuracy of fee settlement and user experience at the same time.
[0072] It should be noted that a ball retrieval window is provided on the other side of the billiard ball management cabinet 110, corresponding to the storage chamber 120, away from the return window 130. After a user scans and pays a deposit, the ball retrieval window automatically opens, allowing the user to remove the billiard balls from the storage chamber 120. A tilted billiard ball tray 190 can be provided within the storage chamber 120, allowing returned billiard balls to automatically roll into the tray 190. Subsequently, when a user retrieves billiard balls, they can remove the tray 190 entirely, place the balls on the table, and then place the empty tray 190 back into the storage chamber 120, making operation convenient and quick. A weight sensor can be provided at the bottom of the storage chamber 120. When a preset weight (i.e., the weight of an empty tray 190) is detected, the ball retrieval window automatically closes. If a user fails to return the tray 190 for an extended period, a voice prompt will be issued to prompt the user to return it as soon as possible, otherwise an additional fee will be incurred. A temporary storage box can be provided on the side wall of the billiard ball management cabinet 110, below the return window 130, to facilitate the placement of returned billiard balls. When it is necessary to calculate the missing number of returned target billiard balls 150, a counter may be provided in the identification channel 140, or a camera may be provided at the top of the storage chamber 120 to identify the total number of returned billiard balls, thereby calculating the missing number.
[0073] As an optional embodiment, the inner bottom of the identification channel 140 is provided with a plurality of arc-shaped protrusions 160 spaced apart along its length direction;
[0074] Acquire multiple detection images of the target billiard ball 150 passing through different positions of the identification channel 140, including:
[0075] Acquire multiple first detection images of the target billiard ball 150 when it passes through different positions of the identification channel 140 based on a top-down perspective of the target billiard ball 150; wherein the first detection images are used to identify the degree of defect of the target billiard ball 150;
[0076] Based on the side view of the target billiard ball 150 , a plurality of second detection images are acquired when the target billiard ball 150 passes through the arc-shaped protrusions 160 at different positions of the identification channel 140 ; wherein the second detection images are used to identify the bounce height of the target billiard ball 150 .
[0077] In this embodiment, in order to further improve the detection accuracy, image acquisition is performed based on different viewing angles, including acquiring multiple first detection images of the target billiard ball 150 when it passes through different positions of the identification channel 140 based on a top-down viewing angle of the target billiard ball 150. In this detection viewing angle, the image acquisition point is located above the target billiard ball 150 and has a certain distance. Therefore, the contour information of the entire target billiard ball 150 and its defect features can be included in the first detection image, thereby accurately identifying the degree of defect of the target billiard ball 150; at the same time, multiple second detection images of the target billiard ball 150 when it passes through the arc-shaped protrusion 160 at different positions of the identification channel 140 are acquired based on a side viewing angle of the target billiard ball 150. Image, when the target billiard ball 150 passes through the arc-shaped protrusion 160, it will bounce to a certain height. If the target billiard ball 150 has a defective part, the bounce height when the defective part just passes through the arc-shaped protrusion 160 is obviously different from the normal bounce height. There are multiple arc-shaped protrusions 160 here, which increases the probability that the defective part of the target billiard ball 150 passes through the arc-shaped protrusion 160. Therefore, the second detection image is used to identify whether the bounce height of the target billiard ball 150 is abnormal, so as to characterize the defect of the target billiard ball 150 from the side, so as to perform supplementary detection on the degree of defect of the target billiard ball 150, thereby reducing the risk of missing detection of billiard ball defect features by relying solely on the first detection image, thereby improving detection accuracy.
[0078] It should be noted that a plurality of recognition cameras 180 may be arranged at corresponding positions on the top and side walls of the recognition channel 140 along the length direction of the recognition channel 140 , so as to capture images of the target billiard balls 150 passing through different positions.
[0079] As an optional implementation, identifying defect information of the target billiard ball 150 based on multiple detection images includes:
[0080] Identify defect features of the target billiard ball 150 based on the plurality of first detection images to obtain a surface defect value M; wherein the defect features include cracks and defects;
[0081] Obtaining a jitter abnormality value H of the target billiard ball 150 based on the plurality of second detection images;
[0082] According to the abnormal value H of the runout and the surface defect value M, the defect degree value Q is obtained and output as defect information; where Q=K1 H+K2 M, K1 is the first adjustment coefficient, and K2 is the second adjustment coefficient.
[0083] In this embodiment, the first detection image can be used to identify whether there are obvious defect features such as cracks and defects in the target billiard ball 150. If there are, the surface defect value M can be quantified based on the corresponding defect features. At the same time, the jitter abnormality value H of the target billiard ball 150 can be obtained by quantitative calculation based on the second detection image. The jitter abnormality value H and the surface defect value M are input into the empirical formula Q=K1 H+K2 M, the defect degree value Q can be quantified and calculated. Since the unit properties and influence degrees of the beat anomaly value H and the surface defect value M are different, they can be adjusted and transformed by the first adjustment coefficient K1 and the second adjustment coefficient K2 respectively, so that the two parameters can be superimposed equally and the calculation is reliable and accurate.
[0084] As an optional embodiment, identifying defect features of the target billiard ball 150 based on the plurality of first detection images to obtain a surface defect value M includes:
[0085] Screening out a first inspection image having defect features;
[0086] Comparing the screened first detection images with each other to determine whether there are at least two first detection images with the same defect characteristics;
[0087] If so, only one first inspection image with the corresponding defect feature is retained;
[0088] If not, based on the remaining first detection images, the crack length value and the defect area value are respectively obtained to obtain the surface defect value M.
[0089] In this embodiment, since the multiple first detection images obtained are collected for different surfaces of the target billiard ball 150, there may be cases where defect features are not identified or the same defect features are repeatedly identified. Therefore, in order to improve the detection accuracy and efficiency, the first detection images with defect features are first screened out (if all first detection images do not identify defect features, the surface defect value M=0 is output), and then the screened first detection images are compared with each other. The similarity algorithm can be combined to compare whether the defect features (including cracks and defects) in each first detection image are the same defect. If so, only one first detection image with the corresponding defect feature is retained. Finally, based on the remaining first detection images, the crack length value and the defect area value are calculated respectively. The weighted sum of the crack length value and the defect area value is used to jointly characterize the surface defect value M. The quantitative calculation is accurate, reliable and representative.
[0090] As an optional embodiment, obtaining the jitter abnormality value H of the target billiard ball 150 according to the plurality of second detection images includes:
[0091] sorting the plurality of second detection images according to the image acquisition time;
[0092] Obtaining a jumping height value of the target billiard ball 150 relative to the bottom of the identification channel 140 in the nth second detection image; wherein n is a positive integer greater than or equal to 1;
[0093] Obtaining the height difference between the bounce height value and the current theoretical height value; wherein the current theoretical height value is the theoretical bounce height value of the complete target billiard ball 150 after passing the arc-shaped protrusion 160 at the corresponding position;
[0094] Determine whether the height difference is greater than a preset difference threshold. If so, output the currently acquired height difference as the jitter abnormality value H. If not, continue to acquire the jitter height value of the target billiard ball 150 relative to the bottom of the identification channel 140 in the n+1th second detection image until the end condition is reached. The end condition is that the jitter abnormality value H is obtained or all the second detection images are identified. If the jitter abnormality value H is still not obtained after all the second detection images are identified, the jitter abnormality value H=0 is output.
[0095] In this embodiment, in order to further improve the detection efficiency, multiple second detection images are sorted according to the image acquisition time. The jumping height value of the target billiard ball 150 relative to the bottom of the identification channel 140 in the first second detection image is first obtained. As the target billiard ball 150 rolls down along the inclined identification channel 140, its inertia becomes larger and larger, and its speed becomes faster and faster. The lower the arc-shaped protrusion 160 it passes, the higher the corresponding bounce height. Therefore, the theoretical height value corresponding to the position of each arc-shaped protrusion 160 is different. Therefore, the height of the jumping height value can be calculated by comparing the height of the current theoretical height value. The height difference is obtained, and it is determined whether the height difference is greater than the preset difference threshold. If so, it indicates that there is an obvious abnormality in the beating height. The currently obtained height difference is output as the beating abnormality value H, and there is no need to identify the next second detection image, which saves detection time and improves detection efficiency. If the first second detection image does not identify the abnormal beating height, the second second detection image is identified, and so on, until the beating abnormality value H is identified or all the second detection images are identified. If the beating abnormality value H is still not obtained after identifying all the second detection images, the beating abnormality value H=0 is output. In summary, this embodiment can reduce repeated recognition calculations, reduce data processing pressure, and thus improve detection efficiency.
[0096] As an optional embodiment, before acquiring multiple detection images of the target billiard ball 150 passing through different positions of the identification channel 140, the method further includes:
[0097] Obtain the number of target billiard balls 150 placed in the return window 130;
[0098] If the number of balls placed is greater than 1, the target billiard ball 150 is controlled to exit the return window 130 and a correct operation prompt message is sent; wherein the correct operation prompt message is used to remind the user that only one billiard ball can be placed into the return window 130 at a time.
[0099] In this embodiment, to ensure accurate identification and detection of each billiard ball, the user is required to place the billiard balls one by one into the return window 130. When the user places two or more billiard balls at a time, the target billiard ball 150 is controlled to exit the return window 130 (the target billiard ball 150 can be pushed out of the return window 130 through a built-in exit mechanism), and correct operation prompt information (such as a voice prompt) is sent to prompt the user to perform the correct operation.
[0100] As an optional implementation, the billing model is expressed as:
[0101] R=R0+(W1 K3 Q+W2 K4 N) R0;
[0102] Wherein, R is the order settlement fee, R0 is the basic fee, N is the missing number of target billiard balls 150, W1 is the first weight coefficient, W2 is the second weight coefficient, and W1<W2, K3 is the third adjustment coefficient, and K4 is the fourth adjustment coefficient.
[0103] In this embodiment, based on the above formula, the basic cost R0 is the normal cost (unit price) incurred by the user playing billiards. Time), if defective information and / or missing quantity information is identified, the corresponding defect degree value Q and / or missing quantity N are calculated, and the additional cost of making up the price difference due to damaged or lost billiard balls is generated by entering the above formula, that is (W1 K3 Q+W2 K4 N) R0, and this additional fee is related to the defect severity value Q and / or the missing quantity N. This makes the deduction more reasonable. Considering the greater economic loss if target billiard ball 150 is lost, a first weight coefficient W1 and a second weight coefficient W2 are set, with W1 < W2, indicating that the additional fee incurred when target billiard ball 150 is missing is higher. When the defect severity value Q and the missing quantity N are both calculated to be 0, then R = R0, and only the base fee R0 needs to be settled.
[0104] As an optional implementation, after inputting the defect information and missing quantity information into a preset billing model to obtain order settlement information, the following steps are further included:
[0105] If the order settlement fee R is greater than the basic fee R0, the storage room 120 after returning the target billiard ball 150 will be marked as abnormal;
[0106] The defect information and / or missing quantity information corresponding to the target billiard balls 150 in the storage chamber 120 after the abnormality mark is sent to the management personnel.
[0107] In this embodiment, if the final order settlement fee R is greater than the basic fee R0, it means that there are billiard ball defects and / or missing billiard balls. At this time, the storage chamber 120 after the target billiard ball 150 is returned can be marked as abnormal, and the marking information (including the storage chamber 120 number and position information) can be obtained. At the same time, the defect information and / or missing quantity information of the corresponding target billiard ball 150 is sent to the management personnel. The defect information includes information such as the defective ball number, defect type, and defect degree, and the missing quantity information includes information such as the missing quantity and missing ball number, so as to facilitate the management personnel to quickly find the corresponding storage chamber 120 and replace the abnormal billiard balls or supplement the missing billiard balls.
[0108] As an optional implementation, after inputting the defect information and missing quantity information into a preset billing model to obtain order settlement information, the following steps are further included:
[0109] The defect information and the missing quantity information are sent to the display screen 170 of the billiard ball management cabinet 110 .
[0110] In this embodiment, by sending defect information and missing quantity information to the display screen 170 of the billiard management cabinet 110, the user can intuitively see the source of the deduction amount to ensure the openness and fairness of the deduction and improve the user experience.
[0111] Example 2:
[0112] Based on the same inventive concept as the above embodiment, this embodiment further provides a billiard hall management cabinet management system, including:
[0113] Request information acquisition module, used to obtain the user's billiard ball return request;
[0114] The unlocking information acquisition module is used to obtain the unlocking information of the return window 130 corresponding to the vacant storage chamber 120 in the billiard ball management cabinet 110 according to the billiard ball return request; wherein a downwardly inclined identification channel 140 is connected between the return window 130 and the storage chamber 120, and the identification channel 140 is wavy in shape;
[0115] An image acquisition module, used to acquire multiple detection images of the target billiard ball 150 when it passes through different positions of the identification channel 140;
[0116] A defect information acquisition module, configured to identify defect information of the target billiard ball 150 based on a plurality of detection images;
[0117] A quantity information acquisition module is used to obtain the missing quantity information of the returned target billiard balls 150;
[0118] The settlement module is used to input defect information and missing quantity information into the preset billing model to obtain order settlement information.
[0119] The relevant explanations and examples of each module in the system of this embodiment can refer to the methods of the aforementioned embodiments and will not be repeated here.
[0120] Example 3:
[0121] Based on the same inventive concept as the above embodiment, this embodiment provides a computer device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the above method.
[0122] Example 4:
[0123] Based on the same inventive concept as the above embodiment, this embodiment provides a computer-readable storage medium, on which a computer program is stored. A processor executes the computer program to implement the above method.
[0124] The above are only preferred embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A billiard hall management cabinet management method, characterized in that: The following steps are involved: Get the billiard ball return request input by the user; According to the billiard ball return request, unlocking information of the return window corresponding to the vacant storage room in the billiard ball management cabinet is obtained; wherein a downwardly inclined identification channel is connected to the storage room, and the identification channel is wavy; Acquire multiple detection images of the target billiard ball passing through different positions of the recognition channel; Identify defect information of the target billiard ball based on multiple inspection images; Get the missing quantity information of the returned target billiard balls; Input defect information and missing quantity information into the preset billing model to obtain order settlement information.
2. A billiard hall management cabinet management method according to claim 1, characterized in that: The inner bottom of the identification channel is provided with a plurality of arc-shaped protrusions spaced apart along its length direction; Acquire multiple detection images of the target billiard ball passing through different positions of the recognition channel, including: Acquire multiple first detection images of the target billiard ball when it passes through different positions of the identification channel based on a top-down perspective of the target billiard ball; wherein the first detection images are used to identify the degree of damage to the target billiard ball; Based on the side perspective of the target billiard ball, multiple second detection images are obtained when the target billiard ball passes through the arc-shaped protrusions at different positions of the identification channel; wherein the second detection images are used to identify the bounce height of the target billiard ball.
3. A billiard hall management cabinet management method as claimed in claim 2, characterized in that: Based on multiple inspection images, identify defect information of the target billiard ball, including: Identifying defect features of the target billiard ball based on the plurality of first detection images to obtain a surface defect value M; wherein the defect features include cracks and defects; Obtaining a jitter abnormality value H of the target billiard ball according to the plurality of second detection images; According to the abnormal value H of the runout and the surface defect value M, the defect degree value Q is obtained and output as defect information; where Q=K1 H+K2 M, K1 is the first adjustment coefficient, and K2 is the second adjustment coefficient.
4. A billiard hall management cabinet management method as claimed in claim 3, characterized in that: Identifying defect features of the target billiard ball based on the plurality of first detection images to obtain a surface defect value M includes: Screening out a first inspection image having defect features; Comparing the screened first detection images with each other to determine whether there are at least two first detection images with the same defect characteristics; If so, only one first inspection image with the corresponding defect feature is retained; If not, based on the remaining first detection images, the crack length value and the defect area value are respectively obtained to obtain the surface defect value M.
5. A billiard hall management cabinet management method as claimed in claim 3, characterized in that: Obtaining a jitter abnormality value H of the target billiard ball based on the plurality of second detection images includes: sorting the plurality of second detection images according to the image acquisition time; Obtaining a jumping height value of the target billiard ball relative to the bottom of the identification channel in the nth second detection image; wherein n is a positive integer greater than or equal to 1; Obtain the height difference between the bounce height value and the current theoretical height value; wherein the current theoretical height value is the theoretical bounce height value of the complete target billiard ball after passing through the arc convexity at the corresponding position; Determine whether the height difference is greater than a preset difference threshold. If so, output the currently obtained height difference as the jitter abnormality value H. If not, continue to obtain the jitter height value of the target billiard ball relative to the bottom of the identification channel in the n+1th second detection image until the end condition is met; wherein the end condition is to obtain the jitter abnormality value H or to identify all the second detection images. If the jitter abnormality value H is still not obtained after identifying all the second detection images, output the jitter abnormality value H=0.
6. A billiard hall management cabinet management method according to any one of claims 1 to 5, characterized in that: Before obtaining multiple detection images of the target billiard ball passing through different positions of the recognition channel, the following steps are also included: Get the number of balls placed in the target billiards window; If the number of balls placed is greater than 1, the target billiard ball is controlled to exit the return window and a correct operation prompt message is sent; wherein, the correct operation prompt message is used to remind the user that only one billiard ball can be placed into the return window at a time.
7. A billiard hall management cabinet management method as claimed in claim 3, characterized in that: The billing model is expressed as: R=R0+(W1) K3 Q+W2 K4 N)R0; Where R is the order settlement fee, R0 is the basic fee, N is the number of missing target billiard balls, W1 is the first weight coefficient, W2 is the second weight coefficient, and W1<W2, K3 is the third adjustment coefficient, and K4 is the fourth adjustment coefficient.
8. A billiard hall management cabinet management method as claimed in claim 7, characterized in that: After inputting defect information and missing quantity information into the preset billing model to obtain order settlement information, it also includes: If the order settlement fee R is greater than the basic fee R0, the storage room after the target billiard ball is returned will be marked as abnormal; Defect information and / or missing quantity information corresponding to the target billiard balls in the storage room after the abnormality marking is sent to the management personnel.
9. A billiard hall management cabinet management method as claimed in claim 1, characterized in that: After inputting defect information and missing quantity information into the preset billing model to obtain order settlement information, it also includes: The defect information and missing quantity information are sent to the display screen of the billiard management cabinet.
10. A billiard hall management cabinet management system, characterized in that: include: Request information acquisition module, used to obtain the user's billiard ball return request; The unlocking information acquisition module is used to obtain the unlocking information of the return window corresponding to the vacant storage room in the billiard ball management cabinet according to the billiard ball return request; wherein a downwardly inclined identification channel is connected to the storage room, and the identification channel is wavy in shape; An image acquisition module is used to acquire multiple detection images of the target billiard ball when it passes through different positions of the recognition channel; A defect information acquisition module is used to identify defect information of a target billiard ball based on multiple detection images; A quantity information acquisition module is used to obtain the missing quantity information of the returned target billiard balls; The settlement module is used to input defect information and missing quantity information into the preset billing model to obtain order settlement information.
Citation Information
Patent Citations
Billiard box with billiard detection function
CN112774173A
Self-service billiards smart cabinet
CN222723585U