CN115359380A - Basketball dribbling pole-winding test method, equipment and system based on visual technology - Google Patents

Basketball dribbling pole-winding test method, equipment and system based on visual technology Download PDF

Info

Publication number
CN115359380A
CN115359380A CN202210766861.5A CN202210766861A CN115359380A CN 115359380 A CN115359380 A CN 115359380A CN 202210766861 A CN202210766861 A CN 202210766861A CN 115359380 A CN115359380 A CN 115359380A
Authority
CN
China
Prior art keywords
winding
test
rod
line
ball
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210766861.5A
Other languages
Chinese (zh)
Inventor
章珠明
林世明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Henghongda Fujian Sports Technology Co ltd
Original Assignee
Hengonda Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hengonda Technology Co ltd filed Critical Hengonda Technology Co ltd
Priority to CN202210766861.5A priority Critical patent/CN115359380A/en
Publication of CN115359380A publication Critical patent/CN115359380A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • G06V20/41Higher-level, semantic clustering, classification or understanding of video scenes, e.g. detection, labelling or Markovian modelling of sport events or news items
    • G06V20/42Higher-level, semantic clustering, classification or understanding of video scenes, e.g. detection, labelling or Markovian modelling of sport events or news items of sport video content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • G06T7/246Analysis of motion using feature-based methods, e.g. the tracking of corners or segments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • G06T7/292Multi-camera tracking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • G06T7/73Determining position or orientation of objects or cameras using feature-based methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/80Analysis of captured images to determine intrinsic or extrinsic camera parameters, i.e. camera calibration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/24Aligning, centring, orientation detection or correction of the image
    • G06V10/245Aligning, centring, orientation detection or correction of the image by locating a pattern; Special marks for positioning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/20Movements or behaviour, e.g. gesture recognition
    • G06V40/23Recognition of whole body movements, e.g. for sport training
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30196Human being; Person

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Social Psychology (AREA)
  • Psychiatry (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The invention provides a basketball dribbling pole-winding test method, equipment and a system based on a vision technology, wherein the method comprises the following steps: the method comprises the following steps of defining a test field, arranging a winding rod in the test field, arranging a camera for shooting a test process in the test field, wherein the camera is in communication connection with edge intelligent equipment, ensuring that each camera obtains the whole area range of the test field, and calibrating the test field and the winding rod; shooting a video image of the whole test process through a camera, and transmitting the video image to edge intelligent equipment in real time; after the edge intelligent device receives the video image, the image is processed by using a target detection algorithm, whether the tested personnel finish rod winding operation or not and whether illegal operation exists or not are judged, and a judgment result is output. The automatic testing mode of the invention can cover the testing of illegal operations in various aspects such as hitting a pole, stepping on a line, passing a line, racing, running out of a boundary, holding a ball, and the like, and provides analysis result output and improves the testing efficiency.

Description

Basketball dribbling pole-winding test method, equipment and system based on visual technology
Technical Field
The invention relates to the field of sports tests, in particular to a basketball dribbling pole-winding test method, equipment and system based on a vision technology.
Background
The basketball dribbling winding rod is a test item for physical health tests of junior middle school students, senior high school students and college students 'national student physical health standard' and is also a necessary examination item for physical middle school examinations. The basketball control level can be improved through the basketball dribbling and the pole winding, and the sensitivity, the body coordination ability and the ability of the combination of the basketball control can be improved. Therefore, automated testing equipment for basketball dribbling has become an on-demand requirement for various schools and sports testing services. How to measure the performance of basketball dribbling around the pole quickly and accurately is the first target of the testing equipment, and meanwhile, an improvement suggestion is provided for each tested person to make action analysis, and the testing equipment is also an important requirement.
In the prior art, timing, counting and foul judgment are mainly realized through sensing equipment such as infrared photoelectric sensing equipment and a laser sensor. For example, the existing chinese patent application No. 201510172029.2, a basketball dribbling winding rod testing device, discloses a testing device that includes a timer, two starting and ending point testing rods and testing winding rods, wherein a wireless signal receiving switch is installed in the timer, two starting and ending point testing rods are provided, a starting and ending point line is formed between the two starting and ending point testing rods, an infrared photoelectric switch emitter is installed at the upper end of the starting and ending point testing rod, the infrared photoelectric switch emitters on the two starting and ending point testing rods are installed oppositely, five testing winding rods are provided, an infrared photoelectric switch emitter pointing to an adjacent testing winding rod is installed from the upper end of the first testing winding rod starting from the starting and ending point line in a single direction, an infrared photoelectric switch emitter pointing to an adjacent testing winding rod is installed from the upper end of the fifth testing winding rod starting from the starting and ending point line in a single direction, and two infrared photoelectric switch emitters pointing to an adjacent testing winding rod are installed at the upper ends of the remaining three testing winding rods in two directions; has the advantages that: the utility model has the advantages of practicality, accurate timing, high efficiency and effectively preventing the rod leakage phenomenon in the rod winding process. There is also a prior art chinese patent No. 202021369061.2, a basketball dribbling pole tester, which discloses that the basketball dribbling pole tester comprises a supporting assembly, a pole winding assembly and a fixing assembly. The supporting component includes bottom plate and display, the display is fixed the upper surface of bottom plate, the boom subassembly includes slide bar, slider, pole setting, laser range finding sensor and first retaining member, the slide bar is fixed in the bottom plate, the slider slides on the slide bar, the pole setting is fixed the surface of slider, laser range finding sensor fixes in the pole setting, first retaining member screw thread runs through the slider, during the use, when the tester stops to hit the batting, the display stops the count, and digit on the display removes half, is the number of times of hitting ground of the in-process basketball of tester dribbling boom promptly, and the train analysis tester's dribbling characteristics of being convenient for are so that make the pertinence tutor. The above patents suffer from the following disadvantages: the method has the advantages that more devices are used, the installation and deployment difficulty is high, the price is high, the test process playback and action analysis cannot be carried out, if NVR (network video recorder) devices are directly adopted to carry out full-field video recording, the fast retrieval cannot be carried out, the video effect cannot be exerted, and part of sensor devices are directly installed on a pole, so that foul actions such as pole collision and pole falling cannot be accurately judged.
Disclosure of Invention
The invention aims to solve the technical problem of providing a basketball dribbling pole-winding testing method, equipment and system based on a vision technology, solving the problem that the conventional foul actions such as pole bumping, pole falling and the like cannot be accurately judged, simplifying equipment deployment and reducing equipment cost.
In a first aspect, the present invention provides a basketball dribbling test method based on visual technology, the method comprising:
step S1, a test field is defined, a winding rod is arranged in the test field, cameras used for shooting a test process in the test field are arranged, the cameras are in communication connection with edge intelligent equipment, it is ensured that each camera obtains the whole area range of the test field, and the test field and the winding rod are calibrated;
s2, shooting a video image of the whole testing process through the camera, and transmitting the video image to edge intelligent equipment in real time;
and S3, after the edge intelligent equipment receives the video image, processing the image by using a target detection algorithm, judging whether the detected personnel finishes rod winding operation and whether illegal operation exists, and outputting a judgment result, wherein the illegal operation comprises rod hitting, line stepping, line passing, race snatching, dribbling out of bounds and ball embracing running.
Furthermore, the method also comprises the steps of supporting playback of the test process video and outputting test process analysis.
Further, the step S1 specifically includes:
a rectangular test field with a long side of 20 meters and a short side of 7 meters is defined, a starting line and a finishing line are arranged on the same short side, five rows of winding rods are arranged in the square test field at intervals along the long side direction, the distance between every two adjacent rows of winding rods is 3 meters, the distance between the winding rod closest to the starting line and the starting line is 5 meters, each row of winding rods is composed of two winding rods with the interval of 1 meter, and the distance between each row of winding rods and the long sides of the two sides of the rectangular test field is equal;
the two cameras are arranged, one camera is arranged on one side of the short edge where the start point line is located, the other camera is arranged on one side of the other short edge, and the image information of the whole test area is effectively obtained from different side faces;
calibrating a rectangle surrounded by four vertexes as a field range for the two cameras respectively, and calibrating the positions of the winding rods;
and connecting the camera with edge intelligent equipment in a communication manner.
Further, the step S3 specifically includes:
step S31, in the preparation stage, after the edge intelligent device receives the video image, processing the image to obtain a target person, obtain the position relation between a foot detection frame and a start line, and judge whether the illegal operation of stepping on the line, passing the line or racing exists or not by combining the start time;
step S32, after starting, the position of the winding rod is continuously monitored through a camera, and whether the winding rod is knocked down is judged through whether the width-height ratio of the winding rod exceeds a preset range;
s33, in the first stage after starting, a camera is used for acquiring human body joint points to detect and judge whether a corresponding winding rod is correctly wound or not, the position of a falling point is judged according to detected ball coordinates, further, whether a ball out-of-bounds phenomenon occurs in the first stage is judged, whether the human out-of-bounds phenomenon occurs or not is judged according to the position of the outermost ankle joint point of a target person, whether the ball holding running phenomenon occurs or not is judged according to the distance between the two ball falling points, and after the winding rod which is farthest is correctly passed, the first stage of test is completed;
step S34, in the second stage, a camera is used for obtaining human body joint point detection to judge whether a corresponding winding rod is correctly wound or not, the position of a falling point is judged according to detection ball coordinates, whether a ball out-of-bounds phenomenon occurs or not in the second stage is further judged, whether the human out-of-bounds phenomenon occurs or not is judged according to the position of the outermost ankle joint point of a target person or not, whether the ball-holding running phenomenon occurs or not is judged according to the distance between the two ball falling points, and after the winding rod which is closest to the target person is correctly passed, whether a final point line passes or not is judged according to a foot detection frame, and the test is finished;
and S35, outputting a test result of the whole test process, wherein the test result comprises whether the rod winding operation is finished, whether the illegal phenomenon exists and which illegal phenomenon exists.
Further, the specific manner of "judging whether to correctly bypass the corresponding winding rod" is as follows: and calculating a middle straight coordinate according to the coordinates of the left ankle joint point and the right ankle joint point of the target person, processing by a filtering algorithm to obtain the position coordinate of the target person, and judging whether the rod is wound correctly or not by combining the linear relation between the positions of the target person in the front frame image and the position of the target person in the rear frame image and the connecting line of the rod winding.
Further, the positions of the foot detection frame, the target person and the ball are calculated by adopting a YOLO target detection algorithm, and the ankle joint point coordinates are obtained by adopting an HRNET posture estimation algorithm.
In a second aspect, the present invention provides an edge intelligent device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the following steps:
step 1, in a preparation stage, after a video image is received, processing the image to obtain a target person, and obtaining the position relation between a foot detection frame and a start line, and judging whether the illegal operation of stepping on the line, passing the line or racing exists or not by combining the start time;
step 2, after starting, continuously monitoring the position of the winding rod, and judging whether the winding rod is knocked down or not according to whether the width-height ratio of the winding rod exceeds a preset range or not;
step 3, in a first stage after starting, judging whether a corresponding winding rod is correctly wound or not by acquiring human body joint point detection, judging a falling point position according to a detected ball coordinate, further judging whether a ball out-of-bounds phenomenon occurs in the first stage or not, judging whether a human out-of-bounds phenomenon occurs or not according to the outermost ankle joint point position of a target person, judging whether a ball holding running phenomenon occurs or not according to the distance between two ball falling points, and completing the first stage test after the winding rod which is the farthest row is correctly passed;
step 4, in the second stage, whether the corresponding winding rod is correctly wound is judged by obtaining human body joint point detection, the falling point position is judged according to the detection ball coordinate, whether a ball out-of-bounds phenomenon occurs in the second stage is further judged, whether a human out-of-bounds phenomenon occurs is judged according to the outermost ankle joint point position of the target person, whether a ball holding running phenomenon occurs is judged according to the distance between the ball falling points for two times, and after the winding rod which is closest to the winding rod passes correctly, whether the final point line passes is judged according to the foot detection frame, and the test is finished;
and 5, outputting a test result of the whole test process, including whether the rod winding operation is finished, whether the violation phenomenon exists and which violation phenomenon exists.
Furthermore, the method also comprises the steps of supporting playback of the test process video and outputting test process analysis.
Further, the specific manner of "judging whether to correctly bypass the corresponding winding rod" is as follows: and calculating a middle straight coordinate according to the coordinates of the left ankle joint point and the right ankle joint point of the target person, processing by a filtering algorithm to obtain the position coordinate of the target person, and judging whether the rod is wound correctly or not by combining the linear relation between the positions of the target person in the front frame image and the position of the target person in the rear frame image and the connecting line of the rod winding.
In a third aspect, the present invention provides a basketball dribbling test system based on vision technology, the system comprising: the intelligent edge equipment is adopted, and the shooting device is in communication connection with the intelligent edge equipment;
the shooting device is arranged in a pre-deployed test site, and is used for shooting the test site in a whole area to obtain a video picture and transmitting the video picture to the edge intelligent equipment;
the edge intelligent equipment is used for receiving the video pictures transmitted by the camera in real time, processing the images by using a target detection algorithm and a human body posture estimation algorithm, judging whether the detected personnel finish rod winding operation and whether illegal operation exists, and outputting a judgment result, wherein the illegal operation comprises rod hitting, line treading, line passing, running robbery, dribbling out of bounds and dribbling running.
One or more technical schemes provided by the invention at least have the following technical effects or advantages:
1. the timing and foul detection of basketball dribbling winding are realized through the computer vision technology, the operations of stepping on a line, passing a line, racing, holding a ball, running out of the world, hitting a pole and the like can be rapidly and accurately judged, and a more comprehensive and accurate test and analysis method is provided for testing the basketball dribbling winding;
2. the simple arrangement of the two cameras replaces the original equipment such as a sensor arranged on the rod, so that the investment of hardware equipment is reduced, the installation and arrangement work is simplified, and the problem that the subsequent test work cannot be carried out after the equipment on each rod is collided by mistake can be solved.
3. The invention also supports video storage and process analysis to realize test process playback and automatic action analysis.
Drawings
The invention will be further described with reference to the following examples with reference to the accompanying drawings.
FIG. 1 is a flowchart illustrating a method according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating the execution of the method of the present invention in stages;
FIG. 3 is a schematic view of a test site layout according to the present invention;
FIG. 4 is a schematic diagram of the distribution of cameras and test sites in the system;
fig. 5 is a schematic structural diagram of an edge intelligent device according to a second embodiment of the present invention.
Detailed Description
In the basketball pole winding test, the following rules are used: the examinee holds the ball and stands after the starting line, when hearing the starting password, the examinee hands the ball forward in the direction of the arrow in the figure to sequentially pass through the 5 rows of the mark rods, then sequentially pass through the 5 rows of the mark rods when returning, and finally, the examinee and the ball finish when both cross the finishing line. Each person takes two trials, and the best one of the trials was recorded. (1) During testing, if the basketball is still in the testing field after the hands of the examinee are taken off, the examinee can automatically pick up the basketball and continue dribbling the basketball at the hands of the examinee without stopping the table. (2) And in the testing process, if the following phenomena occur, the system is violated, and the current performance is cancelled: racing when dribbling, knocking down a marker post, people or balls out of a test area, holding the balls, walking, completing a whole course not according to the requirements of the figure, or separating people and balls when finally passing through a finishing line and the like. (3) The examinee has two testing opportunities, and if the examinee has no achievement after two times of infraction, the examinee can perform additional testing once again.
The embodiment of the application provides a basketball dribbling winding test method, equipment and system based on a vision technology, and the method, equipment and system are used for solving the problems that the illegal operation judgment in the existing winding test is not accurate and the like, and can realize more comprehensive, accurate and efficient test judgment and analysis.
The technical scheme in the embodiment of the application has the following general idea: based on a computer vision technology, the timing, foul detection, video storage and process analysis of basketball dribbling pole winding are realized by using two consumption-level 2D cameras and an edge intelligent device. The method is characterized in that specific operations such as line stepping, line passing, pole winding, ball embracing running, dribbling out of bound, pole falling and the like are carried out in real time by combining target detection (a YOLO algorithm and the like can be selected as required) and a joint point detection algorithm (an HRNET algorithm and the like can be selected as required) in an AI deep learning algorithm to obtain judgment, meanwhile, a whole-course video is stored, the time for using the basketball dribbling pole winding is calculated from the beginning of timing to the end of pole winding, and meanwhile, action analysis and suggestion are output. And a more comprehensive and accurate test process detection mechanism is realized by combining a computer vision technology.
For better understanding of the above technical solutions, the following detailed descriptions will be provided in conjunction with the drawings and the detailed description of the embodiments.
Example one
The embodiment provides a basketball dribbling test method based on a visual technology, as shown in fig. 1 to 4, the method comprises the following steps:
the method comprises the following steps that S1, a test field is defined, a winding rod is arranged in the test field, cameras used for shooting a test process in the test field are arranged, the cameras are in communication connection with edge intelligent equipment, each camera is ensured to obtain the whole area range of the test field, and the test field and the winding rod are calibrated;
s2, shooting a video image of the whole testing process through the camera, and transmitting the video image to edge intelligent equipment in real time;
and S3, after the edge intelligent equipment receives the video image, processing the image by using a target detection algorithm, judging whether the detected personnel finishes rod winding operation and whether illegal operation exists, and outputting a judgment result, wherein the illegal operation comprises rod hitting, line stepping, line passing, race snatching, dribbling out of bounds and ball embracing running.
Preferably, the method further comprises the steps of supporting playback of the test process video and outputting a test process analysis, wherein the test process analysis is key quantitative information of the examinee in the basketball pole-winding dribbling test process, and the key quantitative information comprises: the total times of the bat including the times of the bat in the left hand and the times of the bat in the right hand, the times of hand changing, the bat frequency, the foul place, the foul reason, the dribbling track and the like.
Preferably, the step S1 specifically includes:
a rectangular test field with a long side of 20 meters and a short side of 7 meters is defined, a starting line and a finishing line are arranged on the same short side, five rows of winding rods are arranged in the square test field at intervals along the long side direction, the distance between every two adjacent rows of winding rods is 3 meters, the distance between the winding rod closest to the starting line and the starting line is 5 meters, each row of winding rods is composed of two winding rods with the interval of 1 meter, and the distance between each row of winding rods and the long sides of the two sides of the rectangular test field is equal;
the two cameras are arranged, one camera is arranged on one side of the short edge where the starting point line is located and defined as a front field camera (as near a point D in the graph 4), the other camera is arranged on one side of the other short edge and defined as a back field camera (as near a point B in the graph 4), and the image information of the whole test area is effectively obtained from different side faces;
calibrating a rectangle surrounded by four vertexes (such as A, B, C, D in fig. 4) for the two cameras respectively to serve as a field range, and calibrating the positions of the surrounding rods;
and connecting the camera with the edge intelligent equipment in a communication manner.
Preferably, the step S3 specifically includes:
step S31, in the preparation stage, after the edge intelligent device receives the video image, processing the image to obtain a target character, and obtaining the position relation between a foot detection frame and a start line, and judging whether the illegal operation of line treading, line passing or false start exists or not by combining the start time;
step S32, after starting, the position of the winding rod is continuously monitored through a back field camera, and whether the winding rod is knocked down is judged through whether the width-height ratio of the winding rod exceeds a preset range;
step S33, in the first stage after starting, a back camera is used for obtaining a human body joint point to detect and judge whether a corresponding winding rod is correctly wound or not (for example, a [1,9,3,7,5] or a [10,2,8,4,6] rod needs to be wound in fig. 4), the position of a landing point is judged according to a detected ball coordinate, whether a ball out-of-bounds phenomenon occurs in the first stage is further judged, whether a human out-of-bounds phenomenon occurs or not is judged according to the position of the outermost ankle joint point of a target person, whether a ball embracing running phenomenon occurs or not is judged according to the distance between two ball landing points, and after the winding rod which is the farthest arranged (namely, a No. 5 rod or a No. 6 rod) is correctly passed, the first stage test is completed;
step S34, in the second stage, the front camera is used for obtaining a human body joint point to detect and judge whether a corresponding winding rod is correctly wound or not (for example, a [6,4,8,2,10] rod or a [5,7,3,9,1] rod needs to be wound in fig. 4), the position of a falling point is judged according to a detected ball coordinate, whether a ball out-of-bounds phenomenon occurs or not is further judged in the second stage, whether a human out-of-bounds phenomenon occurs or not is judged according to the position of the outermost ankle joint point of a target person, whether a ball holding running phenomenon occurs or not is judged according to the distance between two ball falling points, after the winding rod which is closest to the target person is correctly passed (namely, a No. 10 rod or a No. 1 rod) is judged according to a foot detection frame, whether an end point line is passed or not is judged, and the test is ended;
and S35, outputting a test result of the whole test process, wherein the test result comprises whether the rod winding operation is finished, whether the illegal phenomenon exists and which illegal phenomenon exists.
Preferably, the specific manner of "judging whether to correctly bypass the corresponding winding rod" is as follows: and calculating a middle straight coordinate according to the coordinates of the left ankle joint point and the right ankle joint point of the target person, processing by a filtering algorithm to obtain the position coordinate of the target person, and judging whether the rod is wound correctly or not by combining the linear relation between the positions of the target person in the front frame image and the position of the target person in the rear frame image and the connecting line of the rod winding.
Preferably, the positions of the foot detection frame, the target person and the ball are calculated by using a target detection algorithm such as YOLO, and the ankle joint point coordinates are obtained by using a posture estimation algorithm such as HRNET.
Based on the same inventive concept, the application provides an electronic device embodiment corresponding to the first embodiment, which is detailed in the second embodiment.
Example two
The embodiment provides an edge intelligent device, as shown in fig. 5, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor, when executing the computer program, may implement:
step 1, in a preparation stage, after a video image is received, processing the image to obtain a target person, and obtaining the position relation between a foot detection frame and a start line, and judging whether the illegal operation of stepping on the line, passing the line or racing exists or not by combining the start time;
step 2, after starting, continuously monitoring the position of the winding rod, and judging whether the winding rod is knocked down or not according to whether the width-height ratio of the winding rod exceeds a preset range or not;
step 3, in a first stage after starting, judging whether a corresponding winding rod is correctly wound or not by acquiring human body joint point detection, judging a falling point position according to a detected ball coordinate, further judging whether a ball out-of-bounds phenomenon occurs in the first stage or not, judging whether a human out-of-bounds phenomenon occurs or not according to the outermost ankle joint point position of a target person, judging whether a ball holding running phenomenon occurs or not according to the distance between two ball falling points, and completing the first stage test after the winding rod which is the farthest row is correctly passed;
step 4, in the second stage, whether the corresponding winding rod is correctly wound is judged by obtaining human body joint point detection, the position of a falling point is judged according to the detection ball coordinate, whether the ball out-of-bounds phenomenon occurs in the second stage is further judged, whether the human out-of-bounds phenomenon occurs is judged according to the outermost ankle joint point position of the target person, whether the ball holding running phenomenon occurs is judged according to the distance between the two ball falling points, after the winding rod which is closest to the winding rod is correctly passed, whether the finishing point line is passed is judged according to a foot detection frame, and the test is finished;
and 5, outputting a test result of the whole test process, including whether the rod winding operation is finished, whether the illegal phenomenon exists and which illegal phenomenon exists.
In the actual use process, a test field is pre-defined, a winding rod is arranged in the test field, cameras for shooting the test process in the test field are arranged, the cameras are in communication connection with the equipment, each camera is ensured to obtain the whole area range of the test field, and the test field and the winding rod are calibrated; the test site is set according to relevant regulations, such as: a rectangular test field with a long side of 20 meters and a short side of 7 meters is defined, a starting line and a finishing line are arranged on the same short side, five rows of winding rods are arranged in the square test field at intervals along the long side direction, the distance between every two adjacent rows of winding rods is 3 meters, the distance between the winding rod closest to the starting line and the starting line is 5 meters, each row of winding rods is composed of two winding rods with the interval of 1 meter, and the distance between each row of winding rods and the long sides of the two sides of the rectangular test field is equal;
the two cameras are arranged, one camera is arranged on one side of the short edge where the start line is located and is defined as a front-field camera, the other camera is arranged on one side of the other short edge and is defined as a back-field camera, and the image information of the whole test area is effectively obtained from different side faces; calibrating a rectangle surrounded by four vertexes as a field range for the two cameras respectively, and calibrating the positions of the winding rods; and connecting the camera with the equipment in a communication manner. Shooting a video image of the whole test process through the camera, and transmitting the video image to the equipment in real time; and then after the device receives the video image, processing the image by using a target detection algorithm, judging whether the detected personnel completes the rod winding operation and whether illegal operation exists, and outputting a judgment result, wherein the illegal operation comprises rod hitting, line stepping, line passing, running robbery, dribbling out of the boundary and dribbling running.
Preferably, the edge intelligent device further includes a function of playing back the test procedure video, and outputting a test procedure analysis, where the test procedure analysis is key quantitative information of the examinee in the basketball pole-winding dribbling test process, and the key quantitative information includes: the total times of the bat including the times of the bat of the left hand and the times of the bat of the right hand, the times of hand changing, the bat frequency, the foul place, the foul reason, the dribbling track and the like.
Preferably, the specific manner of "judging whether to bypass the corresponding winding rod correctly" is as follows: and calculating a middle straight coordinate according to the coordinates of the left ankle joint point and the right ankle joint point of the target person, processing by a filtering algorithm to obtain the position coordinate of the target person, and judging whether the rod is wound correctly or not by combining the linear relation between the positions of the target person in the front frame image and the position of the target person in the rear frame image and the connecting line of the rod winding.
Preferably, the positions of the foot detection frame, the target person and the ball are calculated by using a target detection algorithm such as YOLO, and the ankle joint point coordinates are obtained by using a posture estimation algorithm such as HRNET.
Since the electronic device described in this embodiment is a device used for implementing the method in the first embodiment of the present application, based on the method described in the first embodiment of the present application, a specific implementation of the electronic device in this embodiment and various variations thereof can be understood by those skilled in the art, and therefore, how to implement the method in the first embodiment of the present application by the electronic device is not described in detail herein. The equipment used by those skilled in the art to implement the methods in the embodiments of the present application is within the scope of the present application.
Based on the same inventive concept, the application also provides a device corresponding to the method in the first embodiment, which is detailed in the third embodiment.
EXAMPLE III
In this embodiment, there is provided a basketball dribbling test system based on visual technology, as shown in fig. 1 to 5, the system comprising: the intelligent edge device comprises a shooting device and edge intelligent equipment, wherein the edge intelligent equipment adopts the equipment, and the shooting device is in communication connection with the edge intelligent equipment;
the shooting device is arranged in a pre-deployed test site, and is used for shooting the test site in a whole area to obtain a video picture and transmitting the video picture to the edge intelligent equipment;
the edge intelligent equipment is used for receiving the video pictures transmitted by the camera in real time, processing the images by utilizing a target detection algorithm and a human body posture estimation algorithm, judging whether the detected personnel finish rod winding operation and whether illegal operation exists, and outputting a judgment result, wherein the illegal operation comprises rod collision, line treading, line passing, running, dribbling out of bounds and ball holding running.
Specifically, a test field is defined in advance, a winding rod is arranged in the test field, a camera for shooting a test process in the test field is arranged, the camera is in communication connection with the equipment, each camera is ensured to acquire the whole area range of the test field, and the test field and the winding rod are calibrated; the test site is set according to relevant regulations, such as: a rectangular test field with a long edge of 20 meters and a short edge of 7 meters is defined, a start line and an end line are arranged on the same short edge, five rows of winding rods are arranged in the square test field at intervals along the long edge direction, the distance between every two adjacent rows of winding rods is 3 meters, the distance between the winding rod closest to the start line and the start line is 5 meters, each row of winding rods is composed of two winding rods with the interval of 1 meter, and the distance between each row of winding rods and the long edges of the two sides of the rectangular test field is equal; the two cameras are arranged, one camera is arranged on one side of the short edge where the start line is located and is defined as a front-field camera, the other camera is arranged on one side of the other short edge and is defined as a back-field camera, and the image information of the whole test area is effectively obtained from different side faces; calibrating a rectangle surrounded by four vertexes as a field range for the two cameras respectively, and calibrating the positions of the winding rods; and after the camera is in communication connection with the equipment, shooting a video image of the whole testing process in real time, and transmitting the video image to the edge intelligent equipment for processing in real time.
Specifically, the edge intelligent device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the following steps may be implemented:
step 1, in a preparation stage, after a video image is received, processing the image to obtain a target person, and obtaining the position relation between a foot detection frame and a start line, and judging whether the illegal operation of stepping on the line, passing the line or racing exists or not by combining the start time;
step 2, after starting, continuously monitoring the position of the winding rod, and judging whether the winding rod is knocked down or not according to whether the width-height ratio of the winding rod exceeds a preset range or not;
step 3, in a first stage after starting, judging whether a corresponding winding rod is correctly wound or not by acquiring human body joint point detection, judging a falling point position according to a detected ball coordinate, further judging whether a ball out-of-bounds phenomenon occurs in the first stage or not, judging whether a human out-of-bounds phenomenon occurs or not according to the outermost ankle joint point position of a target person, judging whether a ball holding running phenomenon occurs or not according to the distance between two ball falling points, and completing the first stage test after the winding rod which is the farthest row is correctly passed;
step 4, in the second stage, whether the corresponding winding rod is correctly wound is judged by obtaining human body joint point detection, the position of a falling point is judged according to the detection ball coordinate, whether the ball out-of-bounds phenomenon occurs in the second stage is further judged, whether the human out-of-bounds phenomenon occurs is judged according to the outermost ankle joint point position of the target person, whether the ball holding running phenomenon occurs is judged according to the distance between the two ball falling points, after the winding rod which is closest to the winding rod is correctly passed, whether the finishing point line is passed is judged according to a foot detection frame, and the test is finished;
and 5, outputting a test result of the whole test process, including whether the rod winding operation is finished, whether the violation phenomenon exists and which violation phenomenon exists.
Preferably, the edge intelligent device further includes a function of supporting playback of the test procedure video, and outputting test procedure analysis, where the test procedure analysis is key quantitative information of an examinee in the basketball pole-winding dribbling test procedure, and the key quantitative information includes: the total times of the bat including the times of the bat of the left hand and the times of the bat of the right hand, the times of hand changing, the bat frequency, the foul place, the foul reason, the dribbling track and the like.
The specific way of judging whether to bypass the corresponding winding rod correctly is as follows: and calculating a middle straight coordinate according to the coordinates of the left ankle joint point and the right ankle joint point of the target person, processing by a filtering algorithm to obtain the position coordinate of the target person, and judging whether the rod is wound correctly or not by combining the linear relation between the positions of the target person in the front frame image and the position of the target person in the rear frame image and the connecting line of the rod winding.
The positions of the foot detection frame, the target person and the ball can be calculated by adopting target detection algorithms such as YOLO (YOLO), and the like, and the ankle joint point coordinates can be obtained by adopting posture estimation algorithms such as HRNET.
Since the system described in the third embodiment of the present invention is a system used for implementing the method in the first embodiment of the present invention, a person skilled in the art can understand the specific structure and the deformation of the system based on the method described in the first embodiment of the present invention, and thus the details are not described herein again. All systems adopted by the method of the first embodiment of the present invention are within the intended protection scope of the present invention.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The technical scheme provided in the embodiment of the application at least has the following technical effects or advantages: the method is based on a computer vision technology, adopts edge intelligent equipment with low cost, low power consumption and high calculation power and a consumer grade 2D camera, and combines a target detection algorithm and a human body joint point detection algorithm in AI deep learning to realize real-time accurate measurement of basketball dribbling rod-winding movement items. After the scheme of the invention is used, the basketball dribbling and pole-winding result of the tester can be reported in real time, the precision of the timing result is +/-0.1 s, and the requirement of the sports examination grade is met. The invention solves the problems that the installation and deployment are difficult and part of the foul cannot be judged in the prior art, and can also check the video in the test process and analyze the test process.
Although specific embodiments of the invention have been described above, it will be understood by those skilled in the art that the specific embodiments described are illustrative only and are not limiting upon the scope of the invention, and that equivalent modifications and variations can be made by those skilled in the art without departing from the spirit of the invention, which is to be limited only by the appended claims.

Claims (10)

1. A basketball dribbling pole-winding test method based on a visual technology is characterized in that: the method comprises the following steps:
the method comprises the following steps that S1, a test field is defined, a winding rod is arranged in the test field, cameras used for shooting a test process in the test field are arranged, the cameras are in communication connection with edge intelligent equipment, each camera is ensured to obtain the whole area range of the test field, and the test field and the winding rod are calibrated;
s2, shooting a video image of the whole testing process through the camera, and transmitting the video image to edge intelligent equipment in real time;
and S3, after the edge intelligent equipment receives the video image, processing the image by using a target detection algorithm, judging whether the detected personnel finishes rod winding operation and whether illegal operation exists, and outputting a judgment result, wherein the illegal operation comprises rod hitting, line stepping, line passing, race snatching, dribbling out of bounds and ball embracing running.
2. The method of claim 1, wherein: the method further comprises the steps of supporting playback of the test process video and outputting test process analysis.
3. The method of claim 1, wherein: the step S1 specifically includes:
a rectangular test field with a long side of 20 meters and a short side of 7 meters is defined, a starting line and a finishing line are arranged on the same short side, five rows of winding rods are arranged in the square test field at intervals along the long side direction, the distance between every two adjacent rows of winding rods is 3 meters, the distance between the winding rod closest to the starting line and the starting line is 5 meters, each row of winding rods is composed of two winding rods with the interval of 1 meter, and the distance between each row of winding rods and the long sides of the two sides of the rectangular test field is equal;
the two cameras are arranged, one camera is arranged on one side of the short edge where the start point line is located, the other camera is arranged on one side of the other short edge, and the image information of the whole test area is effectively obtained from different side faces;
calibrating a rectangle surrounded by four vertexes as a field range and calibrating the position of a winding rod for the two cameras respectively;
and connecting the camera with the edge intelligent equipment in a communication manner.
4. The method of claim 3, wherein: the step S3 specifically includes:
step S31, in the preparation stage, after the edge intelligent device receives the video image, processing the image to obtain a target person, obtain the position relation between a foot detection frame and a start line, and judge whether the illegal operation of stepping on the line, passing the line or racing exists or not by combining the start time;
step S32, after starting, the position of the winding rod is continuously monitored through a camera, and whether the winding rod is knocked down is judged through whether the width-height ratio of the winding rod exceeds a preset range;
s33, in the first stage after starting, a camera is used for acquiring human body joint points to detect and judge whether a corresponding winding rod is correctly wound or not, the position of a falling point is judged according to detected ball coordinates, further, whether a ball out-of-bounds phenomenon occurs in the first stage is judged, whether the human out-of-bounds phenomenon occurs or not is judged according to the position of the outermost ankle joint point of a target person, whether the ball holding running phenomenon occurs or not is judged according to the distance between the two ball falling points, and after the winding rod which is farthest is correctly passed, the first stage of test is completed;
step S34, in the second stage, acquiring human body joint points through a camera to detect and judge whether the corresponding winding rods are correctly wound or not, judging the position of a falling point according to the detected ball coordinates, further judging whether a ball out-of-bounds phenomenon occurs or not in the second stage, judging whether the human out-of-bounds phenomenon occurs or not according to the outermost ankle joint point position of a target person, judging whether a ball holding running phenomenon occurs or not according to the distance between the two ball falling points, judging whether a final point line passes or not according to a foot detection frame after the winding rods which are closest to the target person pass correctly, and ending the test;
and S35, outputting a test result of the whole test process, wherein the test result comprises whether the rod winding operation is finished, whether the illegal phenomenon exists and which illegal phenomenon exists.
5. The method of claim 4, wherein: the specific manner of judging whether the corresponding winding rod is correctly wound is as follows: and calculating a middle straight coordinate according to the coordinates of the left ankle joint point and the right ankle joint point of the target person, processing by a filtering algorithm to obtain the position coordinate of the target person, and judging whether the rod is wound correctly or not by combining the linear relation between the positions of the target person in the front frame image and the position of the target person in the rear frame image and the connecting line of the rod winding.
6. The method of claim 4, wherein: the positions of the foot detection frame, the target person and the ball are calculated by adopting a YOLO target detection algorithm, and the ankle joint point coordinates are obtained by adopting an HRNET posture estimation algorithm.
7. An edge intelligent device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to perform the steps of:
step 1, in a preparation stage, after receiving a video image, processing the image to obtain a target character, and obtaining the position relation between a foot detection frame and a start line, and judging whether the illegal operation of line treading, line passing or false start exists or not by combining with the start time;
step 2, after starting, continuously monitoring the position of the winding rod, and judging whether the winding rod is knocked down or not according to whether the width-height ratio of the winding rod exceeds a preset range or not;
step 3, in a first stage after starting, judging whether a corresponding winding rod is correctly wound or not by acquiring human body joint point detection, judging a falling point position according to a detected ball coordinate, further judging whether a ball out-of-bounds phenomenon occurs in the first stage or not, judging whether a human out-of-bounds phenomenon occurs or not according to the outermost ankle joint point position of a target person, judging whether a ball holding running phenomenon occurs or not according to the distance between two ball falling points, and completing the first stage test after the winding rod which is the farthest row is correctly passed;
step 4, in the second stage, whether the corresponding winding rod is correctly wound is judged by obtaining human body joint point detection, the position of a falling point is judged according to the detection ball coordinate, whether the ball out-of-bounds phenomenon occurs in the second stage is further judged, whether the human out-of-bounds phenomenon occurs is judged according to the outermost ankle joint point position of the target person, whether the ball holding running phenomenon occurs is judged according to the distance between the two ball falling points, after the winding rod which is closest to the winding rod is correctly passed, whether the finishing point line is passed is judged according to a foot detection frame, and the test is finished;
and 5, outputting a test result of the whole test process, including whether the rod winding operation is finished, whether the violation phenomenon exists and which violation phenomenon exists.
8. The apparatus of claim 7, wherein: and the method also comprises the steps of supporting playback of the test process video and outputting test process analysis.
9. The apparatus of claim 7, wherein: the specific manner of judging whether the corresponding winding rod is correctly wound is as follows: and calculating a middle straight coordinate according to the coordinates of the left ankle joint point and the right ankle joint point of the target person, processing the middle straight coordinate through a filtering algorithm to obtain the position coordinate of the target person, and judging whether the rod winding is correct or not by combining the linear relation between the positions of the target person and the connecting line of the rod winding in the front frame image and the rear frame image.
10. Basketball dribbling pole-winding test system based on vision technique, its characterized in that: the system comprises: a camera and an edge intelligent device, wherein the edge intelligent device adopts the device of any one of claims 7-9, and the camera and the edge intelligent device are in communication connection;
the shooting device is arranged in a pre-deployed test site, and is used for shooting the test site in a whole area to obtain a video picture and transmitting the video picture to the edge intelligent equipment;
the edge intelligent equipment is used for receiving the video pictures transmitted by the camera in real time, processing the images by utilizing a target detection algorithm and a human body posture estimation algorithm, judging whether the detected personnel finish rod winding operation and whether illegal operation exists, and outputting a judgment result, wherein the illegal operation comprises rod collision, line treading, line passing, running, dribbling out of bounds and ball holding running.
CN202210766861.5A 2022-07-01 2022-07-01 Basketball dribbling pole-winding test method, equipment and system based on visual technology Pending CN115359380A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210766861.5A CN115359380A (en) 2022-07-01 2022-07-01 Basketball dribbling pole-winding test method, equipment and system based on visual technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210766861.5A CN115359380A (en) 2022-07-01 2022-07-01 Basketball dribbling pole-winding test method, equipment and system based on visual technology

Publications (1)

Publication Number Publication Date
CN115359380A true CN115359380A (en) 2022-11-18

Family

ID=84030124

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210766861.5A Pending CN115359380A (en) 2022-07-01 2022-07-01 Basketball dribbling pole-winding test method, equipment and system based on visual technology

Country Status (1)

Country Link
CN (1) CN115359380A (en)

Similar Documents

Publication Publication Date Title
US9036864B2 (en) Ball trajectory and bounce position detection
US4163941A (en) Video speed analyzer of golf club swing or the like
CN110639197A (en) Sports test method, device and system
KR100620873B1 (en) System and method for analyzing golf swing motion
US20030054898A1 (en) Sport swing analysis system
EP3104290B1 (en) System and method for analysis and monitoring of group activities
US8935103B2 (en) Method and system for golf ball fitting analysis
CN107871120A (en) Competitive sports based on machine learning understand system and method
WO2013027064A2 (en) Sports training apparatus
CN104001330B (en) Based on the golf ball-batting simulation system of internet
CN115569344A (en) Standing long jump score evaluation method and device, electronic equipment and storage medium
CN115837155A (en) Standing long jump measuring method and device
CN110090427B (en) Football dribbling rod-winding intelligent testing system and method
CN110038289A (en) Standing long jump Range Measurement System and its measurement method
JP2804949B2 (en) Moving image processing method
CN115311681A (en) Football dribbling rod-winding test method, device and equipment based on vision technology
CN115359380A (en) Basketball dribbling pole-winding test method, equipment and system based on visual technology
CN115546886A (en) Method and device for testing wall paddling by volleyballs based on visual technology
Liu et al. Application of Hawk-Eye Technology to Sports Events
US20110124445A1 (en) Video-based system for tennis training
JP3025335B2 (en) Golf hitting training and simulation method
CN108143423B (en) Sensitive quality detection device and method
CN114067427A (en) Snake-shaped running assessment method and system, electronic equipment and storage medium
CN115970252A (en) Measuring method and measuring device for turn-back running
KR20230080954A (en) Foul judgment system in badminton matches and method of operation of system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20240102

Address after: 350000 3rd floor, building 16, G area, Fuzhou Software Park, 89 software Avenue, Gulou District, Fuzhou City, Fujian Province

Applicant after: Henghongda (Fujian) Sports Technology Co.,Ltd.

Address before: 350000 4th floor, building 16, G area, Fuzhou Software Park, 89 software Avenue, Gulou District, Fuzhou City, Fujian Province

Applicant before: HENGONDA TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right