Method and device for music teaching, and computer-readable storage medium
By acquiring and analyzing practice image data, and combining musical instrument and human body data information to determine practice postures in music teaching, it solves the problem that existing technology cannot intuitively judge human body postures, achieves intelligent correction, and improves performance skills and safety.
Patent Information
- Application Number
- PCT/CN2024/086725
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-12
- Filing Date
- 2024-04-09
- Publication Date
- 2024-10-17
AI Technical Summary
Existing music teaching equipment cannot intuitively judge whether the practitioner's human body posture is correct, resulting in the inability to discover and correct the root cause of performance errors, which may lead to physical injury.
By obtaining the practitioner's practice image data, extract the instrument data information and human body data information, combine the two to determine the type of practice, and mark the human body data information to obtain the practice posture, then compare whether it is correct, and output correction instructions.
It realizes intelligent and intuitive judgment and correction of the practitioner's posture, helping to improve playing skills and avoid physical injuries.
Smart Images

Figure CN2024086725_17102024_PF_FP_ABST
Abstract
Description
A method, device and computer-readable storage medium for music teaching
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to the Chinese patent application filed on April 12, 2023, with application number 202310395275.9 and titled “A method, device and computer-readable storage medium for music teaching”; this application also claims priority to the Chinese utility model patent application filed on April 12, 2023, with application number 202320815179.0 and titled “A system for music teaching”. Technical Field
[0003] The present invention relates to a method, system, device and computer-readable storage medium for music teaching. Background Art
[0004] Current music teaching equipment, such as keyboard instruments, orchestral instruments, percussion instruments, and plucked string instruments, uses sensors to measure the position of the strings and keys plucked, the pressure or strike on the drumhead, and other factors, and compares the student's performance with the score to determine whether the student's playing is good or bad. This method actually compares the timbre and scale with the notes on the score based on the student's use of the body (such as fingers) or other instruments to contact the instrument and apply force to the instrument, causing the instrument to make a sound. This comparison method cannot fully reflect whether the position of the student's body relative to the instrument is correct during practice, and therefore cannot find the fundamental reasons why the student makes playing errors or inadequate movements. The student's playing posture is often ignored during playing, and incorrect playing posture can cause great damage to the student's body. For problems encountered during the student's playing, the teacher or equipment needs to provide effective correction instructions to improve the performance.
[0005] In order to solve the above problems, in view of this, it is urgent to provide a method and system for music teaching, so as to realize the presentation of the practitioner's body posture corresponding to the instrument type in combination with the instrument type during the practice process.
[0006] Summary of the Invention
[0007] To at least address the aforementioned issues, this application proposes a music teaching method that obtains video data of a music performer practicing; extracts instrument data and the performer's body data from the video data; combines the body data and instrument data to determine the performer's practice type, and labels the body data according to the practice type to obtain the performer's practice posture. This method addresses the problem that existing instrument-based sensors, which reflect the performer's performance, cannot intuitively determine whether the performer's body posture is correct.
[0008] In a first aspect, the present application provides a method for music teaching, comprising obtaining practice image data of a practitioner; obtaining musical instrument data information and human body data information related to the practitioner from the practice image data; determining the practice type of the practitioner based on the human body data information and the musical instrument data information; and marking the human body data information according to the practice type to obtain the practice posture of the practitioner.
[0009] Optionally, the exercise posture of the practitioner is compared with image reference data or exercise template image data to determine whether the exercise posture of the practitioner is correct; and in response to determining that the exercise posture of the practitioner is incorrect, a correction instruction for correcting the exercise posture of the practitioner is output.
[0010] Optionally, the training image data includes at least one or more of visible light image data, invisible light image data or sonar image data.
[0011] Optionally, the instrument types are classified according to the instrument data information to form an instrument classification library; and the instrument data information is stored in a corresponding instrument classification library according to the instrument classification information.
[0012] Optionally, determining the exercise type of the practitioner based on the human body data information and the musical instrument data information further includes: determining based on the musical instrument data information and the human body data information, locating the joint positions of the practitioner related to the exercise posture; and determining the type of the practitioner based on the joint positions.
[0013] Optionally, the exercise image data further includes staged exercise template image data, wherein the stage is related to time and / or exercise difficulty.
[0014] Optionally, a comparison result between the practice image data and the image reference data is obtained by performing artificial intelligence continuous image comparison; the quality of the practitioner's practice is determined based on the comparison result; and posture correction suggestions for the practitioner are output based on the quality of the practice.
[0015] Optionally, the method further includes outputting the correction indication in a visual and / or auditory manner.
[0016] In a second aspect, the present application provides an electronic device for music teaching, comprising: an image acquisition module for acquiring a practitioner's practice image data; a processor; and a memory for storing program instructions for music teaching, wherein when the processor runs the program instructions, the electronic device executes the method according to any one of the first aspects.
[0017] In a third aspect, the present application provides a computer-readable storage medium storing program instructions for music teaching. When the program instructions are loaded and executed by a processor, the processor executes the method according to any one of the first aspects.
[0018] In a fourth aspect, the present application provides a music teaching system, comprising an imaging module, an instrument recognition module, and a human posture estimation module; the imaging module is used to obtain the practice image data of a practitioner; the instrument recognition module is used to obtain one or more instrument data information in the practice image data; the human posture estimation module is used to obtain human body data information related to the practitioner from the practice image data; based on the human body data information and the instrument data information, the practice type of the practitioner is judged; and the human body data information is marked according to the practice type to obtain the practice posture of the practitioner.
[0019] Compared with the prior art, this application has the following advantages:
[0020] The present application provides a method / system for music teaching. The present application obtains practice image data during the practice of the practitioner, extracts instrument data information and the practitioner's body data information from the practice image data; judges the practitioner's practice type by combining the body data information and the instrument data information; marks the body data information according to the practice type to obtain the practitioner's practice posture corresponding to the instrument the practitioner is currently practicing, thereby facilitating the storage, comparison, or presentation of the image of the practice posture to a remote teacher via data transmission. Furthermore, the practice posture of the practitioner is compared with the image reference data or the practice template image data to determine whether the practice posture of the practitioner is correct; and in response to determining that the practice posture of the practitioner is incorrect, outputs a correction instruction for correcting the practice posture of the practitioner, thereby achieving the intelligent and intuitive provision of judgments and correction suggestions for the practice posture corresponding to the instrument used by the practitioner. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The above and other objects, features and advantages of the exemplary embodiments of the present application will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present application are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:
[0022] FIG1 shows an exemplary flow chart of a method for music teaching according to a first embodiment of the present application;
[0023] FIG2 shows an exemplary flow chart of a method for music teaching according to a second embodiment of the present application;
[0024] FIG3 shows an exemplary flow chart of a system for music teaching according to a third embodiment of the present application;
[0025] FIG4 shows an example of image features for recognizing joint points of a music practitioner's body posture according to an embodiment of the present application;
[0026] FIG4 a shows an exemplary example of a key joint point bitmap extracted according to FIG4 according to an embodiment of the present application;
[0027] FIG5 shows an exemplary structural block diagram of an electronic device for music teaching according to an embodiment of the present application;
[0028] FIG6 a shows an exemplary example of the device composition of an imaging module according to an embodiment of the present application;
[0029] FIG6 b shows an exemplary example of the device composition of an imaging module according to another embodiment of the present application;
[0030] FIG6 c shows an exemplary example of the device composition of an imaging module according to yet another embodiment of the present application. DETAILED DESCRIPTION
[0031] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts are within the scope of protection of this application.
[0032] It should be understood that the terms "include" and "comprising" used in the description and claims of this application indicate the presence of described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or collections thereof.
[0033] It should also be understood that the terms used in this specification are for the purpose of describing specific embodiments only and are not intended to limit this application. As used in this specification and claims, the singular forms "a," "an," and "the" are intended to include the plural forms unless the context clearly indicates otherwise. It should also be further understood that the term "and / or" as used in this specification and claims refers to any and all possible combinations of one or more of the associated listed items, including and including these combinations.
[0034] As used in this specification and claims, the term "if" can be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.
[0035] The preferred embodiments of the present application are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present disclosure, and are not used to limit the present disclosure.
[0036] In order to solve the problem that the existing technology cannot intuitively present the practitioner's body posture, the first embodiment of the present application provides a method 100 for music teaching, which is described in detail below with reference to Figure 1.
[0037] As shown in FIG1 , a method 100 for teaching music includes:
[0038] In step S101 : obtaining the exercise video data of the exerciser.
[0039] Preferably, the training image data includes at least one or more of visible light image data, invisible light image data, or sonar image data. Visible light images may be images captured by a conventional camera or video camera, and invisible light image data may be images captured by an infrared camera or infrared video camera.
[0040] In step S102: musical instrument data information and human body data information related to the practitioner are acquired from the practice video data.
[0041] Preferably, the instrument types are classified according to the instrument data information to form an instrument classification library; and the instrument data information is stored in the corresponding instrument classification library according to the instrument classification information.
[0042] The acquired instrument data information may include one or more instruments. The instruments in the practice image data are classified according to the appearance or timbre information of the instruments to form an instrument classification library. For example, the instrument classification library can be defined as orchestral instruments, keyboard instruments, percussion instruments, etc.
[0043] Furthermore, it also includes adding a custom instrument classification library based on the needs of the practitioner. For example, the practitioner can improve the instrument according to their needs to form a new instrument type, and then form a new instrument classification library. The practitioner can also reclassify and reorganize the existing instrument classification library according to their needs.
[0044] In step S103: the exercise type of the exerciser is determined according to the human body data information and the instrument data information.
[0045] Preferably, the position of the joints of the practitioner related to the practice posture is located according to the instrument data information and the human body data information; and the type of the practitioner is determined based on the position of the joints.
[0046] After locating the joints, an identification image of the joints is generated. See Figure 4 for an example of the features of the identification image of the joints. The identification image of the joints is derived based on human pose estimation, which involves locating key points of the human body (such as shoulders, elbows, wrists, hips, knees, ankles, and fingers) in images or videos using computer algorithms.
[0047] In step S104: marking the human body data information according to the exercise type to obtain the exercise posture of the exerciser;
[0048] The specific implementation process of the above method 100 is described below with reference to the image of the little girl practicing ukulele in FIG4 and the joint point identification marks of the little girl shown in FIG4a :
[0049] According to step S101, an image or video of a ukulele player or a training process is acquired through an imaging device. The image acquisition can be performed by shooting with a camera or a mobile phone connected to the Internet. The captured image is uploaded to a cloud server via the Internet for subsequent data analysis, or the subsequent data analysis is performed on a local device, such as through an app on a mobile phone.
[0050] Acquire the instrument data information and the human body data information related to the practitioner from the practice image data as described in step S102. Specifically, in an actual scenario such as FIG4 , it is first necessary to locate the human body in the image information (image or video frame) of the little girl practicing the ukulele. For example, during the little girl playing the ukulele, the positions of the key joints of the little girl's body parts are located, that is, within the human body area, the positions of the key joints are first identified, such as the major joints of the body trunk, such as the head, neck, shoulders, elbows, wrists, hands, hips, knees, and ankles, and the positions of the key joints of the body trunk that can clearly reflect the posture of the ukulele playing process are marked, such as the hand joints are marked in detail. Then, the image of the instrument part is extracted from the image information of the practitioner's practice process, and the extracted image of the instrument part is compared with the existing instrument database to directly identify the equipment used by the practitioner, or the equipment used by the practitioner is identified based on the information of the aforementioned key joints of the body, thereby obtaining relevant instrument data information. For example, the hand posture can be roughly distinguished as a keyboard instrument or a string instrument. For example, there is a relatively obvious difference in the hand posture when playing the piano and the ukulele. Furthermore, the practitioner's performance scene can also be identified based on the instrument data information and the practitioner's aforementioned body posture. The performance scene includes the data information of the instrument (specifically, whether it is a ukulele or guitar, or a piano or electronic keyboard or a similar type of instrument), multiple shooting angles and other information, and the instrument data information can also be identified by sound recognition.
[0051] According to step S103, the practice type of the practitioner is determined based on the human body data information and the musical instrument data information; based on the identification information of the body trunk posture and hand joints and the image of the musical instrument in Figure 4a, it can be determined that the musical instrument played by the little girl is ukulele. Further, based on the hand posture, the practice type of the little girl can be obtained, that is, the little girl is a beginner or a professional performer, etc., in different stages of performance practice. Among them, the position of each key joint point of the hand has the greatest impact on the quality of the action during the performance. Therefore, the identification and presentation of the key joint points of the hand can clearly present the problems existing in the performance action. Similarly, in combination with actual conditions, for practitioners performing other types of musical instruments, the practice type or practice stage of the practitioner can be obtained using the above method. Among them, the specific recognition technology of the human body area joint points can adopt computer vision and deep learning technology, such as convolutional neural network.
[0052] The positions of key joints can be identified by using a key point automatic detection algorithm, which usually requires the use of computer vision and deep learning technology to automatically identify the positions of key joints in images or video frames. The automatic detection algorithm requires a large amount of labeled data for training in order to achieve accurate key point recognition on new images. A large amount of labeled data is input into an existing pre-trained posture recognition model (such as basic models such as OpenPose, PoseNet or AlphaPose) for training, and features are extracted using the pre-trained model to obtain the identification of key joint positions and mark them. These pre-trained posture recognition models perform well in general human posture recognition and can handle a variety of scenarios and postures. It will be understood that the above description is merely exemplary and not restrictive, and those skilled in the art can make changes to the above method based on the guidance of the present invention without departing from the spirit and essence of the present invention.
[0053] In step S104, when an image or video of a music performer is captured, the image or video data captured by the camera or photographic device is analyzed. Key coordinates of the current performer are extracted based on the aforementioned practice type, and the coordinate positions of key joints are marked. The coordinate positions can be relative values. The marked human body data information is then combined to determine the performer's practice posture. Furthermore, the results of this practice posture analysis are used to analyze the performer's technique and assess movement quality.
[0054] According to a preferred embodiment of the present application, the practice video data in step S101 also includes staged practice template video data, where the stage is related to time and / or practice difficulty. The practice video data can be used to store practice data of each stage during the practitioner's past practice process, allowing the practitioner or the teacher to compare the practice data of each stage during the practice process to determine whether the practitioner's performance level has improved or has any deficiencies.
[0055] In order to solve the problem that the existing technology cannot analyze the practitioner's body posture in the form of images or audio and provide correction suggestions, the second embodiment of the present application provides a method for music teaching.
[0056] As shown in FIG2 , a method 200 for music teaching includes:
[0057] In step S201 : obtaining the exercise video data of the exerciser.
[0058] In step S202: musical instrument data information and human body data information related to the practitioner are acquired from the practice video data.
[0059] In step S203: the exercise type of the practitioner is determined according to the human body data information and the instrument data information.
[0060] In step S204: the human body data information is marked according to the exercise type to obtain the exercise posture of the exerciser.
[0061] In step S205: the exercise posture of the practitioner is compared with the image reference data or the exercise template image data to determine whether the exercise posture of the practitioner is correct; and in response to determining that the exercise posture of the practitioner is incorrect, a correction instruction for correcting the exercise posture of the practitioner is output.
[0062] Among them, the image reference data is image reference data generated from images of famous musicians or outstanding musicians of a certain age group playing, or is practice template image data for a practice stage of a practitioner produced by a teacher based on the progress of the practitioner. The practice template image data can be standard movements demonstrated by the teacher or performed by the practitioner under the guidance of the teacher.
[0063] Furthermore, a comparison result between the practice image data and the image reference data is obtained by performing artificial intelligence continuous image comparison; the quality of the practitioner's practice is determined based on the comparison result; and posture correction suggestions for the practitioner are output based on the quality of the practice.
[0064] In actual applications, practitioners can use the AI-powered continuous image comparison function to evaluate their practice progress over a period of time. Using computer vision and deep learning technologies, the system automatically identifies and labels key joints in continuous images or video frames over a period of time. This allows for annotation and comparison of images from multiple practice periods. This comparison allows for an evaluation of the practice process, such as whether there has been improvement or regression, as well as persistent serious issues.
[0065] As shown in Figure 3, the third embodiment of the present application also provides a system 300 for music teaching, including: an image module 301, a musical instrument recognition module 302, a human posture estimation module 303, an image reference module 304 and a judgment module 305.
[0066] The image module 301 is used to obtain and store the exercise image data of the exerciser;
[0067] The instrument identification module 302 is used to obtain one or more instrument data information in the practice image data;
[0068] The human body posture estimation module 303 obtains human body data information related to the practitioner from the practice image data; determines the practice type of the practitioner based on the human body data information and the instrument data information; and marks the human body data information according to the practice type to obtain the practice posture of the practitioner.
[0069] Among them, human posture estimation includes judging body movements, including the positions of important large joints and finger joints in different instrument exercises, especially the movements of all finger joints (human posture estimation in other fields only has 17 or 33 points, and rarely uses all finger joints as parameters.).
[0070] For example, when practicing piano, you need to raise your arms, swing your arms, stand your fingers, slide your fingers, and fix your wrists and elbows.
[0071] For example, for the violin: holding the bow, holding the bow, bowing continuously, staccato, keeping the base of the thumb relaxed, etc.
[0072] For example, when playing percussion, bend your palms and raise them to your chest.
[0073] In order to achieve human posture estimation, human posture recognition technology can be used. Human posture recognition technology can include the following steps:
[0074] Human body detection: Locating the human body in an image or video frame to provide a spatial range for subsequent posture recognition.
[0075] Key joint detection: Identifying the locations of key joints within the human body, such as the head, neck, shoulders, elbows, wrists, hips, knees, and ankles. Human pose recognition algorithms include OpenPose and DeepLabCut. These algorithms output the 2D or 3D coordinates of key points in a given demonstration image. These coordinates can then be used to analyze human poses.
[0076] Posture construction: Connect the detected key joint points to build a human skeleton model to describe the human posture.
[0077] Analyze the image or video data captured by the camera or depth camera, extract the coordinates of the key points of the practitioner, and mark the key joints.
[0078] With the rapid development of deep learning and convolutional neural networks (CNNs), human pose recognition technology has made significant progress, often using deep learning methods. Some typical deep learning methods, such as Hourglass Network, PoseNet, and AlphaPose, have achieved high accuracy and real-time performance in human pose recognition tasks.
[0079] Through the above human body posture recognition, a description of the human body posture is obtained, that is, human body posture estimation is achieved.
[0080] 4 , for example, human posture recognition for piano players or keyboard players typically focuses on key areas such as hands, fingers, wrists, and upper limbs. The following is an exemplary method for estimating the human posture of the two aforementioned players.
[0081] 1) Define the key joints: For the aforementioned pose recognition task, define the key joints. For piano players, this typically includes the wrist, palm, and finger joints. Ensure that the key joints annotated in the image cover the main movements during piano playing.
[0082] 2) Select appropriate images and videos: To obtain high-quality annotated data, clear, high-resolution images and videos should be selected to avoid motion blur and occlusion. In addition, to improve recognition accuracy, try to select data from multiple angles, multiple scenes, and a variety of practitioner types.
[0083] 3) Use a specialized hand pose recognition model: You can use a pre-trained model specifically for hand pose recognition, such as Hand3D, DeepHPS, or the OpenPose hand module model. These models perform well on hand pose recognition tasks and can be used as a base model for learning on the images of the above-mentioned practitioners.
[0084] 4) Apply the pre-trained model to the pose recognition task of the aforementioned practitioner. First, use the pre-trained model to extract features, and then use the specially collected dataset of the aforementioned practitioner to train and fine-tune it to better adapt to the aforementioned practice scenario.
[0085] 5) Data augmentation: To improve the generalization ability of the model, data augmentation techniques such as image rotation, flipping, cropping, scaling, brightness and contrast adjustment can be used to increase the diversity of training data. This helps the model perform better in different scenarios and viewpoints.
[0086] 6) Use the trained model to identify and annotate joints in new images. Fuse the musical instrument features with the human pose data to form a comprehensive dataset. Timestamps can also be used to synchronize the music features and pose data, allowing for analysis that considers their relationship.
[0087] The image reference module 304 is used to obtain image reference data or the practitioner's practice template image data;
[0088] The judgment module 305 is used to compare the exercise posture of the practitioner with the image reference data or the exercise template image data to determine whether the exercise posture of the practitioner is correct; and in response to determining that the exercise posture of the practitioner is incorrect, output a correction instruction for correcting the exercise posture of the practitioner.
[0089] Among them, all or part of the functions of each step in the above three embodiments can be completed by using the API of the local device to call the computing power of the cloud device or other distributed devices.
[0090] FIG4 shows an exemplary example of image features for joint point recognition in the method for music teaching according to an embodiment of the present application.
[0091] Figure 5 shows an exemplary structural block diagram of an electronic device 500 for music teaching according to an embodiment of the present application; it includes: an image acquisition module 501, which is used to acquire the practice image data of the practitioner; a processor 502; and a memory 503, which is used to store program instructions for music teaching. When the processor 503 runs the program instructions, the electronic device executes the method described in the first aspect or the second aspect of the present application.
[0092] Figure 6a shows the device composition of the imaging module of the embodiment of the present application. The imaging module of the present application may include a sensor 601, a first camera 602 and a second camera 603 installed on a fixed rod 605 from bottom to top. Furthermore, the sensor 601 may be a laser that generates infrared light or a laser that generates light of other colors (such as green light). Preferably, the sensor 601 may be, for example, an infrared single-beam laser. It should be noted that the imaging module of the present application selects infrared light as the light source for signal detection because infrared lasers have the advantages of low power consumption, good integration effect and single luminous frequency, and because the playing surface of an instrument (such as a keyboard) is usually a plane, a traditional single-beam laser cannot be used as a light source. Based on the above principle, the present application uses an infrared single-beam laser as the detection light source. In particular, the infrared single-beam laser can be configured to have an adjustable emission angle and direction. If the instrument being played is a piano, the infrared light emitted can be parallel to the piano surface (604), and its installation position is close to the piano surface so that the laser plane it emits is close to the piano surface.
[0093] The first camera 602 and the second camera 603 can be wide-angle cameras, which are configured to collect the musical instrument data information and human body data information respectively. Specifically, when the performer is playing, his fingers or knocking instruments will block and reflect the infrared rays of the pressing or knocking key position. At this time, the pressing or knocking key is triggered, so the camera captures the image of the fingers or knocking instruments blocking the infrared rays in real time, and transmits the image to the human body posture estimation module and / or judgment module for further analysis and processing. In addition, the installation height of the first camera 602 and the second camera 603 can be adjusted according to the range of their shooting, and the range of their shooting should be able to cover the overall situation of the musical instrument and the key joints of the human body respectively.
[0094] As shown in FIG6 b , the device composition of an imaging module according to another embodiment of the present application may include a first camera 602 and a second camera 603 sequentially mounted on a fixing rod 605 from bottom to top.
[0095] The first camera 602 and the second camera 603 can be wide-angle cameras, which are configured to respectively collect the musical instrument data information and the human body data information. Specifically, when the performer performs, the camera captures the image of the fingers or the percussion instruments in real time, and transmits the image to the human body posture estimation module and / or the judgment module for further analysis and processing. In addition, the installation height of the first camera 602 and the second camera 603 can be adjusted according to the range of their shooting, and the range of their shooting should be able to cover the overall situation of the musical instrument and the key joints of the human body respectively.
[0096] As shown in Figure 6c, another embodiment of the present application provides an electronic device for music teaching, including: a host 606, a first camera 602 and a second camera 603; the host 606 is used to receive images captured by the first camera 602 and the second camera 603; in this embodiment, the first camera 602 and the second camera 603 are only schematically shown to be installed on the fixed rod 605, and their installation method and position are not limited; the host 606 also includes a processor; and a memory, which is used to store program instructions for music teaching, when the processor runs the program instructions, the electronic device executes the method according to any one of the first embodiments.
[0097] The first camera, the second camera, and the sensor described in the above embodiments are in an "or" relationship and can be used together or independently. They can be set on different modules or devices (such as different computer hosts or mobile phones). In the specific implementation process, the functions of the first camera and the second camera are not limited.
[0098] The above technical solution of the present application is particularly suitable for processing the image data of the practitioner in the AI chip.
[0099] In summary, this application obtains image data during the practice process and performs process control on the practice process, stores and marks the images of the practice posture, and presents them directly in the teaching equipment or to a remote teacher through data transmission. Furthermore, through analysis and comparison of the image data of the practitioner, it is possible to intelligently and intuitively give judgments and correction suggestions on the practice posture corresponding to the equipment used by the practitioner.
[0100] An embodiment of the present application further provides a computer-readable storage medium, comprising computer-executable instructions stored thereon, wherein the executable instructions, when executed by a processor, implement the method described in the first aspect or the second aspect of the present application.
[0101] Although multiple embodiments of the present application have been shown and described herein, it will be apparent to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art can conceive of many changes, modifications, and alternatives without departing from the thought and spirit of the present application. It should be understood that in the process of practicing the present application, various alternatives to the embodiments of the present application described herein can be adopted. The accompanying claims are intended to define the scope of protection of the present application and therefore cover equivalents or alternatives within the scope of these claims.
Claims
1. A method for music teaching, characterized in that, include: Acquiring exercise video data of the exerciser; Acquire musical instrument data information and human body data information related to the practitioner from the practice image data; Determining the exercise type of the practitioner according to the human body data information and the musical instrument data information; The human body data information is marked according to the exercise type to obtain the exercise posture of the exerciser.
2. The method according to claim 1, characterized in that The training image data at least includes one or more of visible light image data, invisible light image data or sonar image data.
3. The method according to claim 1, characterized in that The exercise image data further includes phased exercise template image data, wherein the phases are related to time and / or exercise difficulty.
4. The method according to claim 1, characterized in that Also includes: Comparing the exercise posture of the practitioner with the image reference data or the exercise template image data to determine whether the exercise posture of the practitioner is correct; as well as In response to determining that the exercise posture of the exerciser is incorrect, a correction instruction for correcting the exercise posture of the exerciser is output.
5. The method according to claim 4, characterized in that Also includes; Classifying the musical instrument types according to the musical instrument data information to form a musical instrument classification library; and The musical instrument data information is stored in a corresponding musical instrument classification library according to the musical instrument classification information.
6. The method according to claim 5, characterized in that It also includes a practitioner-defined instrument classification library based on the practitioner's needs.
7. The method according to claim 1, characterized in that Wherein determining the exercise type of the exerciser according to the human body data information and the musical instrument data information further comprises: Determine according to the instrument data information and the human body data information, and locate the joint points of the practitioner related to the exercise posture; Determine the type of practitioner based on the location of the joints.
8. The method according to claim 4, characterized in that Also includes: Obtaining a comparison result between the training image data and the image reference data by performing artificial intelligence continuous image comparison; Determining the quality of the practitioner's practice based on the comparison result; and Based on the exercise quality, a posture correction suggestion for the exerciser is output.
9. The method according to any one of claims 4 to 8, characterized in that: It also includes outputting the correction indication in a visual and / or audible manner.
10. An electronic device for music teaching, characterized in that: include: An image acquisition module, which is used to acquire exercise image data of the exerciser; processor; as well as A memory for storing program instructions for music teaching, wherein when the processor runs the program instructions, the electronic device executes the method according to any one of claims 1-9.
11. A computer-readable storage medium storing program instructions for music teaching, wherein when the program instructions are loaded and executed by a processor, the processor executes the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
An auxiliary erhu practicer posture detection method based on a computer vision technology
CN109472222A
String instrument playing teaching method and system based on video monitoring
CN113327482A
Data processing method and device, electronic equipment and computer storage medium
CN114241595A
Method and device for music teaching and computer readable storage medium
CN116386424A
Information processing device, information processing method and information processing program
WO2020059245A1
Cited By
Processing method of auxiliary training information in musical instrument practice scene and related device
CN119283047A
