Intelligent machine vision information processing method and device and electronic equipment

By acquiring and tracking the visual information of intelligent machines in real time, performing path correction and human-computer interaction, it solves the problem of intelligent machines being unable to accurately identify obstacles and improves movement accuracy and safety.

CN118570764AInactive Publication Date: 2024-08-30SHAANXI INST OF INT TRADE & COMMERCE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410640946.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-22
Publication Date
2024-08-30
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure CN118570764A
    Figure CN118570764A
Patent Text Reader

Abstract

The invention discloses an intelligent machine visual information processing method and apparatus, and an electronic device. The method comprises the steps of obtaining visual information of an intelligent machine in a process of moving according to a predetermined route in real time; performing real-time tracking on each entity appearing in the visual information; judging whether the motion route of the intelligent machine deviates from a preset route or not according to the real-time tracking result; when the movement route deviates from the preset route, the route is corrected. The visual information of the intelligent machine in the movement process is obtained in real time, and each entity in the visual information of the intelligent machine is tracked in real time, so that the intelligent machine can accurately recognize the entities encountered in the movement process during movement, and operation of the intelligent machine is facilitated. In addition, the intelligent machine can correct the path when the movement path deviates from the preset path, so that the intelligent machine can better move according to the preset path, and the operation stability and accuracy of the intelligent machine are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of information processing technology, and specifically relates to an intelligent machine vision information processing method, device and electronic equipment. Background Art

[0002] With the rapid development of science and technology, the application scope of intelligent machines is becoming more and more extensive. Intelligent machines refer to machines that can autonomously or interactively perform various anthropomorphic tasks in various environments. They have various internal information sensors and external information sensors. In addition to sensors, intelligent machines also have effectors, or self-pacing motors, which can control the "hands", "feet", "long noses" or "antennae" of intelligent robots to move.

[0003] At present, intelligent machines include intelligent sweeping robots or intelligent patrol robots. Neither intelligent sweeping robots nor intelligent patrol robots can accurately identify obstacles encountered in the machine's moving trajectory. This is due to the deviation in their capture of visual information. Summary of the invention

[0004] In order to solve the above problems existing in the prior art, the present invention provides an intelligent machine vision information processing method, device and electronic equipment.

[0005] The technical problem to be solved by the present invention is achieved through the following technical solutions:

[0006] In a first aspect, the present invention provides an intelligent machine vision information processing method, the intelligent machine vision information processing method comprising:

[0007] Obtain visual information in real time as the intelligent machine moves along a predetermined route;

[0008] Tracking each entity appearing in the visual information in real time;

[0009] Determining whether the movement route of the intelligent machine deviates from the predetermined route according to the result of real-time tracking;

[0010] When the movement route deviates from the predetermined route, path correction is performed.

[0011] Optionally, each entity appearing in the visual information is tracked in real time, including:

[0012] For each entity, the approximate outline of the entity at the previous moment is obtained based on the visual information at the previous moment; the straight-line distance between the intelligent machine and the entity at the previous m moments is determined based on the visual information at the previous m moments; the approximate outline of the entity at the current moment is determined based on the approximate outline of the entity at the previous moment and the straight-line distance at the previous m moments, so as to track the entity in real time.

[0013] Optionally, the intelligent visual machine is equipped with a three-dimensional scanner, and the intelligent machine visual information processing method further includes:

[0014] When it is determined that the approximate outline of the entity existing at the current moment is a human body outline, the entity is determined to be a real human body, and three-dimensional data of the real human body is scanned by the three-dimensional scanner;

[0015] Based on the three-dimensional data, a virtual AI character is generated on the display screen of the intelligent machine, and the virtual AI character is used to interact with the real human body.

[0016] Optionally, the intelligent machine is equipped with a speech recognition module, and the intelligent machine visual information processing method further includes:

[0017] Using the voice recognition module to obtain voice information of the real human body, and recognizing the voice information as text;

[0018] According to the text, the virtual AI character is used to interact with the real human body.

[0019] Optionally, before recognizing the voice information as text, the intelligent machine vision information processing method further includes:

[0020] Determining whether the real human body is beyond a preset field of view;

[0021] When the real human body is located in the preset visual field, the step of recognizing the voice information as text is continued.

[0022] Optionally, determining the straight-line distance between the intelligent machine and the entity at the first m moments according to the visual information at the first m moments includes:

[0023] For each entity, the straight-line distance between the intelligent machine and the entity at the first m moments is determined based on the initial distance and the position of the intelligent machine at the first m moments; the initial distance is the straight-line distance between the initial position of the entity entering the capture area of ​​the intelligent machine and the intelligent machine.

[0024] Optionally, determining the current approximate contour of the entity according to the approximate contour of the entity at the previous moment and the straight-line distances at the previous m moments, so as to track the entity in real time, includes:

[0025] For each entity, the average displacement of the entity is calculated based on the straight-line distance between the intelligent machine and the entity at the first m moments; at each moment, the approximate outline of the entity at the previous moment is moved according to the average displacement of the entity to obtain the approximate outline of the entity at this moment, so as to track the entity in real time.

[0026] Optionally, when the movement route deviates from the predetermined route, path correction is performed, including:

[0027] When the movement route deviates from the predetermined route, calculating a first offset in the horizontal direction and a second offset in the vertical direction between the current position of the intelligent machine on the movement route and the predetermined route;

[0028] Path correction is performed according to the first offset and the second offset.

[0029] In a second aspect, the present invention provides an intelligent machine vision information processing device, the intelligent machine vision information processing device comprising

[0030] A visual information acquisition module is used to acquire visual information of the intelligent machine in real time while it is moving along a predetermined route;

[0031] A real-time tracking module, used for tracking each entity appearing in the visual information in real time;

[0032] A route deviation judgment module, used to judge whether the movement route of the intelligent machine deviates from the predetermined route according to the result of real-time tracking;

[0033] The path correction module is used to perform path correction when the movement route deviates from the predetermined route.

[0034] Optionally, a real-time tracking module is specifically used to obtain, for each entity, an approximate outline of the entity at the previous moment based on visual information at the previous moment; determine the straight-line distance between the intelligent machine and the entity at the previous m moments based on visual information at the previous m moments; determine the approximate outline of the entity at the current moment based on the approximate outline of the entity at the previous moment and the straight-line distance at the previous m moments, so as to track the entity in real time.

[0035] Optionally, the intelligent visual machine is equipped with a three-dimensional scanner, and the intelligent machine visual information processing device further includes:

[0036] A virtual AI character generation module, for determining that the entity is a real human body when it is determined that the approximate outline of the entity existing at the current moment is a human body outline, and scanning the three-dimensional data of the real human body through the three-dimensional scanner;

[0037] Based on the three-dimensional data, a virtual AI character is generated on the display screen of the intelligent machine, and the virtual AI character is used to interact with the real human body.

[0038] Optionally, the intelligent machine is equipped with a speech recognition module, and the intelligent machine visual information processing device further includes:

[0039] An interaction module, used to obtain the voice information of the real human body by using the voice recognition module, and recognize the voice information as text;

[0040] According to the text, the virtual AI character is used to interact with the real human body.

[0041] Optionally, the intelligent machine vision information processing device further includes:

[0042] A preset visual range judgment module, used to judge whether the real human body is beyond the preset visual range before recognizing the voice information as text;

[0043] When the real human body is located in the preset visual field, the step of recognizing the voice information as text is continued.

[0044] Optionally, the real-time tracking module determines the straight-line distance between the intelligent machine and the entity at the first m moments according to the visual information at the first m moments, including:

[0045] For each entity, the straight-line distance between the intelligent machine and the entity at the first m moments is determined based on the initial distance and the position of the intelligent machine at the first m moments; the initial distance is the straight-line distance between the initial position of the entity entering the capture area of ​​the intelligent machine and the intelligent machine.

[0046] Optionally, the real-time tracking module determines the current approximate contour of the entity according to the approximate contour of the entity at the previous moment and the straight-line distances at the previous m moments, so as to track the entity in real time, including:

[0047] For each entity, the average displacement of the entity is calculated based on the straight-line distance between the intelligent machine and the entity at the first m moments; at each moment, the approximate outline of the entity at the previous moment is moved according to the average displacement of the entity to obtain the approximate outline of the entity at this moment, so as to track the entity in real time.

[0048] Optionally, a path correction module is specifically used to calculate a first offset in the horizontal direction and a second offset in the vertical direction between the current position of the intelligent machine on the movement route and the predetermined route when the movement route deviates from the predetermined route;

[0049] Path correction is performed according to the first offset and the second offset.

[0050] In a third aspect, the present invention provides an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0051] Memory, used to store computer programs;

[0052] The processor is used to implement the method steps described in any of the above-mentioned intelligent machine vision information processing methods when executing the program stored in the memory.

[0053] In a fourth aspect, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps described in any of the above-mentioned intelligent machine vision information processing methods are implemented.

[0054] In another aspect of the present invention, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute the method steps described in any of the above-mentioned intelligent machine vision information processing methods.

[0055] The present invention provides an intelligent machine visual information processing method, which obtains visual information of an intelligent machine in real time during its movement along a predetermined route; tracks each entity appearing in the visual information in real time; determines whether the movement route of the intelligent machine deviates from the predetermined route based on the result of real-time tracking; and corrects the path when the movement route deviates from the predetermined route.

[0056] By acquiring the visual information of the intelligent machine in real time during the movement and tracking each entity in the visual information of the intelligent machine in real time, the intelligent machine can accurately identify the entities encountered during the movement, which facilitates the operation and positioning of the intelligent machine.

[0057] In addition, the intelligent machine can also judge the movement route of the intelligent machine based on the results of real-time tracking. When the movement route deviates from the predetermined route, the path correction can be performed so that the intelligent machine can better move according to the predetermined route, thereby improving the stability and accuracy of the intelligent machine's operation, reducing errors and risks, and improving the work efficiency and safety of the intelligent machine.

[0058] The present invention will be further described in detail below with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] Figure 1 It is a flowchart of an intelligent machine vision information processing method provided by an embodiment of the present invention;

[0060] Figure 2 It is a flowchart of another intelligent machine vision information processing method provided by an embodiment of the present invention;

[0061] Figure 3 is a schematic diagram of the structure of an entity capture module of an intelligent machine provided by an embodiment of the present invention;

[0062] Figure 4 is a structural schematic diagram of a human-computer interaction module of an intelligent machine provided by an embodiment of the present invention;

[0063] Figure 5 It is a structural diagram of a path determination module of an intelligent machine provided by an embodiment of the present invention;

[0064] Figure 6 It is a structural schematic diagram of an intelligent machine vision information processing device provided by an embodiment of the present invention;

[0065] Figure 7 It is a structural diagram of an electronic device. DETAILED DESCRIPTION

[0066] The present invention is further described in detail below with reference to specific embodiments, but the embodiments of the present invention are not limited thereto.

[0067] In order to solve the problem that existing intelligent machines cannot accurately identify obstacles encountered in the machine's moving trajectory and there is a deviation in capturing visual information, an embodiment of the present invention provides an intelligent machine visual information processing method, device and electronic device.

[0068] The following is a detailed description of an intelligent machine vision information processing method provided by an embodiment of the present invention. Figure 1 , Figure 1 This is a flow chart of an intelligent machine vision information processing method provided by an embodiment of the present invention, and the specific steps are as follows:

[0069] Step S101, obtaining in real time visual information of the intelligent machine while it is moving along a predetermined route.

[0070] In this embodiment, the predetermined route for the intelligent machine to run can be set by the positioning navigator of the intelligent machine. The intelligent machine can be an intelligent sweeping robot or an intelligent inspection robot.

[0071] In this embodiment, the intelligent machine can obtain real-time visual information along the route while moving along a predetermined route. The visual information can be environmental information and entity information in front of the intelligent machine obtained by shooting the surroundings with a camera.

[0072] Step S102, tracking each entity appearing in the visual information in real time.

[0073] In this embodiment, there may be multiple entities in the visual information obtained by the intelligent machine, and these entities may refer to tables, chairs, human bodies, or other objects photographed by the intelligent machine during operation. These objects may be stationary objects or non-stationary objects.

[0074] Intelligent machines can capture entities that appear in visual information and achieve real-time tracking of each entity by determining the approximate outline of the entity in the visual information at each moment.

[0075] Step S103, judging whether the movement route of the intelligent machine deviates from the predetermined route according to the result of real-time tracking.

[0076] Based on the results of real-time tracking, the real-time position of the intelligent machine can be determined, and then the real movement trajectory of the intelligent machine, that is, the movement route, can be obtained. By comparing the real route of the intelligent machine with the predetermined route that the intelligent machine is to run, it can be judged whether the intelligent machine has deviated.

[0077] Step S104: when the movement route deviates from the predetermined route, path correction is performed.

[0078] When it is determined that the movement route of the intelligent machine deviates from the predetermined route, path correction is required to enable the intelligent machine to continue to move along the predetermined route.

[0079] In this embodiment, when it is determined that the movement route of the intelligent machine deviates from the predetermined route, the path of the intelligent machine can be corrected by adjusting the movement mode of the intelligent machine, controlling its trajectory or implementing navigation correction, so that it returns to the predetermined route.

[0080] In this embodiment, by acquiring the visual information of the intelligent machine during movement in real time and tracking each entity in the visual information of the intelligent machine in real time, the intelligent machine can accurately identify the entities encountered during the movement, thereby facilitating the operation and positioning of the intelligent machine.

[0081] In addition, the intelligent machine can also judge the movement route of the intelligent machine based on the results of real-time tracking. When the movement route deviates from the predetermined route, the path correction can be performed so that the intelligent machine can better move according to the predetermined route, thereby improving the stability and accuracy of the intelligent machine's operation, reducing errors and risks, and improving the work efficiency and safety of the intelligent machine.

[0082] In an embodiment of the present invention, each entity appearing in the visual information is tracked in real time, including:

[0083] For each entity, the approximate outline of the entity at the previous moment is obtained based on the visual information at the previous moment; the straight-line distance between the intelligent machine and the entity at the previous m moments is determined based on the visual information at the previous m moments; the approximate outline of the entity at the current moment is determined based on the approximate outline of the entity at the previous moment and the straight-line distance at the previous m moments, so as to track the entity in real time.

[0084] In this embodiment, the intelligent machine can use a camera to record entities that appear within the capture area, and in order to distinguish the entities, the recorded entities can also be sorted and defined. For example, the entities can be arranged in order according to Arabic numerals 1, 2, 3...N.

[0085] In this embodiment, for each entity, an image comparison can be performed between the entity in the visual information at the previous moment and the objects stored in the intelligent machine, so that an approximate outline of the entity at the previous moment can be obtained.

[0086] In this embodiment, the straight-line distance between the intelligent machine and the entity at the previous m moments can be determined based on the visual information at the previous m moments. By analyzing and calculating the straight-line distance at the previous m moments, the change in the straight-line distance between the intelligent machine and the entity can be obtained. Combining the approximate outline of the entity at the previous moment and the change in the straight-line distance between the intelligent machine and the entity at the previous m moments, the approximate outline of the entity at the previous moment is moved, and the approximate outline of the entity at the current moment can be inferred, and then the approximate outline of the entity at each current moment can be obtained, thereby achieving real-time tracking of the entity, improving the tracking and prediction capability of the intelligent machine for the entity and the autonomy of the intelligent machine.

[0087] In an embodiment of the present invention, the intelligent visual machine is equipped with a three-dimensional scanner. When it is determined that the approximate outline of the entity existing at the current moment is a human body outline, the entity is determined to be a real human body, and the three-dimensional data of the real human body is scanned by the three-dimensional scanner;

[0088] Based on three-dimensional data, a virtual AI (Artificial Intelligence) character is generated on the display screen of the intelligent machine, and the virtual AI character is used to interact with the real human body.

[0089] In this embodiment, thermal image analysis can be used to determine whether the approximate outline of the entity existing at the current moment is a human body outline, or an image comparison can be performed between the approximate outline of the entity and the human body outline stored in an intelligent machine to determine whether the approximate outline of the entity is a human body outline.

[0090] In this embodiment, the three-dimensional data of a real human body can be scanned by a three-dimensional scanner. The three-dimensional scanner can be used to detect and analyze the three-dimensional data such as the shape and appearance of the entity, and use the collected three-dimensional data to perform three-dimensional reconstruction calculations, and then create a digital model of the actual object in the virtual world.

[0091] In this embodiment, after scanning the three-dimensional data of a real human body with a three-dimensional scanner, a virtual AI character can be reconstructed based on the real human body on a virtual display screen, and then the virtual AI character can interact with the captured real human body.

[0092] Specifically, the virtual AI character can interact by combining actions and voice. For example, when a real person needs to be guided to the right, the virtual character can make an action of walking to the right and guide the real person by voice "please walk to the right".

[0093] In order to enable the intelligent machine to better interact with the real human body, the intelligent machine provided by the embodiment of the present invention is also equipped with a voice recognition module. The voice recognition module can obtain the voice information of the real human body and recognize the voice information as text; then, based on the text, the intelligent machine can use a virtual AI character to interact with the real human body.

[0094] In this embodiment, through the voice recognition module, the intelligent machine can recognize the voice uttered by the real human body. After recognizing the voice into text, it can be more helpful for the intelligent machine to understand the voice commands issued by the real human body, and then make corresponding responses or actions based on the content of the recognized text, thereby interacting with the real human body through the virtual AI character.

[0095] For example, the intelligent machine is a sweeping robot. A real person sends a voice message "clean the master bedroom" to the sweeping robot. After receiving the voice message, the sweeping robot recognizes it as text and understands it. Then, it interacts with the real person by generating text on the display screen and reading the voice of a virtual AI character. For example, it can send a reply "Should I sweep or mop the master bedroom?" At the same time, the virtual AI character can also generate sweeping and mopping actions on the display screen. After waiting for the real person to send a voice reply such as "sweep the floor" again, the sweeping robot can recognize the voice and sweep the master bedroom.

[0096] In this embodiment, through the voice recognition module, the intelligent machine can understand the voice uttered by the real human body, and thus better interact with the real human body based on the text recognized from the voice, greatly improving the efficiency and convenience of the intelligent machine in the process of interacting with the real human body.

[0097] In an embodiment of the present invention, in order to ensure effective interaction and resource utilization, before recognizing voice information as text, it is also necessary to determine whether the real human body is beyond the preset field of view; when the real human body is within the preset field of view, continue to perform the step of recognizing voice information as text.

[0098] In this embodiment, in order to prevent the real person from sending voice messages at a long distance or leaving after sending voice messages, resulting in the intelligent machine being unable to interact well with the real person based on the virtual AI character, causing a waste of resources, it is necessary to determine whether the real person is beyond the preset field of view before converting the voice information into text for recognition.

[0099] In this embodiment, the surrounding environment can be monitored and detected through visual information obtained by the camera of the intelligent machine to determine whether the real human body is within the preset field of view. If the real human body is within the preset field of view, the step of recognizing the voice information as text is continued to be performed to further realize the interaction between the virtual AI character and the real human body.

[0100] On the contrary, if the real human body is beyond the preset field of view, the step of recognizing the voice information as text is stopped.

[0101] In this embodiment, by continuing to execute the step of recognizing voice information as text when the real human body is within the preset field of view, and not executing the step of recognizing voice information as text when the real human body is not within the preset field of view, invalid interaction between the intelligent machine and the real human body can be stopped when the distance between them is too far or too large, which helps to avoid waste of resources and enhance the convenience and efficiency of the intelligent machine in the process of interacting with the real human body.

[0102] In an embodiment of the present invention, determining the straight-line distance between the intelligent machine and the entity at the previous m moments according to the visual information at the previous m moments includes:

[0103] For each entity, the straight-line distance between the intelligent machine and the entity at the previous m moments is determined based on the initial distance and the position of the intelligent machine at the previous m moments; the initial distance is the straight-line distance between the initial position of the entity entering the capture area of ​​the intelligent machine and the intelligent machine.

[0104] In this embodiment, the initial distance is the straight-line distance between the initial position of the entity entering the capture area of ​​the intelligent machine and the intelligent machine, that is, the straight-line distance between the position of the entity when it just enters the capture area boundary of the intelligent machine and the current position of the intelligent machine.

[0105] According to the initial distance, the position of the intelligent machine at the previous m moments, and the position of the entity in the visual information obtained by the intelligent machine at this position, the straight-line distance between the intelligent machine and the entity at the previous m moments can be obtained. It should be noted that the change in the straight-line distance can also be used to determine whether the entity is a moving object.

[0106] In this embodiment, based on the initial distance and the straight-line distance at the previous m moments, the intelligent machine can monitor the position changes of the entity in real time, and can determine the relative position between itself and the entity, which helps the intelligent machine to accurately locate itself and the entity, and realizes the real-time tracking and adaptability of the intelligent machine to the entity.

[0107] In an embodiment of the present invention, determining the current approximate contour of the entity according to the approximate contour of the entity at the previous moment and the straight-line distance at the previous m moments, so as to track the entity in real time, includes:

[0108] For each entity, the average displacement of the entity is calculated based on the straight-line distance between the intelligent machine and the entity in the previous m moments. At each moment, the approximate outline of the entity at the previous moment is moved according to the average displacement of the entity to obtain the approximate outline of the entity at that moment, so as to track the entity in real time.

[0109] In this embodiment, the position change of the entity relative to the intelligent machine at each moment can be determined based on the straight-line distance between the intelligent machine and the entity at the previous m moments, and then the average displacement of the entity can be calculated. Based on the average displacement of the entity, the approximate outline of the entity at the previous moment is moved to obtain the approximate outline of the entity at the current moment. This operation is performed at each moment, so that the position and trajectory of the entity can be continuously tracked and updated, thereby realizing the full real-time monitoring and tracking of the entity.

[0110] In this embodiment, the approximate contour is continuously moved according to the average displacement of the entity at each moment, which can more accurately reflect the real-time position and state of the entity and improve the tracking precision and accuracy of the intelligent machine.

[0111] In the embodiment of the present invention, the average displacement is calculated as follows:

[0112]

[0113] Among them, D t represents the average displacement; f x,y represents the position of the entity at the i-th moment in the previous m moments; f x,y-1 represents the position of the entity at the i-1th moment among the previous m moments; M represents the position of the entity in m moments; x represents the vector of the entity's position on the x-axis; y represents the vector of the entity's position on the y-axis.

[0114] In addition, when the intelligent machine determines that there is an entity in front of it that blocks its movement path, the intelligent machine can also issue a voice broadcast to remind you.

[0115] In an embodiment of the present invention, when the intelligent machine is running, it is also necessary to detect whether its movement route deviates from the predetermined route. First, the image information corresponding point A(o,n) of the optimal area for visual information processing is set, where o and n represent the horizontal coordinate and vertical coordinate of the image information corresponding point on the coordinate axis, respectively. The image information corresponding point is determined by the horizontal and vertical coordinates of the optimal distance for the camera to capture the front entity relative to the reference point. The specific value can be set according to the optimal distance for machine vision information processing. The optimal area for visual information processing is set according to the optimal distance for the camera of the intelligent machine to capture the front entity.

[0116] Specifically, the setting of the corresponding points of the image information can be realized by a server. The server is a machine vision remote acquisition area server configured for the intelligent machine before the intelligent machine is run. In this embodiment, the configuration of the server of the intelligent machine can be realized through the IP (Internet Protocol) address information of the server.

[0117] In this embodiment, if DX is greater than DY, the intelligent machine shooting track is moved horizontally to adjust the capture direction of the intelligent machine vision information. Further, if the horizontal coordinate of the corresponding point of the image information is greater than 0, the shooting track is moved horizontally to the right; if the horizontal coordinate of the corresponding point of the image information is less than 0, the shooting track is moved horizontally to the left.

[0118] If DY is greater than DX, the intelligent machine shooting track is moved vertically to adjust the capture direction of the intelligent machine vision information. Further, if the ordinate of the corresponding point of the image information is greater than 0, the shooting track is moved vertically downward; if the ordinate of the corresponding point of the image information is less than 0, the shooting track is moved vertically upward.

[0119] Through the above operation, a 3D shooting trajectory can be obtained. According to the 3D shooting trajectory and the aforementioned approximate contour detection, it is possible to further determine whether the entity is a stationary entity or a non-stationary entity, and the intelligent machine can accurately adjust the visual capture direction during movement to reduce the deviation in visual information capture. The displacement value of the entity at the previous moment of detection and the displacement value of the entity at the current moment are calculated by difference. If the difference is 0, the entity is judged to be a stationary entity; if the difference is not 0, the entity is judged to be a non-stationary entity.

[0120] In this embodiment, the difference between the values ​​of the horizontal and vertical coordinates at the corresponding moments in the moving path captured by the camera and DX and DY is calculated. If the difference is 0, it is judged that the machine operation path is normal. If the difference is not 0, it is judged that the movement route of the intelligent machine deviates from the predetermined route.

[0121] In an embodiment of the present invention, when the movement route deviates from the predetermined route, path correction is performed, including:

[0122] When the motion route deviates from the predetermined route, a first offset in the horizontal direction and a second offset in the vertical direction between the current position of the intelligent machine on the motion route and the predetermined route are calculated;

[0123] Path correction is performed according to the first offset and the second offset.

[0124] In this embodiment, the first offset is calculated as follows:

[0125] ΔM1=ΔX1cosα+ΔX1sinα;

[0126] Wherein, ΔM1 represents the first offset, ΔX1 represents the vector of the motion path in the X-axis direction; α represents the azimuth of the deformation direction, which is the angle between the current position of the intelligent machine in the motion path and the X-axis;

[0127] The second offset is calculated as:

[0128] ΔM2=ΔY1cos(180°-α)+ΔY1sin(180°-α);

[0129] Wherein, ΔM2 represents the second offset, and ΔY1 represents the vector of the motion path in the Y-axis direction.

[0130] If the calculated ΔM1≥0, the path in the X-axis direction of the motion route is added to the calculated positive value of ΔM1. If the calculated ΔM1<0, the path in the X-axis direction of the motion route is subtracted from the calculated negative value of ΔM1 according to the calculated negative value of ΔM1, so as to realize the automatic correction value of the motion route in the X-axis direction. Similarly, if the calculated ΔM2≥0, the path in the Y-axis direction of the motion route is added to the calculated positive value of ΔM2. If the calculated ΔM2<0, the path in the Y-axis direction of the motion route is subtracted from the calculated negative value of ΔM2, so as to realize the automatic correction value of the motion route in the Y-axis direction.

[0131] In this embodiment, by correcting the path of the motion route in the X-axis and Y-axis directions, real-time path correction is achieved when the motion route deviates from the predetermined route.

[0132] In addition, after the path correction is achieved, the result can also be reported to the aforementioned machine vision remote acquisition area server.

[0133] The following will further describe an intelligent machine vision information processing method provided by an embodiment of the present invention in combination with various modules in the intelligent machine. Figure 2 , Figure 2 : is a flowchart of another intelligent machine vision information processing method provided by an embodiment of the present invention, and the specific steps are as follows:

[0134] Step S201, configure the machine vision remote collection area server IP address information.

[0135] Configure the IP address information of the visual remote acquisition area server for the intelligent machine so that the intelligent machine can upload the visual information processing results to the remote server or receive instructions from the remote server.

[0136] Step S202, enter the entity capture module, and automatically sort the captured entities, and track and judge the corresponding serial numbers after sorting, and perform real-time visual monitoring.

[0137] See also Figure 3 , Figure 3 3 is a schematic diagram of the structure of the entity capture module of the intelligent machine provided by an embodiment of the present invention. The specific functions of each unit in the entity capture module 300 are as follows:

[0138] The entity collection unit 301 is used to capture and record the entity in front of the intelligent machine during the movement along the predetermined route through a camera to obtain visual information;

[0139] An entity sorting unit 302, used to define the sorting of entities recorded in the shooting;

[0140] The entity judgment unit 303 is used to determine the approximate outline of the entity at the current moment; the specific determination steps are as described above and will not be repeated here.

[0141] The warning unit 304 is used to send a voice notification to warn when the intelligent machine determines that an entity in front of it blocks its movement path.

[0142] Step S203, enter the human-computer interaction module, and use the collected image information to display the interactive actions in real time using the virtual AI.

[0143] See also Figure 4 , Figure 4 400 is a schematic diagram of the structure of the human-computer interaction module of the intelligent machine provided by the embodiment of the present invention. The specific functions of each unit in the human-computer interaction module 400 are as follows:

[0144] The three-dimensional measurement unit 401 is used to determine that the entity is a real human body when it is determined that the approximate outline of the entity existing at the current moment is a human body outline, and scan the three-dimensional data of the real human body through a three-dimensional scanner;

[0145] The virtual AI guidance unit 402 is used to generate a virtual AI character on the display screen of the intelligent machine to interactively guide the real human body by combining actions and voice according to the text recognized by the human-machine communication unit 403;

[0146] The human-computer communication unit 403 is used to obtain the voice information of the real human body by using the voice recognition module, and recognize the voice information as text for understanding;

[0147] The area detection unit 404 is used to determine whether the real human body exceeds the preset field of view, and if so, stop the voice recognition.

[0148] Step S204, determining whether the path is deviated.

[0149] See also Figure 5 , Figure 5 5 is a schematic diagram of the structure of the path determination module of the intelligent machine provided by an embodiment of the present invention. The specific functions of each unit in the path determination module 500 are as follows:

[0150] A path setting unit 501 is used to pre-set a predetermined route for the intelligent machine;

[0151] A path detection unit 502, used to detect the movement path of the intelligent machine;

[0152] The path determination unit 503 is used to determine whether the movement path of the intelligent machine deviates from the predetermined path according to the result of real-time tracking. If the determination result is yes, step S205 is executed; if the determination result is no, step S206 is executed.

[0153] The specific contents of the steps executed by each unit in the path judgment module are as described above and will not be repeated here.

[0154] Step S205, calculating the path deviation difference to achieve automatic correction of the intelligent machine path.

[0155] The path correction unit 504 in the path judgment module 500 is used to correct the path when the movement route deviates from the predetermined route. The specific path correction steps are as described above and will not be repeated here.

[0156] Step S106: perform path positioning in real time.

[0157] The path positioning unit 505 in the path judgment module 500 is used to locate the movement route of the intelligent machine in real time and to visually monitor the movement route in real time.

[0158] In this embodiment, by acquiring the visual information of the intelligent machine during movement in real time and tracking each entity in the visual information of the intelligent machine in real time, the intelligent machine can accurately identify the entities encountered during the movement, thereby facilitating the operation and positioning of the intelligent machine.

[0159] In addition, the intelligent machine can also judge the movement route of the intelligent machine based on the results of real-time tracking. When the movement route deviates from the predetermined route, the path correction can be performed so that the intelligent machine can better move according to the predetermined route, thereby improving the stability and accuracy of the intelligent machine's operation, reducing errors and risks, and improving the work efficiency and safety of the intelligent machine.

[0160] Intelligent machines can generate virtual AI characters on the display screen to interact with real humans by combining actions and voice based on text recognized by the human-computer communication unit, greatly improving the efficiency and convenience of intelligent machines in the process of interacting with real humans.

[0161] Based on the same inventive concept, the embodiment of the present invention also provides an intelligent machine vision information processing device, see Figure 6 , Figure 6 1 is a schematic diagram of the structure of an intelligent machine vision information processing device provided by an embodiment of the present invention, comprising:

[0162] The visual information acquisition module 601 is used to acquire the visual information of the intelligent machine in real time during the movement along the predetermined route;

[0163] A real-time tracking module 602 is used to track each entity appearing in the visual information in real time;

[0164] A route deviation judgment module 603 is used to judge whether the movement route of the intelligent machine deviates from the predetermined route according to the result of real-time tracking;

[0165] The path correction module 604 is used to correct the path when the movement route deviates from the predetermined route.

[0166] In this embodiment, the visual information of the intelligent machine during movement is acquired in real time through the visual information acquisition module 601, and each entity in the visual information of the intelligent machine is tracked in real time through the real-time tracking module 602, so that the intelligent machine can accurately identify the entities encountered during the movement, which facilitates the operation and positioning of the intelligent machine.

[0167] In addition, the route deviation judgment module 603 can also judge the movement route of the intelligent machine based on the results of real-time tracking. When the movement route deviates from the predetermined route, the path correction module 604 can perform path correction, so that the intelligent machine can better move according to the predetermined route, thereby improving the stability and accuracy of the operation of the intelligent machine, reducing errors and risks, and improving the work efficiency and safety of the intelligent machine.

[0168] Optionally, a real-time tracking module is specifically used to obtain, for each entity, an approximate outline of the entity at the previous moment based on visual information at the previous moment; determine the straight-line distance between the intelligent machine and the entity at the previous m moments based on visual information at the previous m moments; determine the approximate outline of the entity at the current moment based on the approximate outline of the entity at the previous moment and the straight-line distance at the previous m moments, so as to track the entity in real time.

[0169] Optionally, the intelligent visual machine is equipped with a three-dimensional scanner, and the intelligent machine visual information processing device further includes:

[0170] A virtual AI character generation module, for determining that the entity is a real human body when it is determined that the approximate outline of the entity existing at the current moment is a human body outline, and scanning the three-dimensional data of the real human body through the three-dimensional scanner;

[0171] Based on the three-dimensional data, a virtual AI character is generated on the display screen of the intelligent machine, and the virtual AI character is used to interact with the real human body.

[0172] Optionally, the intelligent machine is equipped with a speech recognition module, and the intelligent machine visual information processing device further includes:

[0173] An interaction module, used to obtain the voice information of the real human body by using the voice recognition module, and recognize the voice information as text;

[0174] According to the text, the virtual AI character is used to interact with the real human body.

[0175] Optionally, the intelligent machine vision information processing device further includes:

[0176] A preset visual range judgment module, used to judge whether the real human body is beyond the preset visual range before recognizing the voice information as text;

[0177] When the real human body is located in the preset visual field, the step of recognizing the voice information as text is continued.

[0178] Optionally, the real-time tracking module determines the straight-line distance between the intelligent machine and the entity at the first m moments according to the visual information at the first m moments, including:

[0179] For each entity, the straight-line distance between the intelligent machine and the entity at the first m moments is determined based on the initial distance and the position of the intelligent machine at the first m moments; the initial distance is the straight-line distance between the initial position of the entity entering the capture area of ​​the intelligent machine and the intelligent machine.

[0180] Optionally, the real-time tracking module determines the current approximate contour of the entity according to the approximate contour of the entity at the previous moment and the straight-line distances at the previous m moments, so as to track the entity in real time, including:

[0181] For each entity, the average displacement of the entity is calculated based on the straight-line distance between the intelligent machine and the entity at the first m moments; at each moment, the approximate outline of the entity at the previous moment is moved according to the average displacement of the entity to obtain the approximate outline of the entity at this moment, so as to track the entity in real time.

[0182] Optionally, a path correction module is specifically used to calculate a first offset in the horizontal direction and a second offset in the vertical direction between the current position of the intelligent machine on the movement route and the predetermined route when the movement route deviates from the predetermined route;

[0183] Path correction is performed according to the first offset and the second offset.

[0184] The embodiment of the present invention further provides an electronic device, such as Figure 7 As shown, it includes a processor 701, a communication interface 702, a memory 703 and a communication bus 704, wherein the processor 701, the communication interface 702, and the memory 703 communicate with each other through the communication bus 704.

[0185] Memory 703, used for storing computer programs;

[0186] The processor 701 is used to implement the method steps described in any of the above-mentioned intelligent machine vision information processing methods when executing the program stored in the memory 703.

[0187] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not represent that there is only one bus or one type of bus.

[0188] The communication interface is used for communication between the above electronic device and other devices.

[0189] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0190] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0191] The present invention also provides a computer-readable storage medium in which a computer program is stored, and when the computer program is executed by a processor, the method steps described in any of the above-mentioned intelligent machine vision information processing methods are implemented.

[0192] Optionally, the computer-readable storage medium may be a non-volatile memory (NVM), such as at least one disk memory.

[0193] Optionally, the computer-readable memory may also be at least one storage device located away from the aforementioned processor.

[0194] In another embodiment of the present invention, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute the method steps described in any of the above-mentioned intelligent machine vision information processing methods.

[0195] It should be noted that, for the device / electronic device / storage medium / computer program product embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0196] It should be noted that the terms "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention.

[0197] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification.

[0198] Although the present invention is described herein in conjunction with various embodiments, in the process of implementing the claimed invention, those skilled in the art can understand and implement other changes to the disclosed embodiments by viewing the drawings and the disclosed content. In the description of the present invention, the term "comprising" does not exclude other components or steps, "one" or "an" does not exclude multiple situations, and "multiple" means two or more, unless otherwise clearly and specifically limited. In addition, certain measures are recorded in different embodiments, but this does not mean that these measures cannot be combined to produce good results.

[0199] The method provided in the embodiment of the present invention can be applied to electronic devices. Specifically, the electronic device can be: a desktop computer, a portable computer, an intelligent mobile terminal, a server, etc. This is not limited here, and any electronic device that can implement the present invention belongs to the protection scope of the present invention.

[0200] As for the device / electronic device / storage medium embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0201] It should be noted that the device, electronic device and storage medium of the embodiments of the present invention are respectively a device, electronic device and storage medium that apply the above-mentioned intelligent machine vision information processing method. All embodiments of the above-mentioned intelligent machine vision information processing method are applicable to the device, electronic device and storage medium, and can achieve the same or similar beneficial effects.

[0202] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.

Claims

1. An intelligent machine vision information processing method, characterized in that: The intelligent machine vision information processing method comprises: Obtain visual information in real time as the intelligent machine moves along a predetermined route; Tracking each entity appearing in the visual information in real time; Determining whether the movement route of the intelligent machine deviates from the predetermined route according to the result of real-time tracking; When the movement route deviates from the predetermined route, path correction is performed.

2. The intelligent machine vision information processing method according to claim 1, characterized in that: Each entity appearing in the visual information is tracked in real time, including: For each entity, the approximate outline of the entity at the previous moment is obtained based on the visual information at the previous moment; the straight-line distance between the intelligent machine and the entity at the previous m moments is determined based on the visual information at the previous m moments; the approximate outline of the entity at the current moment is determined based on the approximate outline of the entity at the previous moment and the straight-line distance at the previous m moments, so as to track the entity in real time.

3. The intelligent machine vision information processing method according to claim 2, characterized in that: The intelligent visual machine is equipped with a three-dimensional scanner, and the intelligent machine visual information processing method further includes: When it is determined that the approximate outline of the entity existing at the current moment is a human body outline, the entity is determined to be a real human body, and three-dimensional data of the real human body is scanned by the three-dimensional scanner; Based on the three-dimensional data, a virtual AI character is generated on the display screen of the intelligent machine, and the virtual AI character is used to interact with the real human body.

4. The intelligent machine vision information processing method according to claim 3, characterized in that: The intelligent machine is equipped with a speech recognition module, and the intelligent machine visual information processing method further includes: Using the voice recognition module to obtain voice information of the real human body, and recognizing the voice information as text; According to the text, the virtual AI character is used to interact with the real human body.

5. The intelligent machine vision information processing method according to claim 4, characterized in that: Before recognizing the voice information as text, the intelligent machine vision information processing method further includes: Determining whether the real human body is beyond a preset field of view; When the real human body is located in the preset visual field, the step of recognizing the voice information as text is continued.

6. The intelligent machine vision information processing method according to claim 2, characterized in that: Determining the straight-line distance between the intelligent machine and the entity at the first m moments according to the visual information at the first m moments includes: For each entity, the straight-line distance between the intelligent machine and the entity at the first m moments is determined based on the initial distance and the position of the intelligent machine at the first m moments; the initial distance is the straight-line distance between the initial position of the entity entering the capture area of ​​the intelligent machine and the intelligent machine.

7. The intelligent machine vision information processing method according to claim 2, characterized in that: Determining the current approximate contour of the entity according to the approximate contour of the entity at the previous moment and the straight-line distances at the previous m moments, so as to track the entity in real time, includes: For each entity, the average displacement of the entity is calculated based on the straight-line distance between the intelligent machine and the entity at the first m moments; at each moment, the approximate outline of the entity at the previous moment is moved according to the average displacement of the entity to obtain the approximate outline of the entity at this moment, so as to track the entity in real time.

8. The intelligent machine vision information processing method according to claim 1, characterized in that: When the movement route deviates from the predetermined route, path correction is performed, including: When the movement route deviates from the predetermined route, calculating a first offset in the horizontal direction and a second offset in the vertical direction between the current position of the intelligent machine on the movement route and the predetermined route; Path correction is performed according to the first offset and the second offset.

9. An intelligent machine vision information processing device, characterized in that: The intelligent machine vision information processing device comprises A visual information acquisition module is used to acquire visual information of the intelligent machine in real time while it is moving along a predetermined route; A real-time tracking module, used for tracking each entity appearing in the visual information in real time; A route deviation judgment module, used to judge whether the movement route of the intelligent machine deviates from the predetermined route according to the result of real-time tracking; The path correction module is used to perform path correction when the movement route deviates from the predetermined route.

10. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; The processor is used to implement the intelligent machine vision information processing method described in any one of claims 1-8 when executing the program stored in the memory.