Region identification method and device based on in-situ detector and storage medium
Through the club in-position detector and environmental recognition technology, the club usage status is monitored in real time and the hitting area is determined, which solves the problem of damage caused by golf bag carts entering the green grass and realizes the regional recognition and safe navigation of golf bag carts.
Patent Information
- Application Number
- CN202510609167.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-13
- Publication Date
- 2025-09-23
AI Technical Summary
Golf carts cannot identify the current area when the user hits the ball, which makes it easy for them to enter areas with more carefully maintained grass, such as greens, causing damage to the grass.
The club presence detector is used to monitor the usage status of the club in real time. The user's current position is determined through the preset mapping relationship between the club type and the hitting area. When using green-specific clubs, the golf bag cart is restricted from entering the green area. The visual module and lidar are combined for environmental recognition and boundary determination.
It effectively avoids grass crushing damage, reduces system complexity and implementation costs, and improves the environmental perception and safety of the golf cart.
Smart Images

Figure CN120689402A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a region recognition method, device, and storage medium based on an in-situ detector. Background Art
[0002] When a user is in the process of hitting golf balls, a golf bag cart usually follows the user to assist the user in storing items, picking up golf clubs, etc.
[0003] However, in the related art, when the golf bag cart continuously follows the user based on the user's current position, it is unable to identify the current area. Therefore, when the user hits the ball, the golf bag cart is likely to follow the user into areas with more carefully maintained grass such as the green, causing damage to the green grass.
[0004] The above content is only used to assist in understanding the technical solution of this application and does not constitute an admission that the above content is prior art. Summary of the Invention
[0005] The main purpose of this application is to provide an area recognition method, device and storage medium based on an in-place detector, aiming to solve the technical problem that when a golf bag cart is hitting the ball, it is easy to follow the user into areas with more carefully maintained grass such as the green, causing damage to the grass.
[0006] To achieve the above objectives, the present application provides a region recognition method based on an in-situ detector, the method comprising the following steps: Acquiring in-situ status data of the in-situ detector; Based on the in-place status data, identifying a target detector in an absent state among the in-place detectors; determining a missing club corresponding to the target detector; The user's current hitting area is determined according to the mapping relationship between the club type of the missing club and the preset hitting area.
[0007] In one embodiment, the golf bag cart further includes a visual module, and after the step of determining the user's current hitting area based on the mapping relationship between the club type of the missing club and the preset hitting area, the step further includes: Scan the current environment through the visual module to obtain an environment image; Segmenting the environmental image region using an image recognition algorithm, determining the segmented region of the environmental image, and extracting regional feature information from the segmented region; The region feature information is matched with preset feature information of the hitting area, and boundary information of the hitting area is determined according to the matching result.
[0008] In one embodiment, the golf bag cart further includes a laser radar. After determining the user's current hitting area based on the mapping relationship between the club type of the missing club and the preset hitting area, the step further includes: Obtain point cloud depth information of the current environment through lidar; Determining, based on a mapping relationship between the point cloud depth information and the ground coordinates, a depth distribution feature of the point cloud depth information based on the ground coordinates; Boundary information of the hitting area is extracted according to the depth distribution characteristics.
[0009] In one embodiment, after determining the user's current hitting area based on the mapping relationship between the club type of the missing club and the preset hitting area, the method further includes: Matching the hitting area with a preset prohibited area, and adjusting the motion state of the golf bag vehicle to a stopped state when the hitting area is a prohibited area; Based on the stopped state, a braking action of the golf bag car is performed.
[0010] In one embodiment, before the step of performing a braking action on the golf bag car based on the stopped state, the method further includes: Obtaining a user's location and boundary information of the hitting area; Determining a parking position in an area adjacent to the boundary of the hitting area based on the user's position; Based on the movement path between the current position and the parking position, the vehicle moves to the parking position.
[0011] In one embodiment, before the step of obtaining the in-position status data of the in-position detector, the method further includes: Collecting action information of the user in at least two time frames; Determining the user's behavior information based on the action information and the corresponding time frame; When the behavior information is a ball-striking preparation behavior, the area recognition action is triggered, and the step of acquiring the on-site status data of the on-site detector is performed.
[0012] In one embodiment, after the step of determining the missing club corresponding to the target detector, the method further includes: identifying, in the environment image, a target club used by a target user other than the user; determining a target club type corresponding to the target club; The target club type is matched with the club type of the missing club, and if they do not match, prompt information is output.
[0013] In one embodiment, the step of obtaining the in-situ status data of the in-situ detector includes: When the sensing data of the presence detector is received, updating the status information of the presence detector in the presence detector status table; The presence status data of the presence detector is acquired based on the status information in the presence detector status table.
[0014] In addition, to achieve the above-mentioned purpose, the present application also provides an area identification device based on an in-situ detector, the device comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program being configured to implement the steps of the area identification method based on the in-situ detector as described above.
[0015] In addition, to achieve the above-mentioned purpose, the present application also provides a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the area recognition method based on the in-place detector as described above are implemented.
[0016] One or more technical solutions proposed in this application have at least the following technical effects: This application utilizes a club presence detector to monitor the usage status of each club in real time. When a specific club type is identified as being removed for use, such as when a putter is missing, the system can determine that the user is currently located in an area such as a putting green based on the preset correspondence between club type and hitting area. This allows the golf cart to dynamically sense the user's location and proactively restrict the cart from entering the putting green when the user is using a green-specific club. This effectively avoids the grass damage caused by the lack of regional recognition capabilities in traditional solutions. Furthermore, regional judgment can be achieved by reusing the club presence detection device, reducing system complexity and implementation costs while ensuring effective green protection. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0019] Figure 1 This is a flow chart of a first embodiment of the region recognition method based on an in-place detector of the present application; Figure 2 This is a flow chart of a first embodiment of the region recognition method based on an in-place detector of the present application; Figure 3 This is a flow chart of a first embodiment of the region recognition method based on an in-place detector of the present application; Figure 4 This is a flow chart of a first embodiment of the region recognition method based on an in-place detector of the present application; Figure 5 This is a flow chart of a first embodiment of the region recognition method based on an in-place detector of the present application; Figure 6 It is a structural diagram of a region recognition device based on an in-situ detector in the hardware operating environment involved in the embodiment of the present application.
[0020] 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
[0021] It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application.
[0022] In order to better understand the above technical solution, the above technical solution will be described in detail below with reference to the accompanying drawings and specific implementation methods.
[0023] The main solution of the embodiment of the present application is: the method is applied to a golf bag cart, the golf bag cart includes a golf bag, and the golf bag is equipped with at least two golf club in-place detectors. The method includes: obtaining in-place status data of the in-place detector, identifying a target detector in an absent state in the in-place detector based on the in-place status data, determining the absent golf club corresponding to the target detector, and determining the user's current hitting area based on the mapping relationship between the club type of the absent golf club and the preset hitting area.
[0024] Because the golf bag cart in the prior art cannot identify the current area when continuously following the user based on the user's current location, the golf bag cart is likely to follow the user into areas with carefully maintained grass, such as greens, when the user is hitting the ball, causing damage to the green grass.
[0025] This application utilizes a club presence detector to monitor the usage status of each club in real time. When a specific club type is identified as being removed for use, such as when a putter is missing, the system can determine that the user is currently located in an area such as a putting green based on the preset correspondence between club type and hitting area. This allows the golf cart to dynamically sense the user's location and proactively restrict the cart from entering the putting green when the user is using a green-specific club. This effectively avoids the grass damage caused by the lack of regional recognition capabilities in traditional solutions. Furthermore, regional judgment can be achieved by reusing the club presence detection device, reducing system complexity and implementation costs while ensuring effective green protection.
[0026] To better understand the above technical solutions, exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. Rather, these embodiments are provided to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.
[0027] It should be noted that the execution subject of this embodiment can be a golf cart, or a computing service device with data processing, network communication, and program execution capabilities, such as a tablet computer, personal computer, mobile phone, etc., or an electronic device capable of performing the aforementioned functions, or an area recognition device based on a presence detector, etc. This embodiment does not specifically limit this. The following uses a golf cart as an example to illustrate this embodiment and the following embodiments.
[0028] Based on this, the embodiment of the present application provides a region recognition method based on an in-place detector, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the region recognition method based on the presence detector of the present application.
[0029] In this embodiment, the region recognition method based on the in-situ detector includes steps S10 to S40: Step S10: obtaining the in-place status data of the in-place detector; In this embodiment, a golf bag cart includes a golf bag, a golf bag cart control system, and other components. The golf bag is used to store golf clubs and is equipped with at least two golf club presence detectors. The golf bag cart control system can detect and acquire sensor data from the presence detectors to obtain corresponding presence status data. The presence detector is a sensor device that detects whether a golf club is in a presence state in the golf bag and determines presence status data. The presence status data is used to indicate whether the golf club is in a corresponding position in the golf bag. The presence detector can optionally use a contact sensor such as a pressure sensor, or a non-contact sensor such as an infrared sensor or an electromagnetic sensor to detect the presence status of the golf club.
[0030] As an optional embodiment, the golf cart can monitor the status of the presence detector in real time via a presence detector status table in the control system. Specifically, when the golf cart control system receives sensor data from the presence detector, it identifies the information contained in the sensor data and updates the presence detector status information in a pre-stored presence detector status table. Based on the status information in the presence detector status table, the golf cart control system can obtain the presence detector's presence status data and determine the user's current hitting zone in real time.
[0031] As another optional implementation, the golf bag cart can also trigger a presence detector based on user behavior, thereby acquiring presence status data for the presence detector in the golf bag. The cart utilizes a vision module and / or lidar to capture image information or point cloud data, capturing user motion information over at least two time frames, forming a continuous sequence of user motions. Based on the motion information and corresponding time frames, the cart compares the information with pre-stored behavioral signatures using methods such as time series analysis to determine the user's behavior. If the behavior information indicates a preparatory action for a shot, the cart triggers an identification action for the user's current hitting zone, acquiring presence status data for the presence detector.
[0032] Step S20: identifying a target detector in an absent state in the in-place detectors based on the in-place status data; In this embodiment, if the presence status data is absent, it indicates that the pole position corresponding to the presence detector in the golf bag is empty, indicating that the club is absent. The target detector refers to the detector that currently detects the absence of the club. The golf bag cart control system can query the presence status data of the presence detectors in each pole position in the presence detector status table to identify the target detector. It can also control the presence detectors to perform real-time detection actions, obtain the presence status data of the presence detectors, and identify the target detector. The identification process is typically implemented through a state table query and matching algorithm.
[0033] Optionally, the ball bag car control system traverses the state table and filters out detectors in the absent state. To avoid transient signal interference such as accidental touch, the control module can set a time window, and only when the detector is in the absent state for a period greater than the time window is it confirmed as absent.
[0034] Alternatively, the golf bag can be equipped with redundant sensors, allowing multiple sensors to simultaneously identify the presence of the clubs, thereby improving the accuracy of the presence status data. If the golf bag cart is equipped with redundant sensors, such as a combination of contact and non-contact sensors, the control module can further confirm the detection results through logical AND / OR operations.
[0035] Step S30: determining the missing club corresponding to the target detector; Step S40: determining the user's current hitting area based on the mapping relationship between the club type of the missing club and the preset hitting area.
[0036] It should be noted that since each club in the golf bag has a fixed location, the golf bag cart can establish a mapping relationship between the location detectors and the clubs by using the location detectors. Furthermore, since users may need different club types in different hitting areas, such as using a putter on the green, the golf bag cart control system can also establish a mapping relationship based on the club type and the hitting area where it is used.
[0037] In this embodiment, based on the club positions corresponding to the target detectors, the golf cart can determine the missing club among the clubs through a mapping relationship and determine the club type of the missing club. Furthermore, based on the club type, the golf cart determines the user's current hitting area within the preset area where the club is used.
[0038] In one embodiment, if multiple clubs are missing, the control module can determine the hitting area based on the preset club priorities. For example, if a user is using a sand wedge and other clubs simultaneously, this indicates that the user is in an area containing a sand trap. Therefore, to avoid being trapped in a sand trap, the golf cart can determine the current hitting area as the sand trap area based on the high-priority sand wedge. Alternatively, if the missing clubs are a putter and a wood, and the mapping table prioritizes woods over putters, the control system will determine the hitting area as the teeing area.
[0039] In another embodiment, the golf bag cart can also be combined with multiple golf clubs to determine that the user's current area is a composite area.
[0040] Optionally, when there are multiple empty spaces for golf clubs in the golf bag at the same time, or when the visual module recognizes that the user is not holding the missing golf club, the golf bag cart can also output a prompt message of missing golf club on the configured display screen.
[0041] Optionally, because different types of clubs have different heights, the final heights of the clubs after storage may not be exactly the same. The golf cart can use a visual module to assist in identifying the type of club in each position to determine whether the club is stored in the correct position. Furthermore, if the golf cart detects that a club is not stored in the correct position, it can output a prompt indicating that the club is stored in an incorrect position or adjust the mapping relationship between the club type and the position detector.
[0042] The present embodiment utilizes a club presence detector to monitor the usage status of each club in real time. When a specific club type is identified as being removed for use, such as when a putter is missing, the system can determine the user's current location in an area such as a putting green based on the preset correspondence between club type and hitting area. This allows the golf cart to dynamically sense the user's location and proactively restrict the cart from entering the putting green when the user is using a green-specific club. This effectively avoids the grass damage caused by the lack of regional recognition capabilities in traditional solutions. Furthermore, regional judgment can be achieved by reusing the club presence detection device, reducing system complexity and implementation costs while ensuring effective green protection.
[0043] Based on the same inventive concept, this application also provides a second embodiment, referring to Figure 2 , Figure 2 This is a flow chart of a second embodiment of the region recognition method based on a presence detector of the present application.
[0044] In this embodiment, after determining the user's current hitting area based on the mapping relationship between the club type of the missing club and the preset hitting area as described in step S40, steps S41 to S43 are further included: Step S41: Scanning the current environment through the visual module to obtain an environment image; Step S42: segmenting the environment image region using an image recognition algorithm, determining the segmented regions of the environment image, and extracting regional feature information from the segmented regions; Step S43: matching the region feature information with preset feature information of the hitting area, and determining boundary information of the hitting area according to the matching result.
[0045] In this embodiment, the golf cart also includes a visual module for capturing and recognizing environmental images, which includes a camera and an image processing system. The visual system can capture panoramic images using a panoramic camera, or can capture and stitch images from multiple cameras to form a panoramic image, or can capture environmental images that include the user and the environment using cameras in preset positions.
[0046] Specifically, the ball bag car vision module can analyze and process images using an image recognition algorithm, dividing the image into multiple regions and extracting regional feature information from each region. Regional feature information includes characteristics such as color, texture, and shape. The image recognition algorithm can perform image segmentation and feature extraction through sampling and pooling using a U-net model or a threshold segmentation model.
[0047] Furthermore, the golf bag also stores preset feature information for different areas, which can be used to obtain the preset feature information corresponding to the hitting area. The vision module can sequentially traverse each segmented area, match the regional feature information with the preset feature information of the hitting area, and thus select a target area within the segmented area, and use the boundary information of the target area as the boundary information of the hitting area.
[0048] The vision module scans and segments the environment, combined with feature matching technology, to accurately identify the boundaries of the hitting area. This method is adaptable to varying lighting conditions and complex environments, significantly improving the golf cart's environmental perception capabilities. Through feature extraction and matching, the cart can automatically identify the hitting area and obtain boundary information, providing reliable support for subsequent navigation and obstacle avoidance.
[0049] Since the system described in Example 2 of this application is the system used to implement the method of Example 1 of this application, those skilled in the art will be able to understand the specific structure and variations of the system based on the method described in Example 1 of this application, and therefore, no further description is given here. All systems used in the method of Example 1 of this application fall within the scope of protection to be provided by this application.
[0050] Based on the same inventive concept, this application also provides a third embodiment, referring to Figure 3 , Figure 3 This is a flow chart of a third embodiment of the region recognition method based on a presence detector of the present application.
[0051] In this embodiment, after determining the user's current hitting area based on the mapping relationship between the club type of the missing club and the preset hitting area as described in step S40, steps S44 to S46 are further included: Step S44: Obtaining point cloud depth information of the current environment through the laser radar; Step S45: determining a depth distribution feature of the point cloud depth information based on the ground coordinates based on the mapping relationship between the point cloud depth information and the ground coordinates; Step S46: extracting boundary information of the hitting area according to the depth distribution characteristics.
[0052] It should be noted that golf balls typically have grassy areas, bunkers, and other environments. Different areas often exhibit different depth distribution characteristics based on grass growth and terrain distribution. For example, the grass on the putting green is more meticulously maintained, resulting in dense and neat grass. However, the grass outside the putting green is less well-maintained due to cost constraints, growing taller and more sparse than the putting green. Bunkers, on the other hand, have less grass. The golf cart can identify boundary information within an area based on these different depth distribution characteristics.
[0053] In this embodiment, the golf cart is also equipped with a laser radar. The laser radar can scan the ground surface surrounding the cart to obtain ground point cloud information and determine point cloud depth information. Based on the different point cloud depth information at different ground coordinates, the golf cart can construct a depth distribution feature of the point cloud depth information at the ground coordinates, match this depth distribution feature with pre-set feature information of the hitting area, and determine boundary information based on the area in the depth distribution feature that matches the hitting area.
[0054] For example, when the golf cart control system recognizes that the point cloud depth distribution characteristics within three meters in front have large fluctuations and are lower in the low places, while the area outside the three meters in front has small fluctuations and is higher in the low places, it can determine that the three-meter position is the boundary of the area and obtain boundary information.
[0055] In one embodiment, because visual boundary recognition is not very accurate, the golf cart can use a visual module to identify the boundary information of the front hitting area and continuously scan the front using a laser radar to obtain the depth distribution characteristics of the ground ahead. Based on this depth distribution, the golf cart can identify the boundary coordinates and the distance between its current position and the boundary, thereby obtaining accurate boundary information.
[0056] This embodiment of the application uses LiDAR to obtain point cloud depth information of the environment and extracts the boundary information of the hitting area based on the depth distribution characteristics. This method can accurately identify the area, adapt to complex environments, and significantly improve the environmental perception ability of the golf bag car.
[0057] Since the system described in Example 3 of this application is the system used to implement the method of Example 1 of this application, those skilled in the art will be able to understand the specific structure and variations of the system based on the method described in Example 1 of this application, and therefore will not be described in detail here. All systems used in the method of Example 1 of this application fall within the scope of protection to be provided by this application.
[0058] Based on the same inventive concept, this application also provides a fourth embodiment, referring to Figure 4 , Figure 4 This is a flow chart of a fourth embodiment of the region recognition method based on a presence detector of the present application.
[0059] In this embodiment, after determining the user's current hitting area based on the mapping relationship between the club type of the missing club and the preset hitting area as described in step S40, steps S51 and S52 are further included: Step S51: matching the hitting area with a preset prohibited area, and adjusting the motion state of the golf bag vehicle to a stopped state when the hitting area is a prohibited area; Step S52: Based on the stopped state, executing a braking action of the golf bag car.
[0060] In this embodiment, the restricted area refers to areas on the golf course where golf carts are prohibited from entering, typically including water hazards, bunkers, and greens. The golf cart control system sends a stop command to the power system, cutting off the power to the motor. Sensors confirm that the golf cart has stopped, such as when the wheel speed sensor detects zero speed. Simultaneously, the golf cart control system applies the brakes to reduce the cart's speed. The golf cart can either immediately cut off power through an emergency stop or gradually slow down to a stop.
[0061] As an optional implementation, in order to avoid interfering with the user's hitting the ball or accidentally entering a prohibited area, the golf bag car can stop in place by braking after entering a stopped state.
[0062] As another optional embodiment, the golf cart control system may also obtain the user's location and the boundary information of the hitting area and, based on the user's location, determine a parking location in an area adjacent to the hitting area. The golf cart control system may plan a movement path between the current location and the parking location and, based on the movement path, move the golf cart to the parking location.
[0063] This embodiment significantly improves the safety of golf carts by matching hitting areas with restricted areas and executing stopping and braking actions when a restricted area is confirmed. This method can quickly respond to environmental changes, preventing the cart from entering dangerous areas, and supports multiple braking methods to ensure a smooth and reliable stopping process.
[0064] Since the system described in Example 4 of this application is the system used to implement the method of Example 1 of this application, those skilled in the art will be able to understand the specific structure and variations of the system based on the method described in Example 1 of this application, and therefore will not be described in detail here. All systems used in the method of Example 1 of this application fall within the scope of protection to be provided by this application.
[0065] Based on the same inventive concept, this application also provides a fifth embodiment, referring to Figure 5 , Figure 5 This is a flowchart of a fifth embodiment of the region recognition method based on a presence detector of the present application.
[0066] In this embodiment, after determining the missing club corresponding to the target detector in step S30, steps S31 to S33 are further included: Step S31: identifying a target club used by a target user other than the user in the environment image; Step S32: determining the target club type corresponding to the target club; Step S33: Match the target club type with the club type of the missing club, and output a prompt message if they do not match.
[0067] In this embodiment, the target user is a user other than the user in the current environment. Because a user may place the club in the wrong area, or the presence sensor may misidentify the user, the golf bag car can further identify the target club being used by the other user in the environment image and determine the corresponding target club type.
[0068] Optionally, the golf bag cart may count the number of golf club types used in the current area, and use the most used golf club type as the target golf club type.
[0069] Furthermore, the golf bag cart matches the target club type with the club type currently used by the user, and outputs a prompt message indicating abnormal club usage if there is a mismatch. Based on this prompt message, the user can adjust the club currently used or adjust the storage location of the club.
[0070] Since the system described in Example 5 of this application is the system used to implement the method of Example 1 of this application, those skilled in the art will be able to understand the specific structure and variations of the system based on the method described in Example 1 of this application, and therefore will not be described in detail here. All systems used in the method of Example 1 of this application fall within the scope of protection to be provided by this application.
[0071] The present application provides an area recognition device based on an in-situ detector, the device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the area recognition method based on the in-situ detector in the above-mentioned embodiment one.
[0072] Reference below Figure 6 , which shows a schematic structural diagram of a presence detector-based area recognition device suitable for implementing embodiments of the present application. The presence detector-based area recognition device in the embodiments of the present application may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 6The region recognition device based on the presence detector shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0073] like Figure 6 As shown, the area recognition device based on a presence detector may include a processing device 1001 (e.g., a core processor, a graphics processor, etc.), which can perform various appropriate actions and processes based on a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. RAM 1004 also stores various programs and data required for the operation of the area recognition device based on a presence detector. Processing device 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touch screen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1003 including, for example, a magnetic tape, hard disk, etc.; and communication devices 1009. The communication devices 1009 can allow the presence detector-based area recognition device to communicate with other devices wirelessly or by wire to exchange data. While the figure shows a presence detector-based area recognition device with various systems, it should be understood that implementation or presence of all the illustrated systems is not required. More or fewer systems may alternatively be implemented or present.
[0074] In particular, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program comprising program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device 1003, or installed from a read-only memory 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are performed.
[0075] The presence detector-based area recognition device provided in this application utilizes the presence detector-based area recognition method described in the aforementioned embodiment to address the technical issue of golf carts easily following users into carefully maintained areas such as greens during golf swings, potentially causing damage to the grass. Compared to the prior art, the present invention's presence detector-based area recognition device offers the same beneficial effects as the presence detector-based area recognition method described in the aforementioned embodiment. Other technical features of this presence detector-based area recognition device are the same as those disclosed in the aforementioned embodiment and are not further elaborated upon here.
[0076] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0077] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
[0078] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, a computer program) stored thereon, wherein the computer-readable program instructions are used to execute the region recognition method based on the presence detector in the above embodiment.
[0079] The computer-readable storage medium provided herein may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems, or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including, but not limited to, wires, optical cables, radio frequency (RF), etc., or any suitable combination thereof.
[0080] The computer-readable storage medium may be included in the area recognition device based on the presence detector, or may exist independently without being assembled into the area recognition device based on the presence detector.
[0081] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the area recognition device based on the in-place detector, the area recognition device based on the in-place detector: the method is applied to a golf bag cart, the golf bag cart includes a golf bag, and the golf bag is equipped with in-place detectors for at least two golf clubs. The method includes: obtaining in-place status data of the in-place detector, identifying a target detector in an absent state in the in-place detector based on the in-place status data, determining the absent golf club corresponding to the target detector, and determining the user's current hitting area according to the mapping relationship between the club type of the absent golf club and the preset hitting area.
[0082] Computer program code for performing the operations of the present application may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0083] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, program segment or part of code, and the module, program segment or part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can be implemented using a dedicated hardware-based system that performs the specified function or operation, or can be implemented using a combination of dedicated hardware and computer instructions.
[0084] The modules described in the embodiments of the present application may be implemented in software or hardware, wherein the name of a module does not necessarily limit the unit itself.
[0085] The computer-readable storage medium provided in this application stores computer-readable program instructions (i.e., a computer program) for executing the aforementioned method for identifying areas using a presence detector. This method addresses the technical issue of golf carts following users into carefully maintained areas such as greens during golfing, potentially causing damage to the grass. Compared to the prior art, the computer-readable storage medium provided in this application offers the same beneficial effects as the method for identifying areas using a presence detector provided in the aforementioned embodiments, and will not be further elaborated upon here.
[0086] The above description is only part of the embodiments of the present application and does not limit the patent scope of the present application. All equivalent structural transformations made by using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect application in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A region recognition method based on an in-situ detector, characterized in that: Applied to a golf bag cart, the golf bag cart includes a golf bag, and the golf bag is equipped with at least two golf club presence detectors, and the method includes the following steps: Acquiring in-situ status data of the in-situ detector; Based on the in-place status data, identifying a target detector in an absent state among the in-place detectors; determining a missing club corresponding to the target detector; The user's current hitting area is determined according to the mapping relationship between the club type of the missing club and the preset hitting area.
2. The method according to claim 1, wherein The golf bag cart further includes a visual module, and after the step of determining the user's current hitting area based on the mapping relationship between the club type of the missing club and the preset hitting area, further includes: Scan the current environment through the visual module to obtain an environment image; Segmenting the environmental image region using an image recognition algorithm, determining the segmented region of the environmental image, and extracting regional feature information from the segmented region; The region feature information is matched with preset feature information of the hitting area, and boundary information of the hitting area is determined according to the matching result.
3. The method according to claim 1, wherein The golf bag cart further includes a laser radar. After the step of determining the user's current hitting area based on the mapping relationship between the club type of the missing club and the preset hitting area, the method further includes: Obtain point cloud depth information of the current environment through lidar; Determining, based on a mapping relationship between the point cloud depth information and the ground coordinates, a depth distribution feature of the point cloud depth information based on the ground coordinates; Boundary information of the hitting area is extracted according to the depth distribution characteristics.
4. The method according to claim 1, wherein After the step of determining the user's current hitting area based on the mapping relationship between the club type of the missing club and the preset hitting area, the method further includes: Matching the hitting area with a preset prohibited area, and adjusting the motion state of the golf bag vehicle to a stopped state when the hitting area is a prohibited area; Based on the stopped state, a braking action of the golf bag car is performed.
5. The method according to claim 4, wherein Before the step of performing a braking action on the golf bag car based on the stopped state, the method further includes: Obtaining a user's location and boundary information of the hitting area; Determining a parking position in an area adjacent to the boundary of the hitting area based on the user's position; Based on the movement path between the current position and the parking position, the vehicle moves to the parking position.
6. The method according to claim 1, wherein Before the step of obtaining the in-position status data of the in-position detector, the method further includes: Collecting action information of the user in at least two time frames; Determining the user's behavior information based on the action information and the corresponding time frame; When the behavior information is a ball-striking preparation behavior, the area recognition action is triggered, and the step of acquiring the on-site status data of the on-site detector is performed.
7. The method according to claim 1, wherein After the step of determining the missing club corresponding to the target detector, the method further includes: identifying, in the environment image, a target club used by a target user other than the user; determining a target club type corresponding to the target club; The target club type is matched with the club type of the missing club, and if they do not match, prompt information is output.
8. The method according to claim 1, wherein The step of obtaining the in-situ status data of the in-situ detector comprises: When the sensing data of the presence detector is received, updating the status information of the presence detector in the presence detector status table; The presence status data of the presence detector is acquired based on the status information in the presence detector status table.
9. A region recognition device based on an in-situ detector, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the region recognition method based on the presence detector according to any one of claims 1 to 8.
10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the area recognition method based on the in-situ detector are implemented as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Multifunctional unmanned golf cart
CN116573079A
Golf cart control method, golf cart and storage medium
CN117130374A
Golf event management system with scoring and location tracking
CN119654185A
Electric Vechicle Charging Connector Gripper Device for Charging Robot
KR1020260012311A
Device and method for calculating golf statistics
US20140277630A1