CN115546291A - Rope skipping counting method and device, computer equipment and storage medium - Google Patents

Rope skipping counting method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN115546291A
CN115546291A CN202211496643.0A CN202211496643A CN115546291A CN 115546291 A CN115546291 A CN 115546291A CN 202211496643 A CN202211496643 A CN 202211496643A CN 115546291 A CN115546291 A CN 115546291A
Authority
CN
China
Prior art keywords
rope skipping
user
stage
rope
determining
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
CN202211496643.0A
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.)
Chengdu Eacom Technology Co ltd
Original Assignee
Chengdu Eacom 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 Chengdu Eacom Technology Co ltd filed Critical Chengdu Eacom Technology Co ltd
Priority to CN202211496643.0A priority Critical patent/CN115546291A/en
Publication of CN115546291A publication Critical patent/CN115546291A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • 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/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • 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/30Subject of image; Context of image processing
    • G06T2207/30196Human being; Person
    • G06T2207/30201Face
    • 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/30221Sports video; Sports image
    • 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/30242Counting objects in image

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Geometry (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Psychiatry (AREA)
  • Social Psychology (AREA)
  • Image Analysis (AREA)

Abstract

The invention relates to the technical field of image processing, in particular to a rope skipping counting method, a rope skipping counting device, computer equipment and a storage medium, wherein the method comprises the following steps: acquiring a picture of a rope skipping user; based on the picture, determining the face position of the rope skipping user, wherein the face position comprises: coordinates and motion height of the center point of the face; recording data of the change of the face position of the rope skipping user along with time; recording the rope skipping stage of the rope skipping user based on the data; determining the difference value between the adjacent highest point and the lowest point of the rope skipping user in the rope skipping process based on the data and the rope skipping stage of the rope skipping user; based on the difference, whether counting is carried out or not is judged, and the condition that other people except the rope skipping user participate can be avoided by processing the rope skipping picture of the rope skipping user, and the counting can be accurately carried out.

Description

Rope skipping counting method and device, computer equipment and storage medium
Technical Field
The invention relates to the technical field of image processing, in particular to a rope skipping counting method and device, computer equipment and a storage medium.
Background
The skipping rope is a simple and effective sport, and is popular in schools of middle and primary schools, and the conventional skipping rope statistics are manually recorded or are carried out through skipping rope instruments with an automatic counting function.
However, both of these approaches require manual intervention to achieve full automatic counting.
Disclosure of Invention
In view of the above, the present invention has been made to provide a jump rope counting method, apparatus, computer device and storage medium that overcome or at least partially solve the above problems.
In a first aspect, the present invention provides a jump rope counting method, comprising:
acquiring a picture of a rope skipping user;
based on the picture, determining the face position of the rope skipping user, wherein the face position comprises: coordinates and motion height of the center point of the face;
recording data of the face position of the rope skipping user along with time change;
recording a rope skipping stage of the rope skipping user based on the data;
determining the difference value between the adjacent highest point and the lowest point of the rope skipping user in the rope skipping process based on the data and the rope skipping stage of the rope skipping user;
and judging whether counting is performed or not based on the difference value and the rope skipping stage of the rope skipping user.
Preferably, before the obtaining the picture of the rope skipping user, the method further comprises:
acquiring an image through a camera, and identifying a rope skipping user by adopting a feature classifier on the image;
when rope skipping users are identified, judging whether the number of the rope skipping users is 1 or not;
and if so, executing the step of acquiring the picture of the rope skipping user.
Preferably, after determining whether the number of rope skipping users is 1, the method includes:
if not, the image is not processed, the step of collecting the image through the camera is returned to be executed, and the step of identifying the rope skipping user by adopting the feature classifier from the image is executed.
Preferably, the determining, based on the picture, a face position of the rope skipping user includes: the coordinate and the motion height of the center point of the face comprise:
performing frame selection on the face of the rope skipping user on the picture to obtain a rectangular frame;
acquiring coordinates of a preset corner of the rectangular frame and the length and the height of the rectangular frame;
determining the face position of the rope skipping user based on the coordinates of the preset corners of the rectangular frame and the length and the height of the rectangular frame, wherein the face position comprises: coordinates of the center point of the face and the motion height.
Preferably, the recording the rope skipping stage of the rope skipping user based on the data includes:
extracting three target data corresponding to three continuous time points from the data;
judging whether the change of the three target data along with the three time points is sequentially increased;
if so, setting the rope skipping stage of the rope skipping user as a take-off stage;
and when the three target data are sequentially decreased along with the change of the three time points, setting the rope skipping stage of the rope skipping user as a falling stage.
Preferably, the determining the difference value between the highest point and the lowest point adjacent to the rope skipping user in the rope skipping process based on the data and the rope skipping stage of the rope skipping user comprises:
when the three target data change from increasing to decreasing sequentially along with the three time points and the rope skipping user is in a take-off stage, determining the highest target data in the three target data as the highest point of the rope skipping user in the rope skipping process;
when the three target data change from descending to ascending sequentially along with the three time points and the rope skipping user is in a falling stage of rope skipping, determining the lowest target data in the three target data as the lowest point of the rope skipping user in the rope skipping process;
and determining the difference value between the adjacent highest point and lowest point of the rope skipping user in the rope skipping process based on the highest point and the lowest point.
Preferably, the determining whether to count based on the difference and the rope skipping stage of the rope skipping user includes:
when the rope skipping stage of the rope skipping user is changed from a take-off stage to a falling stage, judging whether the difference value is larger than a preset value, wherein the preset value is determined based on the height of the rectangular frame;
if yes, determining to count once;
if not, not counting.
In a second aspect, the present invention further provides a skipping rope counting device, including:
the obtaining module is used for obtaining pictures of the rope skipping users;
a first determining module, configured to determine, based on the picture, a face position of the rope skipping user, where the face position includes: coordinates and motion height of the center point of the face;
the first recording module is used for recording the data of the face position of the rope skipping user along with the time change;
the second recording module is used for recording the rope skipping stage of the rope skipping user based on the data;
the second determining module is used for determining the difference value between the adjacent highest point and the lowest point of the rope skipping user in the rope skipping process based on the data and the rope skipping stage of the rope skipping user;
and the judging module is used for judging whether counting is carried out or not based on the difference value and the rope skipping stage of the rope skipping user.
In a third aspect, the present invention also provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method steps described in the first aspect when executing the program.
In a fourth aspect, the invention also provides a computer-readable storage medium, on which a computer program is stored, characterized in that the program, when executed by a processor, performs the method steps as described in the first aspect.
One or more technical solutions in the embodiments of the present invention have at least the following technical effects or advantages:
the invention provides a rope skipping counting method, which comprises the following steps: acquiring a picture of a rope skipping user; based on the picture, determining the face position of the rope skipping user, wherein the face position comprises: coordinates and motion height of the center point of the face; recording data of the change of the face position of the rope skipping user along with time; recording the rope skipping stage of the rope skipping user based on the data; determining the difference value between the adjacent highest point and the lowest point of the rope skipping user in the rope skipping process based on the data and the rope skipping stage of the rope skipping user; based on the difference, whether counting is carried out or not is judged, and the condition that other people except the rope skipping user participate can be avoided by processing the rope skipping picture of the rope skipping user, and the counting can be accurately carried out.
Drawings
Various additional advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Moreover, in the drawings, like reference numerals are used to refer to like elements throughout. In the drawings:
FIG. 1 is a schematic flow chart illustrating the steps of a rope skipping counting method according to an embodiment of the invention;
FIG. 2 is a diagram illustrating the determination of a rectangular box in an embodiment of the present invention;
FIG. 3 shows a graph of face position over time for a rope skipping user in an embodiment of the invention;
FIG. 4 is a schematic diagram showing the variation of three target data with three time points in the embodiment of the present invention;
FIG. 5 shows a schematic structural diagram of a skipping rope counting device in an embodiment of the invention;
fig. 6 shows a schematic structural diagram of a computer device for implementing the rope skipping counting method in the embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example one
The embodiment of the invention provides a skipping rope counting method, as shown in fig. 1, comprising the following steps:
s101, obtaining a picture of a rope skipping user;
s102, determining the face position of the rope skipping user based on the picture, wherein the face position comprises: coordinates and motion height of the center point of the face;
s103, recording data of the change of the face position of the rope skipping user along with time;
s104, recording the rope skipping stage of the rope skipping user based on the data;
s105, determining the difference value between the adjacent highest point and the lowest point of the rope skipping user in the rope skipping process based on the data and the rope skipping stage of the rope skipping user;
and S106, judging whether counting is carried out or not based on the difference value and the rope skipping stage of the rope skipping user.
In a specific embodiment, before S101, the method further includes:
acquiring an image through a camera, and identifying a rope skipping user by adopting a feature classifier on the image;
when the rope skipping users are identified, judging whether the number of the rope skipping users is 1 or not;
if yes, go to S101.
Specifically, a rope skipping user is identified by adopting a Haar feature classifier of a machine vision open source library, specifically, a face picture and a non-face picture are collected, and a model is trained by adopting the pictures to obtain a feature classifier, wherein the feature classifier is used for identifying a face. In the present invention the feature classifier is used to identify a rope skipping user.
After identifying the rope skipping users, it is also necessary to determine whether the number of rope skipping users is 1, if so, S101 is executed, that is, when identifying a rope skipping user, the rope skipping process of the user can be recorded.
Of course, after the number of rope skipping users is judged to be not 1, the image is not processed, the step of collecting the image through the camera and identifying the rope skipping users by adopting the feature classifier from the image is returned to be executed. I.e. after two or more rope skipping users have been identified, a false identification situation is determined.
Next, S102 is executed, and based on the picture, a face position of the rope skipping user is determined, where the face position includes: coordinates and motion height of the center point of the face.
Specifically, the face of a user skipping rope on a picture is subjected to frame selection to obtain a rectangular frame;
acquiring coordinates of a preset corner of the rectangular frame and the length and the height of the rectangular frame;
determining the face position of the rope skipping user based on the coordinates of the preset corners of the rectangular frame and the length and the height of the rectangular frame, wherein the face position comprises: coordinates of the center point of the face and the motion height.
First, as shown in fig. 2, a human face is determined from the picture, and then the human face is framed to obtain a rectangular frame 201, from which coordinates P (x, y) of a preset corner of the rectangular frame 201, and a length L and a height h of the rectangular frame are obtained. The preset corner may be the upper left corner or the lower left corner of the rectangular frame 201, which is not limited herein.
Determining the coordinate of the center point O, namely the coordinate of the center point O of the face by taking the coordinate of a preset point P (x, y) of a rectangular frame and the length L of the rectangular frame 201 as references, thereby determining the motion height h of the center point O i
Because the rope skipping user 201 is in the process of continuously skipping the rope, the movement height h of the central point O of the face i Is constantly changing, therefore, S103 is executed to record data of the change of the face position of the rope skipping user with time.
Specifically, as shown in fig. 3, it is a graph of the change of the face position of the rope skipping user with time. The position of the center point of the face of the rope skipping user at each moment is recorded, so that a curve graph of the change of the face position of the rope skipping user along with time is obtained.
And S104, recording the rope skipping stage of the rope skipping user based on the data.
Specifically, three target data corresponding to three continuous time points are extracted from the data; judging whether the change of the three target data along with the three time points is sequentially increased; if so, setting the rope skipping stage of the rope skipping user as a take-off stage; and when the three target data are sequentially decreased along with the change of the three time points, setting the rope skipping stage of the rope skipping user as the falling stage.
As shown in fig. 3, as can be seen from the graph of the change of the face position of the rope skipping user with time, the rising curve part indicates that the rope skipping user is in the rope skipping stage and the falling curve part surface of the rope skipping user is in the rope skipping stage in the time period.
Next, S105 is executed, and based on the data and the rope skipping stage of the rope skipping user, the difference value between the adjacent highest point and lowest point of the rope skipping user in the rope skipping process is determined.
Firstly, the highest point and the lowest point of a rope skipping user in the rope skipping process need to be determined, so that the difference value between the adjacent highest point and the lowest point is determined.
Specifically, when the change of the three target data along with the three time points is sequentially changed from increasing to decreasing, and the rope skipping user is in a take-off stage, the highest target data in the three target data is determined as the highest point of the rope skipping user in the rope skipping process.
When the change of the three target data along with the three time points is converted from sequential increment to sequential increment and the rope skipping user is in the falling stage of rope skipping, the lowest target data in the three target data is determined as the lowest point of the rope skipping user in the rope skipping process.
And finally, determining the difference value between the adjacent highest point and the lowest point of the rope skipping user in the rope skipping process based on the highest point and the lowest point.
As shown in fig. 4, the heights of h1, h2, and h3 change with time, the change rule of the heights gradually increases, gradually decreases, and gradually increases, in order to find the highest point of the user during skipping, the change rule and the skipping stage are comprehensively considered to determine that three target data corresponding to three adjacent time points in the skipping stage are sequentially increased, when the skipping stage is not yet timely changed, the three target data corresponding to the three adjacent time points are changed to be sequentially decreased, and the highest target data of the three target data corresponding to the three adjacent time points at this time is the highest point. The lowest point can also be obtained by the same method.
For a rope skipping user whether rope skipping is successful once, the difference value between the adjacent highest point and the lowest point needs to be obtained, the adjacent highest point and the lowest point need to be the highest point in front, the lowest point in back, and the difference value can be obtained through subtraction.
Therefore, S106 is finally executed to determine whether to perform counting based on the difference and the skipping stage of the skipping rope user.
Specifically, when the rope skipping stage of the rope skipping user is changed from the take-off stage to the falling stage, whether the difference value is larger than a preset value is judged, and the preset value is determined based on the height of the rectangular frame; if yes, determining to count once; if not, not counting.
That is to say, the rope skipping stage must be a process from the start to the end of the fall, the preset value may be 4/h, or 3/h, and the like, and the difference is greater than the preset value, it is determined that the rope skipping user can successfully skip once, and therefore, the counting is performed once, and if the difference is less than or equal to the preset value, it is determined that the rope skipping user does not successfully skip, the counting is not performed.
One or more technical solutions in the embodiments of the present invention have at least the following technical effects or advantages:
the invention provides a rope skipping counting method, which comprises the following steps: acquiring a picture of a rope skipping user; based on the picture, determining the face position of the rope skipping user, wherein the face position comprises: coordinates and motion height of the center point of the face; recording data of the change of the face position of the rope skipping user along with time; recording the rope skipping stage of the rope skipping user based on the data; determining the difference value between the adjacent highest point and the lowest point of the rope skipping user in the rope skipping process based on the data and the rope skipping stage of the rope skipping user; based on the difference value, whether counting is carried out or not is judged, and the condition that other people except the rope skipping user participate in can be avoided by processing the rope skipping picture of the rope skipping user, and the counting can be accurately carried out.
Example two
Based on the same inventive concept, an embodiment of the present invention further provides a rope skipping counting apparatus, as shown in fig. 5, including:
an obtaining module 501, configured to obtain a picture of a user skipping rope;
a first determining module 502, configured to determine, based on the picture, a face position of the rope skipping user, where the face position includes: coordinates and motion height of the center point of the face;
the first recording module 503 is configured to record data of a change of a face position of the rope skipping user with time;
a second recording module 504, configured to record, based on the data, a rope skipping stage of the rope skipping user;
a second determining module 505, configured to determine, based on the data and a rope skipping stage of the rope skipping user, a difference value between a highest point and a lowest point that are adjacent to the rope skipping user in a rope skipping process;
a judging module 506, configured to judge whether to count based on the difference and the rope skipping stage of the rope skipping user.
In an optional embodiment, the method further comprises: an identification module to: acquiring an image through a camera, and identifying a rope skipping user by adopting a feature classifier on the image; when rope skipping users are identified, judging whether the number of the rope skipping users is 1 or not; and if so, executing the step of acquiring the picture of the rope skipping user.
In an optional embodiment, the identification module is further configured to: and after judging whether the number of the rope skipping users is 1, if not, not processing the image, returning to the step of acquiring the image through a camera, and identifying the rope skipping users by adopting a feature classifier from the image.
In an optional implementation manner, the first determining module 502 is configured to select a face of the rope skipping user on the picture to obtain a rectangular frame; acquiring coordinates of a preset corner of the rectangular frame and the length and the height of the rectangular frame; determining the face position of the rope skipping user based on the coordinates of the preset corners of the rectangular frame and the length and height of the rectangular frame, wherein the face position comprises: coordinates of the center point of the face and the motion height.
In an optional implementation manner, the second recording module 504 is configured to extract three target data corresponding to three consecutive time points from the data; judging whether the change of the three target data along with the three time points is sequentially increased; if so, setting the rope skipping stage of the rope skipping user as a take-off stage; and when the three target data are sequentially decreased along with the change of the three time points, setting the rope skipping stage of the rope skipping user as a falling stage.
In an optional embodiment, the second determining module 505 is configured to determine, when the three target data change from increasing sequentially to decreasing sequentially along with the three time points and the rope skipping user is in a take-off stage, the highest target data in the three target data is the highest point of the rope skipping user in the rope skipping process; when the three target data change from descending to ascending sequentially along with the three time points and the rope skipping user is in a falling stage of rope skipping, determining the lowest target data in the three target data as the lowest point of the rope skipping user in the rope skipping process; and determining the difference value between the adjacent highest point and lowest point of the rope skipping user in the rope skipping process based on the highest point and the lowest point.
In an alternative embodiment, the determining module 506 is configured to: when the rope skipping stage of the rope skipping user is changed from a take-off stage to a falling stage, judging whether the difference value is larger than a preset value, wherein the preset value is determined based on the height of the rectangular frame; if yes, determining to count once; if not, not counting.
EXAMPLE III
Based on the same inventive concept, the embodiment of the present invention provides a computer device, as shown in fig. 6, including a memory 604, a processor 602, and a computer program stored on the memory 604 and executable on the processor 602, where the processor 602 executes the computer program to implement the steps of the rope skipping counting method.
Where in fig. 6 a bus architecture (represented by bus 600) is shown, bus 600 may include any number of interconnected buses and bridges, and bus 600 links together various circuits including one or more processors, represented by processor 602, and memory, represented by memory 604. The bus 600 may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface 606 provides an interface between the bus 600 and the receiver 601 and transmitter 603. The receiver 601 and the transmitter 603 may be the same element, i.e., a transceiver, providing a means for communicating with various other apparatus over a transmission medium. The processor 602 is responsible for managing the bus 600 and general processing, and the memory 604 may be used for storing data used by the processor 602 in performing operations.
Example four
Based on the same inventive concept, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the rope skipping counting method described above.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It will be appreciated by those skilled in the art that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of the rope skipping counting apparatus, computer device according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (10)

1. A rope skipping counting method is characterized by comprising the following steps:
acquiring a picture of a rope skipping user;
based on the picture, determining the face position of the rope skipping user, wherein the face position comprises: coordinates and motion height of the center point of the face;
recording the data of the change of the face position of the rope skipping user along with the time;
recording the rope skipping stage of the rope skipping user based on the data;
determining the difference value between the adjacent highest point and the lowest point of the rope skipping user in the rope skipping process based on the data and the rope skipping stage of the rope skipping user;
and judging whether counting is carried out or not based on the difference value and the rope skipping stage of the rope skipping user.
2. The method of claim 1, wherein prior to said obtaining a picture of a user skipping rope, further comprising:
acquiring an image through a camera, and identifying a rope skipping user by adopting a feature classifier on the image;
when rope skipping users are identified, judging whether the number of the rope skipping users is 1 or not;
and if so, executing the step of acquiring the picture of the rope skipping user.
3. The method of claim 2, after determining whether the number of rope skipping users is 1, comprising:
if not, the image is not processed, the step of collecting the image through the camera is returned to be executed, and the step of identifying the rope skipping user by adopting the feature classifier from the image is executed.
4. The method of claim 1, wherein the determining, based on the picture, a face location of the rope skipping user comprises: the coordinate and the motion height of the center point of the face comprise:
performing frame selection on the face of the rope skipping user on the picture to obtain a rectangular frame;
acquiring coordinates of a preset angle of the rectangular frame and the length and height of the rectangular frame;
determining the face position of the rope skipping user based on the coordinates of the preset corners of the rectangular frame and the length and the height of the rectangular frame, wherein the face position comprises: coordinates of the center point of the face and the motion height.
5. The method of claim 1, wherein said recording the rope skipping phase of the rope skipping user based on said data comprises:
extracting three target data corresponding to three continuous time points from the data;
judging whether the change of the three target data along with the three time points is sequentially increased;
if so, setting the rope skipping stage of the rope skipping user as a take-off stage;
and when the three target data are sequentially decreased along with the change of the three time points, setting the rope skipping stage of the rope skipping user as a falling stage.
6. The method of claim 5, wherein said determining a difference between adjacent highest and lowest points of the rope skipping user during rope skipping based on the data and a rope skipping stage of the rope skipping user comprises:
when the three target data change from increasing to decreasing sequentially along with the three time points and the rope skipping user is in a take-off stage, determining the highest target data in the three target data as the highest point of the rope skipping user in the rope skipping process;
when the three target data change from descending to ascending sequentially along with the three time points and the rope skipping user is in a falling stage of rope skipping, determining the lowest target data in the three target data as the lowest point of the rope skipping user in the rope skipping process;
and determining the difference value between the adjacent highest point and lowest point of the rope skipping user in the rope skipping process based on the highest point and the lowest point.
7. The method of claim 4, wherein the determining whether to count based on the difference value and a rope skipping stage of the rope skipping user comprises:
when the rope skipping stage of the rope skipping user is changed from a take-off stage to a falling stage, judging whether the difference value is larger than a preset value, wherein the preset value is determined based on the height of the rectangular frame;
if yes, determining to count once;
if not, not counting.
8. A rope skipping counting device, comprising:
the obtaining module is used for obtaining pictures of a rope skipping user;
a first determining module, configured to determine, based on the picture, a face position of the rope skipping user, where the face position includes: coordinates and motion height of the center point of the face;
the first recording module is used for recording the data of the face position of the rope skipping user along with the time change;
the second recording module is used for recording the rope skipping stage of the rope skipping user based on the data;
the second determining module is used for determining the difference value between the adjacent highest point and the lowest point of the rope skipping user in the rope skipping process based on the data and the rope skipping stage of the rope skipping user;
and the judging module is used for judging whether counting is carried out or not based on the difference value and the rope skipping stage of the rope skipping user.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the method steps of any of claims 1~7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method steps of any of claims 1~7.
CN202211496643.0A 2022-11-28 2022-11-28 Rope skipping counting method and device, computer equipment and storage medium Pending CN115546291A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211496643.0A CN115546291A (en) 2022-11-28 2022-11-28 Rope skipping counting method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211496643.0A CN115546291A (en) 2022-11-28 2022-11-28 Rope skipping counting method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115546291A true CN115546291A (en) 2022-12-30

Family

ID=84722763

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211496643.0A Pending CN115546291A (en) 2022-11-28 2022-11-28 Rope skipping counting method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115546291A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109737952A (en) * 2018-12-12 2019-05-10 安徽华米信息科技有限公司 Rope skipping data processing method, device and wearable device
CN110210360A (en) * 2019-05-24 2019-09-06 浙江大学 A kind of rope skipping method of counting based on video image target identification
CN110772749A (en) * 2019-11-28 2020-02-11 杨雯悦 Rope skipping counting method and system
CN113902084A (en) * 2020-07-06 2022-01-07 阿里体育有限公司 Motion counting method and device, electronic equipment and computer storage medium
CN115346149A (en) * 2022-06-21 2022-11-15 浙江大沩人工智能科技有限公司 Rope skipping counting method and system based on space-time diagram convolution network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109737952A (en) * 2018-12-12 2019-05-10 安徽华米信息科技有限公司 Rope skipping data processing method, device and wearable device
CN110210360A (en) * 2019-05-24 2019-09-06 浙江大学 A kind of rope skipping method of counting based on video image target identification
CN110772749A (en) * 2019-11-28 2020-02-11 杨雯悦 Rope skipping counting method and system
CN113902084A (en) * 2020-07-06 2022-01-07 阿里体育有限公司 Motion counting method and device, electronic equipment and computer storage medium
CN115346149A (en) * 2022-06-21 2022-11-15 浙江大沩人工智能科技有限公司 Rope skipping counting method and system based on space-time diagram convolution network

Similar Documents

Publication Publication Date Title
CN101685542B (en) Electronic device, fuzzy image sorting method
US8897603B2 (en) Image processing apparatus that selects a plurality of video frames and creates an image based on a plurality of images extracted and selected from the frames
JP6722351B2 (en) Learning device, image recognition device, learning method and program
CN106165386A (en) For photo upload and the automatic technology of selection
KR101718837B1 (en) A method, a device, and an electronic equipment for controlling an Application Program
CN110807545A (en) Task duration estimation method and device, electronic equipment and storage medium
AU2009243442A1 (en) Detection of abnormal behaviour in video objects
CN107515825A (en) Fluency method of testing and device, storage medium, terminal
CN105095853A (en) Image processing apparatus and image processing method
EP2966591A1 (en) Method and apparatus for identifying salient events by analyzing salient video segments identified by sensor information
CN109086734A (en) The method and device that pupil image is positioned in a kind of pair of eye image
CN107133629B (en) Picture classification method and device and mobile terminal
JP5960691B2 (en) Interest section identification device, interest section identification method, interest section identification program
EP2639746B1 (en) Image processor, image processing method, control program, and recording medium
CN108833974B (en) Method and device for removing semitransparent watermark in video and electronic equipment
CN113569693A (en) Motion state identification method, device and equipment
CN115546291A (en) Rope skipping counting method and device, computer equipment and storage medium
CN110971895B (en) Video jitter detection method and device
CN110019951B (en) Method and equipment for generating video thumbnail
CN116233556A (en) Video pushing method and device, storage medium and electronic equipment
CN116052251A (en) Face image optimization method, device, equipment and storage medium
CN112611780B (en) Method and device for capturing picture of sintering machine tail section
CN108810618B (en) Method and device for identifying watermark in video and electronic equipment
CN108121963B (en) Video data processing method and device and computing equipment
CN114764833A (en) Plant growth curve determination method and device, electronic equipment and medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20221230