Method and apparatus for optical recognition and analysis in a movement environment
Patent Information
- Application Number
- EP2022838797
- Authority / Receiving Office
- EP · EP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-12-22
- Filing Date
- 2022-12-16
- Publication Date
- 2024-08-21
Smart Images

Figure 1.1
Abstract
Description
[0001] Method and device for optical detection and analysis in a motion environment
[0002] DESCRIPTION
[0003]
[0001] The present patent application relates generally to a method and a device for the optical recognition and analysis, in particular of bodies, body parts and / or joints of a human, surfaces and objects in 3-dimensional space in a moving environment as described by the independent patent claims.
[0004]
[0002] Lack of exercise is a well-known and growing problem in the smartphone age. Today, 16 percent of all German adults are considered obese, and another 53 percent are overweight. Obesity and lack of exercise are often associated with illnesses such as cardiovascular disease, mental health problems, and addiction. The "smartphone generation," especially adolescents and children, are insufficiently active.
[0005]
[0003] At the same time, modern working methods, robotics, computer-aided assembly, etc. also create movement spaces in which the movements of, for example, assemblers must be recorded and evaluated.
[0006]
[0004] The digital technology that has given us the smartphone is not only the trigger, but also the solution to the "activity crisis" as well as the solution to recording tasks in work areas as described, whereby digital technologies such as soap tracking with wearables, i.e. portable or clothing-integrated IT elements, but also augmented and virtual reality applications can play a major role.
[0007]
[0005] For these approaches to work, motion analysis and feedback for augmented and virtual reality applications must be performed in real time, so that, for example, training or motion capture in assembly lines or similar applications can be effective. Appropriate sensor technology and data processing are essential for this.
[0008]
[0006] In this context, for example, devices have been proposed which have a display area, a movement or training space associated with the display area, a sensor system, a detection system for detecting the position of objects and / or a player in at least a partial area of the movement or training space and a computing unit.
[0009]
[0007] The detection system can comprise a depth camera configured to capture a two-dimensional or three-dimensional image of the movement space, wherein each pixel of the two-dimensional or three-dimensional image represents a distance value. The distance value can, for example, be the distance of a point of the object and / or the player from the depth camera. The depth camera can be configured to determine the distance by measuring the time of flight of an electromagnetic pulse. Alternatively, laser scanners or a touch-sensitive floor have been proposed for the detection system, wherein the laser scanner can be configured to determine a distance of a point of the object and / or the player from the laser scanner.The touch-sensitive floor may delimit the playing area at its lower end and be configured to determine the position of the object and / or the player by their contact with the touch-sensitive floor.
[0010]
[0008] These methods and devices are generally complex and cost-intensive to achieve good accuracy and range, and actually only deliver 2D data. Furthermore, known systems are not real-time capable. Therefore, there is a need for methods and devices that are easy to install, operate, and handle while achieving high detection accuracy, as well as being inexpensive to manufacture, so that they enjoy corresponding market acceptance.
[0009] This problem is solved by the features of the independent patent claims, with expedient embodiments being solved by the features of the respective dependent patent claims.
[0011]
[0010] What is provided is a method for the optical recognition and analysis, in particular of bodies, body parts and / or joints of a person, surfaces and objects in 3-dimensional space in a movement area or space, such as a training area, an assembly area or the like, in real time, comprising the steps of: a. providing one or more cameras with a fisheye lens, b. arranging the one or more cameras at a distance and position from the movement area specifically selected for the application, c. providing a data processing unit provided with devices for calculating neural networks and artificial intelligence in real time, d. providing an audio / video feedback unit, e.Determination of 2D positions of bodies, body parts and / or joints, surfaces and objects using camera images on the respective camera(s), f Application of multiple AIs to the captured camera images for recognition and / or analysis with the steps, i. Detecting and cropping bodies / objects on camera images ii. Detecting body part, joint and / or object positions on image crops, iii. Determining the 3-dimensional positions of the detected body part, joint and / or object positions, iv. Analyzing the movement patterns of the 3-dimensional body part, joint and / or object positions, g. Outputting data or audio / video feedback on recognition / analysis results using the audio / video feedback unit.
[0012]
[0011] Fisheye cameras, or cameras equipped with a fisheye lens, are used to fully view objects to be detected from the closest possible distance. In contrast, conventional camera lenses must be positioned further away from the object to be detected in order to fully view it.
[0013]
[0012] By providing fisheye cameras in the method according to the invention, it is possible, for example, in the home area or in spatially limited work environments, to detect people who are also close to the system on which the method is running and to carry out the method, which is significantly more space-saving than known approaches as described above.
[0014]
[0013] The receiving camera image is severely distorted by the fisheye lens. However, thanks to the provision of fisheye cameras, or cameras equipped with a fisheye lens, an AI can see an entire room, which also enables, among other things, running analyses during user training, etc. The cameras, and thus the AIs, also see everything that happens to the side of them. A "dead zone" thus only exists behind the cameras, eliminating the need for additional, expensive cameras or sensors to capture the blind spots.
[0015]
[0014] Whether the AI focuses on recognizing people and objects, as well as on recognizing the orientation of the person or object, or on recognizing body parts and joints depends on whether a person has already been tracked as part of the process or whether a previously tracked person has left the tracking area or training field. If a person was previously tracked who is located within the training field, the person's position and orientation are generated from the AI with a focus on recognizing body parts and joints.
[0016]
[0015] The method is preferably also designed such that the artificial intelligences check each other for plausibility in order to increase the recognition frequency and accuracy.
[0016] If only one camera with a fisheye lens is provided in the method, the 3-dimensional positions of the recognized body part / joint and / or object positions are determined by 3D real-time estimation.
[0017]
[0017] Alternatively, at least two cameras with fisheye lenses can be provided, with the 3-dimensional positions of the detected body part, joint, and / or object positions being determined by triangulation. Preferably, the 2-N cameras are arranged at a distance of 28 cm, whereby this distance can be varied as desired to increase or decrease accuracy.
[0018]
[0018] Preferably, the at least one camera with a fisheye lens has a diagonal field of view (FOV) of 220° or more. Furthermore, the at least one camera with a fisheye lens preferably has a field of view of up to 180° horizontally and 180° vertically.
[0019]
[0019] The distance and position of the one or more cameras specifically selected for the respective application is preferably selected to cover the area in front of the camera(s) within a radius of up to 10 meters.
[0020]
[0020] The AIs preferably comprise object recognition AIs, wherein the determination of 2D positions of the bodies, body parts, joints and / or surfaces and objects through camera images on the respective camera(s) further comprises the following steps: a. Preparation of the camera images for input to the object recognition AI by reducing the size of the images using GPU (Graphic Processor Unit) acceleration, b. Cutting out the bodies, joints, body parts and / or objects, correcting the orientation and scaling the image section size using GPU acceleration, c. Detection of body part and / or joint positions on the image sections of the bodies using further object recognition AIs which are trained to detect body parts and joints, d. Backcalculation of the detected 2D body part and / or joint points to the original image size and orientation of the camera image; e.With multiple cameras, additional recognition of body parts and joints is performed using feature matching. The joint points detected by the AIs of a first camera are then searched for using feature matching on all other cameras. To minimize computational effort, the projection of the epipolar line of the first camera is calculated on all other cameras. By knowing the area(s) to be analyzed, the length of these epipolar lines can also be significantly restricted. Feature matching of the detected joint point now only occurs along these epipolar line areas or sections. Incorrect KL estimates can be corrected and stabilized using this additional information about the position of the 2D joint points.
[0021]
[0021] If two cameras are provided, the recognition of 3D surfaces is preferably carried out using another AI, which receives two separate camera images as input and creates a spatial model from them, whereby an accuracy of the 3D position of bodies, body parts, joints, surfaces and objects of <= 30cm is achieved in real time.
[0022]
[0022] Furthermore, the object recognition AI is preferably provided with data on the relationships between human joints and carries out a pose correction.
[0023]
[0023] If more than one camera is provided, they are preferably arranged such that their fields of view intersect.
[0024]
[0024] Furthermore, a second data processing unit with graphics processors can be provided in order to provide games and game and sports programs as well as to enable training on the basis of the 3D data in order to control the games or sports programs with the body and / or joints and to receive feedback (via video and audio).
[0025] The method according to the invention can also be characterized by the AIs forwarding images, data, and analysis results to an internet cloud. Here, clones of the AIs can be trained to increase the accuracy of the entire system in the future, whereby the data in the cloud can also be used to make results available on other platforms.
[0025]
[0026] With the method according to the present invention, a processing speed of <= 150ms is achieved until the results are displayed via an HMI (Human Machine Interface), whereby the results can be made available on a video / audio output or via various data interfaces (e.g. Bluetooth, LAN, ...).
[0026]
[0027] The method according to the invention can also provide the user with additional supportive use cases, such as a mirror image of themselves, via an additional mirror camera, i.e., another camera that is not one of the previously mentioned cameras and to whose images the AI is not applied. With the help of this mirror camera, the user can see themselves live and have the results displayed in real time on their mirror image / live video.
[0027]
[0028] Also provided is a training device for carrying out a method for optical recognition and analysis as described above, with one or more cameras with fisheye lenses, which are arranged at a distance and position from the training area specifically selected for the application, for determining 2D positions of the bodies, body parts and / or joints, surfaces and objects using camera images, wherein at least one data processing unit is provided, with devices for calculating neural networks and artificial intelligence in real time, for applying several AIs to captured camera images for recognition and / or analysis according to the described method and with at least one interface for one or more audio / video feedback units for outputting data or audio-to-video feedback on the analysis results by means of the audio-to-video feedback unit.The device can have all the features already described in connection with the method. All elements are preferably arranged in a single housing for easy handling by the user.
[0028]
[0029] Further features, characteristics and advantages will become apparent from the following purely illustrative and in no way restrictive description of a preferred embodiment of the invention with reference to the attached figures, in which:
[0029]
[0030] Fig. la / b the schematic comparison of the detection of a person in the training area by a fisheye lens 2 compared to a camera with a normal lens 4
[0030]
[0031] Fig. 2a / b the representation of a camera with fisheye and without fisheye
[0032] Fig. 3a a flowchart of the process
[0031]
[0033] Fig. 3b the flowchart of a variant of the method according to Fig. 3a
[0032]
[0034] Fig. 4 is a schematic representation of an embodiment of the device
[0033]
[0035] Figures 1a and 1b show schematically a comparison of the detection of a person in the training area by a fisheye lens 2 versus a camera with a normal lens 4.
[0034]
[0036] Fisheye cameras 2, or cameras equipped with a fisheye lens 2, are used so that objects to be recognized, in this case a person 6, can be fully viewed from the smallest possible distance 8. In contrast, normal camera lenses 4 must be at a greater distance 10 from the object 12 to be recognized in order to fully view it. The fisheye camera has a significantly larger field of view 14 than the field of view 16 of the normal camera. As a result, the fisheye camera 2 can see an entire room, whereas a camera 4 cannot capture what is happening to its side.
[0035]
[0037] Figures 2a and 2b show in greater detail the schematic representation of camera 2 with fisheye lens 3 and camera 4 with a non-fisheye lens 5. In contrast to conventional non-fisheye lenses 5, which proportionally image an object plane perpendicular to the optical axis, fisheye lenses 3 image one hemisphere or more on the image plane, with significant but not excessive distortion. Straight lines that do not pass through the image center are imaged as curved; the image is strongly barrel-shaped. Area ratios or radial distances are usually imaged more accurately than with a conventional, gnomonic projecting wide-angle lens 5. The fisheye lens 3 has a very large angle of view (shown here with dashed lines) of 180° or more, which cannot be achieved with conventional projection methods.
[0036]
[0038] Fig. 3a shows a flowchart of the method according to a preferred embodiment of the invention. Two cameras with fisheye lenses are provided at a specifically selected distance and position to the movement area, via which a 2D image is each captured in steps 20a, 20b. In the next step 22a, 22b, the captured image is each fed to an AI for the recognition of bodies, body parts and / or joints, surfaces and objects, wherein bodies / objects are first recognized in camera images at 24a, 24b, i.e. their 2D image position is determined. In a next step 26a, 26b, the recognized bodies and / or objects are cropped and then fed to another AI for determining the 2D positions of the bodies, body parts and / or joints, surfaces and objects in a further step 28a, 28b.Only after this step has been completed are the previously parallel process strands combined, and the 3D positions of bodies, joints, surfaces, and objects in space are determined by triangulation in step 30 based on the data calculated in the previous steps. The movement patterns of the 3D body part, joint, and / or object positions are analyzed in a subsequent step 32. In a final step 33, the calculated data are then made available for exercise evaluation.
[0037]
[0039] Fig. 3b shows the flow chart of a variant of the method according to Fig. 3a. In this case, the captured image is fed to an AI for feature matching of bodies and / or objects in an additional, parallel step 22c, before the detected bodies and / or objects are cropped in the next step 26b and then fed to a further AI for determining the 2D positions of the bodies, body parts and / or joints, surfaces and objects in step 28b and, on the other hand, to a further AI for renewed feature matching of bodies and / or objects in a step 28c.After steps 28b and 28c, in an additional step 28d, the AI data from steps 28b and 28c are combined to correct body part and / or joint positions, whereupon the parallel process strands are combined again and the 3D positions of bodies, joints, surfaces and objects in space are determined by triangulation in step 30 on the basis of the data calculated in the previous steps, and the movement patterns of the 3D body part, joint and / or object positions are analyzed in a next step 32, and in a final step 33 the calculated data are then made available for exercise evaluation.
[0038]
[0040] Finally, Figure 4 shows the schematic representation of an embodiment of the device, with a housing 34 in which cameras 2 with fisheye lenses are arranged in the front at a distance specifically selected for the application, whose fields of view or field of view have 220° diagonally and 180° horizontally and 180° vertically and intersect, as shown by the dashed lines.Furthermore, a data processing unit (not shown) is provided in the housing 34 with devices for calculating neural networks and artificial intelligence in real time, for determining 2D positions of the bodies, body parts and / or joints, surfaces and objects from camera images captured by the cameras 2, recognizing and cropping bodies / objects on camera images, recognizing body part, joint and / or object positions on image crops, determining the 3-dimensional positions of the recognized body part, joint and / or object positions, analyzing the movement patterns of the recognized 3-dimensional body part, joint and / or object positions, wherein the output of data or audio / video feedback on recognition / analysis results, calculated from the camera images, is output by means of an audio / video feedback unit (not shown), preferably a high-resolution screen with high-quality loudspeakers.This audio-Z-video feedback input is controlled via a conventional connection 36, such as USB or similar.
Claims
PATENT CLAIMS Method for the optical detection and analysis, in particular of human bodies, body parts and / or joints, surfaces and objects in 3-dimensional space within a range of motion in real time, comprising the following steps: a. Providing one or more cameras (2) with fisheye lenses (3), b. Arranging the one or more cameras (2) at a distance and position specifically chosen for the application to the range of motion, c. Providing at least one data processing unit equipped with facilities for calculating neural networks and artificial intelligences in real time, d. Providing at least one audio / video feedback unit, e. Determining 2D positions of the bodies, body parts and / or joints, surfaces and objects by means of camera images on the respective camera(s) (2), f. Applying several AIs to captured camera images for detection and / or analysis with the steps i.
1. Recognition and cropping of bodies / objects on camera images, ii. Recognition of body part, joint, and / or object positions on image crops, iii. Determination of the 3-dimensional positions of the recognized body part, joint, and / or object positions within the range of motion, iv. Analysis of the movement patterns of the 3-dimensional body part, joint, and / or object positions within the range of motion, g. Output of data or audio / video feedback on the analysis results using the audio / video feedback unit. Method according to claim 1, wherein the determination of the 3-dimensional positions of the recognized body part, joint, and / or object positions within the range of motion is performed by real-time 3D estimation. A method according to claim 1 or 2, wherein at least two cameras (2) with fisheye lenses (3) are provided and the determination of the 3-dimensional positions of the detected body part, joint, and / or object positions in the range of motion is carried out by triangulation. A method according to any one of the preceding claims, wherein the at least one camera with a fisheye lens has a diagonal field of view (FOV) of at least 220°. A method according to claim 4, wherein the at least one camera with a fisheye lens has a field of view of up to 180° horizontally and 180° vertically. A method according to any one of the preceding claims, wherein the distance and position of the one or more cameras are specifically selected for the application in order to cover the area in front of the camera(s) within a radius of up to 10 meters.A method according to any of the preceding claims, wherein the AIs comprise object recognition AIs, and wherein the determination of 2D positions of bodies, body parts, joints and / or surfaces and objects in the range of motion by means of camera images on the respective camera(s) comprises the following steps: a. Preparing the camera images for input into the object recognition AI by reducing the size of the images using GPU (Graphics Processing Unit) acceleration, b. Cutting out the bodies, joints, body parts and / or objects, correcting the orientation and scaling the image section size using GPU acceleration, c. Recognizing body part and / or joint positions on the image sections of the bodies using further object recognition AIs which are trained to recognize body parts and joints, and d. Calculating the recognized 2D body part and / or joint points back to the original image size and orientation of the camera image. A method according to claim 7, wherein, when using multiple cameras, body parts and joints are additionally recognized by feature matching, wherein the joint points recognized by the AIs from a first camera are searched for on all further cameras by feature matching. A method according to claim 8, wherein, to minimize the computational effort, the projection of the epipolar line of the first camera onto all further cameras is calculated and areas to be analyzed are defined, wherein the feature matching of the respective recognized joint point is performed along these epipolar line areas. A method according to any one of claims 3 to 7, wherein the recognition of 3D surfaces is performed using a further AI, which receives two camera images as input and creates a spatial model from them. A method according to any one of claims 7 to 8, wherein the object recognition AI is provided with data on the relationships of human joints to one another and simulates pose correction.A method according to any one of claims 3 to 9, wherein the cameras (2) are arranged such that their fields of view intersect. A method according to claim 1, wherein a second data processing unit with graphics processors is provided for controlling games and sports programs based on the 3D data of the body, joints, objects, surfaces, and for displaying feedback by means of the audio-video feedback unit. A device for carrying out a method for the optical recognition and analysis, in particular of bodies, body parts and / or joints of a person, surfaces and objects in the 3-dimensional range of motion in real time, comprising: a. a housing (34). b. one or more cameras (2) with fisheye lenses (3), arranged in the housing (34) at a distance and position specifically chosen for the application relative to the movement area, for determining 2D positions of bodies, body parts and / or joints, surfaces and objects in the movement area by means of camera images c. at least one data processing unit equipped with facilities for calculating neural networks and artificial intelligences in real time, for applying multiple AIs to captured camera images for recognition and / or analysis with the steps i. recognition and cropping of bodies / objects on camera images ii. recognition of body part, joint and / or object positions on image crops iii. determination of the 3-dimensional positions of the recognized body part, joint and / or object positions iv. analysis of the movement patterns of the 3-dimensional body part, joint and / or object positions d.at least one interface (36) for one or more audio / video feedback units for outputting data or audio / video feedback on the analysis results via the audio / video feedback unit. Device according to claim 12, wherein the AIs comprise object recognition AIs for determining 2D positions of bodies, body parts, joints, and surfaces and objects from camera images on the respective camera(s) (2) by means of the following steps: a. preparing the camera images for input into the object recognition AI by reducing the size of the images by GPU (Graphics Processing Unit) acceleration, b. cropping the bodies, joints, body parts, and objects, correcting the orientation and scaling the image section size by means of GPU acceleration, c. recognizing body part and joint positions on the image sections of the bodies by means of further object recognition AIs which are trained to recognize body parts and joints.d. Reconstruction of the detected 2D body part and / or joint points to the original image size and orientation of the camera image. Device according to claim 12 or 13, wherein at least two cameras (2) with fisheye lenses (3) are provided for determining the 3-dimensional positions of the detected body part, joint, and / or object positions in the movement area by triangulation. Device according to any one of claims 12 to 14, wherein the at least one camera (2) with fisheye lens (3) has a diagonal field of view (FOV) of up to 220°.Device according to claims 12 to 15, wherein the at least one camera (2) with fisheye lens (3) has a field of view of up to 180° horizontally and 180° vertically. Device according to any one of claims 12 to 16, wherein the distance and position of the one or more cameras (2) in the housing (34) are selected specifically for the application in order to cover the movement space in front of the camera(s) (2) within a radius of up to 10 meters. Device according to any one of claims 12 to 17, wherein the object recognition AI is provided with data on the relationships of human joints to one another and simulates pose correction. Device according to any one of claims 14 to 18, wherein the cameras (2) are arranged in the housing such that their fields of view intersect.
