Trinocular camera control method, device and trinocular camera
Through the trinocular camera control method, golf balls and clubs are identified, light intensity is improved, and the frame rate limit and insufficient shooting position of the traditional camera system is solved, and more accurate and comprehensive big data acquisition is achieved, ensuring the accurate analysis of golf ball hitting movements and the accuracy of data.
Patent Information
- Application Number
- CN202411856073.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-17
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2044-12-17
AI Technical Summary
The frame rate limit of traditional camera systems during golf hitting leads to a decrease in the recognition and calculation accuracy of the ball flight process, and the placement of indoor golf camera equipment limits the shooting accuracy and comprehensiveness of data, resulting in misjudgment and insufficient data accuracy.
The trinocular camera control method is adopted to obtain images through the control device, identify golf balls and clubs, control the lamp to turn on the preset mode, improve the light intensity, ensure image clarity, and enter low-power mode when the target object is not recognized.
It improves the image acquisition accuracy and comprehensiveness of data during golf ball hitting, reduces false results caused by misidentification and environmental interference, ensures detection accuracy, and reduces energy consumption.
Smart Images

Figure CN119342334B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of camera control, and in particular to a three-eye camera control method, a device and a three-eye camera. Background Art
[0002] With the increasing number of indoor golf venues, golf enthusiasts are more and more inclined to enjoy the fun of practice and entertainment indoors. In the indoor golf system, the golf ball detection system plays an important role. It is responsible for tracking the dynamics of the club and the ball during the hitting process, and accurately calculates the movement data of the club and simulates the flight trajectory of the ball.
[0003] However, traditional camera systems face the problem of frame rate limitation. When a golf ball is hit at a very fast speed, the camera system can only record a few images of the ball during its movement, which may lead to a decrease in the accuracy of identifying and calculating the ball's flight process, and may even miss or blur the images of the key hitting moment, thereby hindering the in-depth analysis of the hitting action, and ultimately causing calculation errors or failure to obtain effective results. In addition, traditional indoor golf camera equipment is often placed behind the user and mainly shoots side paths. This method limits the accuracy of shooting and the comprehensiveness of data to a certain extent. These problems may cause misjudgment during data comparison, such as mistakenly identifying the movement of objects in non-hitting areas as hitting actions. Therefore, a camera that can detect images more accurately and comprehensively is needed to overcome the shortcomings of traditional camera systems in terms of frame rate limitation and data accuracy. Summary of the invention
[0004] The main purpose of the present invention is to provide a three-eye camera control method, a device and a three-eye camera, aiming to overcome the shortcomings of traditional camera systems in terms of frame rate limitation and data accuracy.
[0005] In view of the above problems, the present invention proposes a three-eye camera control method, the control method is based on a control device, the control device is electrically connected to the lamp, and comprises the following steps:
[0006] Get the image;
[0007] Determine whether there is a golf ball in the target area according to the acquired image, and when a golf ball is identified, control the lamp to turn on a preset mode;
[0008] Based on the preset mode of turning on the lamp, determine whether there is a golf club in the target area, and when the golf club is identified, process the acquired image and transmit it to the upper computer, so that the upper computer calculates the movement trajectory of the golf ball and the golf club according to the acquired image;
[0009] When the golf ball is not recognized or when the golf ball is recognized but the club is not recognized, the system continues to detect whether there is a golf ball in the target area until the detection time exceeds a preset time and enters a low power consumption mode.
[0010] Optionally, the control device is electrically connected to a three-camera system, and the specific steps of acquiring the image include:
[0011] Images were acquired using a trinocular system.
[0012] Optionally, the specific steps of determining whether there is a golf ball in the target area according to the acquired image, and controlling the lamp to turn on a preset mode when a golf ball is identified include:
[0013] Analyzing the image using an image processing algorithm to detect whether there is a golf ball in the target area;
[0014] When a golf ball is identified in the target area, the light is controlled to turn on a preset mode.
[0015] Optionally, the specific steps of determining whether there is a golf club in the target area based on the preset mode of turning on the lamp, and when the golf club is identified, processing the acquired image and transmitting it to the upper computer so that the upper computer calculates the movement trajectory of the golf ball and the golf club according to the acquired image include:
[0016] Based on the preset mode of turning on the lamp, the image is analyzed again using an image processing algorithm to detect whether there is a club in the target area;
[0017] When the golf club is identified in the target area, an image including the golf ball and the golf club is captured in the currently acquired image;
[0018] The image currently containing the golf ball and the club is processed and transmitted to the upper computer, so that the upper computer calculates the movement trajectory of the golf ball and the club according to the image currently containing the golf ball and the club.
[0019] Optionally, when the golf ball is not recognized or when the golf ball is recognized but the club is not recognized, the specific steps of entering the low power consumption mode include:
[0020] When no golf ball is identified, the first detection time is started to be calculated, and detection continues to be performed to determine whether there is a golf ball in the target area;
[0021] Until the time period of the first detection time exceeds the first preset time, entering the low power consumption mode;
[0022] When the golf ball is identified but the club is not identified, the second detection time starts to be calculated, and the detection continues to be whether there is a golf ball in the target area;
[0023] Until the time period of the second detection time exceeds the first preset time, the low power consumption mode is entered.
[0024] Optionally, the time period of the first detection time starts from the first time that the golf ball is not recognized until the golf ball is recognized or a first preset time is exceeded.
[0025] Optionally, the time period of the second detection time starts from when a golf ball is first recognized but a club is not recognized, until the club is recognized or a second preset time is exceeded.
[0026] The present invention also proposes a control device, including a memory and a processor, wherein the memory is provided with a control program, and when the control program is executed by the processor, the steps of the three-eye camera control method as described above are implemented.
[0027] The present invention also provides a three-eye camera, comprising the control device as described above, three cameras forming a three-eye system, and a lamp;
[0028] The three-eye system is arranged above the target area and is used to acquire images to monitor the target area;
[0029] The three cameras are respectively arranged at certain angles.
[0030] The control method of the present invention helps to reduce erroneous results caused by misidentification or environmental interference by detecting whether there is a golf ball in the target area, and further detecting whether there is a club based on the confirmation of its existence, thereby ensuring the accuracy of the detection. In addition, if the target object is not recognized for a long time, it enters a low power consumption state to reduce energy consumption. At the same time, the present invention uses three cameras to form a three-eye system to collect images. The three-eye system is arranged above the target area, which helps to reduce the occlusion of the camera by the ground or obstacles. The three cameras are respectively arranged at a certain angle, and the field of view is wider, which can capture more dynamics in the target area, further improving the accuracy and reliability of the detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0032] Figure 1A flow chart of the steps of a three-eye camera control method of the present invention;
[0033] Figure 2 A flow chart of steps of an embodiment of a three-eye camera control method of the present invention;
[0034] Figure 3 The present invention is a structural schematic diagram of a three-eye camera.
[0035] Trinocular system 01, lighting fixture 02.
[0036] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0037] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0038] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0039] In the present invention, unless otherwise clearly specified and limited, the terms "connection", "fixation", etc. should be understood in a broad sense. For example, "fixation" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0040] In addition, in the present invention, descriptions such as "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying 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 the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. 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 the present invention.
[0041] In view of the above problems, the present invention proposes a three-eye camera control method, the control method is based on a control device, the control device is electrically connected to the lamp 02, such as Figure 1 and Figure 2 As shown, the following steps are included:
[0042] S100: acquiring an image;
[0043] S200: determining whether there is a golf ball in the target area according to the acquired image, and when a golf ball is identified, controlling the lamp 02 to turn on a preset mode;
[0044] S300: Based on the preset mode of the lamp 02, it is determined whether there is a golf club in the target area. When the golf club is identified, the acquired image is processed and transmitted to the upper computer, so that the upper computer calculates the movement trajectory of the golf ball and the golf club according to the acquired image;
[0045] S400: When the golf ball is not recognized or the golf ball is recognized but the club is not recognized, the system continues to detect whether there is a golf ball in the target area until the detection time exceeds a preset time, and enters a low power consumption mode.
[0046] More specifically, indoor golf, also known as simulated golf, is a type of golf sport played indoors using equipment such as a golf simulator. The indoor golf system includes a golf ball detection system and a projection and display system.
[0047] The golf ball detection system monitors the movement of the golf club and the ball when the player hits the golf ball with a golf club, and then calculates the reasonable movement data of the club and the ball and simulates the flight trajectory of the ball. The projection and display system usually consists of a high-definition projector and a projection screen with impact resistance and buffering. The projector projects the course scene generated by the simulator and the flight trajectory of the ball onto the screen for players to watch and refer to.
[0048] Players first select their favorite venue, game mode, and practice method, then stand at the designated location (i.e., the hitting area) of the golf ball detection system and use a real golf club to hit the ball. The golf ball detection system measures the movement trajectory of the club and ball when the player hits the golf ball, obtains the movement data of the club and ball, and simulates the flight trajectory of the ball. Afterwards, the simulation results of the ball's flight trajectory and landing point are generated and presented on the projection screen.
[0049] However, traditional indoor golf camera equipment is often placed behind the user and mainly shoots the side path, which limits the accuracy of shooting and the comprehensiveness of data to a certain extent. In addition, the camera equipment can only record the insufficient image of the ball during its movement, which may lead to a decrease in the recognition and calculation accuracy of the ball's flight process.
[0050] In view of the above problems, the present invention proposes a three-eye camera control method, device and three-eye camera. In step S100, an image is acquired. As mentioned above, the player stands at the designated position of the golf ball detection system (i.e., the hitting area) and uses a real golf club to hit the ball. The acquired image needs to cover the entire hitting area, which is usually accurately calibrated to ensure the accuracy of the hitting action and the reliability of the data.
[0051] The division of the hitting area needs to take into account the space requirements for the swing action, the position and size of the curtain, and the position of the serving device. The length of the swing area should be enough to accommodate the player's standard swing action, ensuring that there is enough space for the backswing and follow-through when hitting the ball; in terms of width, it should ensure that the player can stand freely and adjust his posture before hitting the ball, and reserve reasonable space for the ball to fly and rebound.
[0052] The height needs to adapt to the highest point of the player's swing to ensure that the ball does not touch the ceiling during flight. It is worth noting that the present invention sets the camera above the hitting area. When considering the height of the hitting area, it is necessary to ensure that the ball does not touch the camera during flight.
[0053] Also, the screen needs to be at a moderate distance from the swing area to ensure that the ball can be accurately projected onto the screen after the player hits the ball. The serving device should be placed on the side or behind the hitting area to ensure that the ball can be smoothly and accurately delivered to the hitting point. At the same time, the position of the serving device also needs to be coordinated with the position of the screen to ensure the capture and projection effect of the hitting action.
[0054] In step S200, it is determined whether there is a golf ball in the target area according to the acquired image, and when a golf ball is identified, the lamp 02 is controlled to turn on a preset mode. In this step, the target area is the hitting area described in step S100.
[0055] Based on the acquired image, the acquired image is analyzed and processed using image processing or computer vision technology to determine whether there is a golf ball, such as a golf ball, in the hitting area. During the target object detection process, the algorithm compares the object in the image with the preset features of the golf ball (such as shape, color, texture, etc.). If the match is successful, it is considered that there is a golf ball in the target area.
[0056] Once a golf ball is identified in the hitting area, the control logic of the lamp 02 is immediately triggered to turn on the preset lamp 02 mode, which is to adjust the lighting state of the lamp 02, such as increasing the brightness to provide visual feedback or meet specific lighting needs. By adjusting the lighting state of the lamp 02 and increasing the intensity of the light, the camera can obtain clear and accurate image information.
[0057] In step S300, based on the preset mode of the lamp 02, it is determined whether there is a golf club in the target area. When the golf club is identified, the acquired image is processed and transmitted to the upper computer so that the upper computer calculates the movement trajectory of the golf ball and the golf club based on the acquired image.
[0058] After the lamp 02 is turned on in the preset mode, the acquired image is analyzed and processed using image processing or computer vision technology to determine whether there is a club, such as a golf club, in the hitting area. Therefore, a player may warm up with a club in the hitting area. Therefore, it is necessary to detect the golf ball first. If the ball does not exist, then the subsequent step of detecting the club may be unnecessary, thereby improving the overall processing efficiency of the system.
[0059] From a technical implementation perspective, detecting a golf ball is relatively simple and fast. A golf ball is usually round or nearly round, with clear shape features and color contrast, which makes it easier for the detection algorithm to identify and track it. The shape and material of a club may be more complex and varied, and detection may be more time-consuming and complicated.
[0060] Once the golf club is detected in the hitting area, it starts to capture the image containing the golf ball and the golf club in the current acquired image, and performs preliminary processing on the acquired image, such as denoising, enhancement and filtering, etc. The processed image is then transmitted to the upper camera, which calculates the movement data of the club and the ball and simulates the flight trajectory of the ball.
[0061] Specifically, the present application uses FPGA as the control core, and the optical signal captured by the camera is converted into an electrical signal, which is then digitized into image data. These image data are transmitted to the FPGA in real time via a high-speed data transmission line. With the advantage of parallel operation, FPGA simultaneously processes the image data from the camera, compares and analyzes them, thereby realizing the detection of the hitting area and the acquisition of images of the movement process of the golf club and the golf ball, and transmitting the image data to the upper camera position.
[0062] In step S400, when the golf ball is not recognized or when the golf ball is recognized but the club is not recognized, the system continues to detect whether there is a golf ball in the target area until the detection time exceeds a preset time, and enters a low power consumption mode.
[0063] When a golf ball is not identified in the hitting area, the timing will start and return to step S200 to continue to detect whether there is a golf ball in the hitting area to ensure that there is no omission or misjudgment. When the timing exceeds the preset time, the system will be triggered to enter a low power mode. In this mode, the frequency of image acquisition may be reduced, the clock speed of the processor may be reduced, and unnecessary hardware modules may be turned off to maximize energy saving.
[0064] However, in low-power mode, the system should be able to maintain basic detection capabilities for target objects so that it can quickly return to normal working mode when needed. At the same time, the design of low-power mode should reduce energy consumption as much as possible to extend the system's operating time.
[0065] When a golf ball is identified but a club is not identified, the timing will start and the process will return to step S200 to continue detecting whether there is a golf ball in the hitting area. Because the player swings the club to hit the ball in the hitting area, swinging and hitting are two closely connected actions. Swinging is the preparatory action for hitting, and hitting is the final result of the swing. When the ball is detected but the club is not, it is necessary to return to continue detecting the ball instead of the club, mainly based on the continuity of the hitting action. This is intended to prevent the detected ball and the club from being discontinuous in their motion trajectories, thereby ensuring the accuracy and completeness of the analysis of the hitting action.
[0066] If the system turns to detect the club at this time, and the club is not detected for some reason (such as occlusion, insufficient light, etc.), then the system may miss the key part of the hitting action, resulting in the detected trajectory of the ball being inconsistent with the trajectory of the club. This inconsistency will not only affect the accuracy of the analysis of the hitting action, but may also mislead subsequent decisions and judgments. To avoid this from happening, the system needs to keep tracking and detecting the ball. Even if the club is not detected, the system should continue to monitor the position and state changes of the ball to ensure that key information about the hitting action is captured.
[0067] Similarly, when a golf ball is recognized but a club is not recognized for a preset time, the system will be triggered to enter low power mode to save energy.
[0068] like Figure 2 As shown, Figure 2 This is a flowchart of a specific control method step of an embodiment of the present application.
[0069] The control method of the present invention helps to reduce erroneous results caused by misidentification or environmental interference by detecting whether there is a golf ball in the target area, and further detecting whether there is a club based on the confirmation of its existence, thereby ensuring the accuracy of the detection. In addition, if the target object is not recognized for a long time, it enters a low power consumption state to reduce energy consumption. At the same time, the present invention uses three cameras to form a three-eye system 01 to collect images. The three-eye system 01 is arranged above the target area, which helps to reduce the occlusion of the camera by the ground or obstacles. The three cameras are respectively arranged at a certain angle, and the field of view is wider, which can capture more dynamics in the target area, further improving the accuracy and reliability of the detection.
[0070] In one embodiment, the control device is electrically connected to a three-camera system 01, and the specific steps of acquiring an image include:
[0071] The image is acquired through the trinocular system 01.
[0072] Existing visual acquisition devices, whether they are monocular or binocular camera systems, have the problem of insufficient frame rate. In some fast-hitting scenarios, when the hitting speed is extremely fast, the low frame rate only captures 2 to 3 images of the ball's movement, which may lead to low accuracy in identifying and calculating the ball's flight process. At the same time, due to the low frame rate, the image at the critical hitting moment may be lost or blurred, affecting the accurate analysis of the hitting action, and further leading to calculation errors or the inability to calculate the results.
[0073] The three cameras make up the three-eye system 01. Through the synchronous shooting of the three cameras, more images can be captured at the same time, thereby effectively improving the frame rate. The three-eye system 01 can use image fusion technology to fuse the images of the three cameras to form more comprehensive and three-dimensional image information. This can not only improve the clarity of the image, but also reduce the blind spots caused by the limited viewing angle of a single camera.
[0074] Meanwhile, traditional indoor golf camera equipment is often placed behind the user, mainly shooting the side path, which limits the accuracy of shooting and the comprehensiveness of data to a certain extent. The three-eye system 01 is set above the hitting area, which is conducive to the three-eye camera equipment to obtain images with a wider field of view, thereby making the obtained visual data more accurate and more stable.
[0075] In one embodiment, the specific steps of determining whether there is a golf ball in the target area according to the acquired image, and controlling the lamp 02 to turn on the preset mode when the golf ball is identified include:
[0076] Analyzing the image using an image processing algorithm to detect whether a golf ball is within the target area;
[0077] When a golf ball is identified in the target area, the light fixture 02 is controlled to turn on a preset mode.
[0078] Based on the acquired image, image processing or computer vision technology is used to analyze and process the acquired image to determine whether there is a golf ball in the hitting area. In the process of target object detection, the acquired image is first pre-processed, such as denoising, grayscale, binarization, etc., to improve the efficiency and accuracy of subsequent processing, and then edge detection, shape analysis, color recognition and other technologies are used to extract features in the image.
[0079] Since the shape, color and other features of the golf ball are known, a template matching algorithm can be used to find similar areas in the image. A classifier (such as SVM, convolutional neural network, etc.) is trained to identify the golf ball in the image. This method is more effective when the target object has complex or changing features. The above detection is performed in the hitting area to determine whether there is a golf ball.
[0080] Once a golf ball is identified in the hitting area, the control logic of the lamp 02 is immediately triggered to turn on the preset lamp 02 mode, which is to adjust the lighting state of the lamp 02, such as increasing the brightness to provide visual feedback or meet specific lighting needs. By adjusting the lighting state of the lamp 02 and increasing the intensity of the light, the camera can obtain clear and accurate image information.
[0081] In one embodiment, based on the preset mode of the lamp 02 being turned on, determining whether there is a golf club in the target area, and when the golf club is identified, processing the acquired image and transmitting it to the upper computer, so that the upper computer calculates the movement trajectory of the golf ball and the golf club according to the acquired image. The specific steps include:
[0082] Based on the preset mode of the lamp 02, the image is analyzed again using the image processing algorithm to detect whether there is a club in the target area;
[0083] When the golf club is identified in the target area, an image including the golf ball and the golf club is captured in the currently acquired image;
[0084] The image currently containing the golf ball and the club is processed and transmitted to the upper computer so that the upper computer can calculate the movement trajectory of the golf ball and the club based on the image currently containing the golf ball and the club.
[0085] After the lamp 02 is turned on in the preset mode, the acquired image is analyzed and processed using image processing or computer vision technology to determine whether there is a club, such as a golf club, in the hitting area. Therefore, a player may warm up with a club in the hitting area. Therefore, it is necessary to detect the golf ball first. If the ball does not exist, then the subsequent step of detecting the club may be unnecessary, thereby improving the overall processing efficiency of the system.
[0086] When and only when the golf ball and the golf club are simultaneously identified in the target area, the system starts to capture the image containing the golf ball and the golf club in the current acquired image, and performs preliminary processing on the acquired image, such as denoising, enhancement and filtering, etc. The processed image is then transmitted to the upper computer, which calculates the movement data of the club and the ball and simulates the flight trajectory of the ball.
[0087] The application adopts FPGA as the control core, and the light signal captured by the camera is converted into an electrical signal, which is then digitized into image data. These image data are transmitted to the FPGA in real time via a high-speed data transmission line. With its advantage of parallel operation, FPGA simultaneously processes the image data from the camera, compares and analyzes them, thereby realizing the detection of the hitting area and the acquisition of images of the movement process of the golf club and the golf ball, and transmitting the image data to the upper camera position.
[0088] FPGA has powerful parallel processing capabilities and can handle multiple tasks at the same time, thus meeting the high performance requirements of the three-eye camera. It implements image processing algorithms through hardware logic, without having to wait for CPU scheduling and execution like software, so it has higher real-time performance. It can reduce power consumption by optimizing hardware logic and clock frequency.
[0089] In terms of image acquisition and processing, FPGA can receive the raw image data output by the three-camera and perform pre-processing, such as denoising and color correction. It can implement image fusion algorithms to fuse the image data from the three cameras to generate more comprehensive and detailed scene information. When there is no need to process large amounts of image data, FPGA can enter low-power mode to save energy.
[0090] In one embodiment, when a golf ball is not recognized or a golf ball is recognized but a club is not recognized, and the detection of whether a golf ball is present in the target area continues until the detection time exceeds a preset time, the specific steps of entering the low power consumption mode include:
[0091] When no golf ball is identified, the first detection time is started to be calculated, and detection continues to be performed to determine whether there is a golf ball in the target area;
[0092] Until the time period of the first detection time exceeds the first preset time, entering the low power consumption mode;
[0093] When the golf ball is identified but the club is not identified, the second detection time starts to be calculated, and the detection continues to be whether there is a golf ball in the target area;
[0094] Until the time period of the second detection time exceeds the first preset time, the low power consumption mode is entered.
[0095] When the golf ball is not identified in the hitting area, the system will start timing and return to step S200 to continue detecting whether there is a golf ball in the hitting area to ensure that there is no omission or misjudgment. When the timing exceeds the preset time, the system will be triggered to enter low power mode. However, in low power mode, the system should be able to maintain basic detection capabilities of the target object so that it can quickly return to normal working mode when needed.
[0096] When a golf ball is identified but a club is not identified, timing will start and return to S200 to continue detecting whether there is a golf ball in the hitting area. Similarly, when a golf ball is identified but a club is not identified and the timing exceeds a preset time, the system will be triggered to enter a low power consumption mode to save energy.
[0097] In one embodiment, the time period of the first detection time starts from the first time that the golf ball is not recognized until the golf ball is recognized or the first preset time is exceeded. The first detection time starts from the first time that the system fails to detect the golf ball, that is, in this step, it is detected whether there is a golf ball in the hitting area. If the golf ball is not detected, the timing is started, and the detection of whether there is a golf ball in the hitting area is started again until the golf ball is detected or the timing time exceeds the first preset time, and the low power consumption mode is entered.
[0098] In one embodiment, the time period of the second detection time starts from the first time that a golf ball is recognized but a club is not recognized until the club is recognized or the second preset time is exceeded. The second detection time starts from the first time that the system detects a golf ball in the hitting area but does not detect a club, that is, in this step, it is detected whether there is a club in the hitting area. If the club is not detected, the timing is started, and it returns to the beginning to detect whether there is a golf ball in the hitting area again. If there is a golf ball, it starts to detect whether there is a club until the club is detected or the timing time exceeds the second preset time, and then enters the low power consumption mode.
[0099] The present invention also provides a control device, including a memory and a processor. The memory is provided with a control program, and when the control program is executed by the processor, the steps of the three-eye camera control method as described above are implemented.
[0100] The present invention also proposes a three-eye camera, such as Figure 3 As shown, it includes the above-mentioned control device, three cameras forming a three-eye system 01 and a lamp 02;
[0101] The three-eye system 01 is set above the target area and is used to acquire images to monitor the target area; the three cameras are set at a certain angle. This is conducive to the three-eye camera device to acquire images with a wider field of view, thereby making the acquired visual data more accurate and more stable. In this way, this multi-perspective data acquisition method can better restore the batting scene, provide more abundant and accurate materials for subsequent software algorithms, and provide players with a good experience.
[0102] In addition, in this application, the software algorithm and hardware improvements are closely coordinated and optimized. In the case of high frame rates of cameras, the processing speed of the algorithm is also optimized accordingly. Through parallel processing and code optimization of the algorithm, computing resources are fully utilized to ensure that a large amount of image data can be processed in a timely manner, avoiding data accumulation and processing delays.
[0103] The above descriptions are only optional embodiments of the present invention, and are not intended to limit the patent scope of the present invention. All equivalent structural changes made using the contents of the present invention's specification and drawings, or directly / indirectly applied in other related technical fields, are included in the patent protection scope of the present invention.
Claims
1. A three-eye camera control method, characterized in that: The control method is based on a control device, the control device is electrically connected to the lamp, and the control device is electrically connected to a three-eye system consisting of three cameras, and includes the following steps: Acquire images through a trinocular system; Determine whether there is a golf ball in the target area according to the acquired image, and when a golf ball is identified, control the lamp to turn on a preset mode; Based on the preset mode of turning on the lamp, determine whether there is a golf club in the target area, and when the golf club is identified, process the acquired image and transmit it to the upper computer, so that the upper computer calculates the movement trajectory of the golf ball and the golf club according to the acquired image; When a golf ball is not recognized, a first detection time is started to be calculated, and detection of whether there is a golf ball in the target area continues; the time period of the first detection time starts from the first failure to recognize a golf ball until a golf ball is recognized or a first preset time is exceeded; When the time period of the first detection time exceeds the first preset time, entering a low power consumption mode; When a golf ball is identified but a club is not identified, a second detection time is started to be calculated, and the process returns to start again to detect whether there is a golf ball in the target area. After the golf ball is identified, detection of whether there is a club in the target area is started; the time period of the second detection time starts from the first time when the golf ball is identified but the club is not identified, until the club is identified or the second preset time is exceeded; When the second detection time period exceeds the second preset time, the low power consumption mode is entered.
2. The three-eye camera control method according to claim 1, characterized in that: The specific steps of determining whether there is a golf ball in the target area according to the acquired image, and controlling the lamp to turn on the preset mode when the golf ball is recognized include: Analyzing the image using an image processing algorithm to detect whether there is a golf ball in the target area; When a golf ball is identified in the target area, the light is controlled to turn on a preset mode.
3. The three-eye camera control method according to claim 1, characterized in that: The specific steps of determining whether there is a golf club in the target area based on the preset mode of turning on the lamp, and when the golf club is identified, processing the acquired image and transmitting it to the upper computer so that the upper computer calculates the movement trajectory of the golf ball and the golf club according to the acquired image include: Based on the preset mode of turning on the lamp, the image is analyzed again using an image processing algorithm to detect whether there is a club in the target area; When the golf club is identified in the target area, an image including the golf ball and the golf club is captured in the currently acquired image; The image currently containing the golf ball and the club is processed and transmitted to the upper computer, so that the upper computer calculates the movement trajectory of the golf ball and the club according to the image currently containing the golf ball and the club.
4. A control device, characterized in that: The invention comprises a memory and a processor, wherein a control program is arranged in the memory, and when the control program is executed by the processor, the steps of the three-eye camera control method as described in any one of claims 1 to 3 are implemented.
5. A three-eye camera, characterized in that: It comprises the control device as claimed in claim 4, a three-eye system consisting of three cameras, and a lamp; The three-eye system is arranged above the target area and is used to acquire images to monitor the target area; The three cameras are respectively arranged at certain angles.
Citation Information
Patent Citations
Surveillance camera equipment
CN205092923U
Sensing device for calculating information on golf shot of user and sensing method using the same
TW201825155A
Method for measuring behavior of golf club and ball
US20120214606A1