Visual guidance method and device for guided transport vehicle, electronic equipment and storage medium

The artificial neural network model is used to differentially process the target image of the AGV, identify and adjust the position of the guide line, which solves the efficiency problem of AGV in multi-vehicle operation and obstacle avoidance, and achieves more efficient transportation.

CN118746302AActive Publication Date: 2024-10-08XIONGAN BAIXIN INFORMATION TECHNOLOGY CO LTD

Patent Information

Application Number
CN202410915806.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-10-08
Estimated Expiration
2044-07-09

AI Technical Summary

Technical Problem

In the existing technology, AGVs guided by guide lines need to consider route planning and vehicle scheduling when multiple transport vehicles are running, which limits the transport capacity and requires more energy on the image recognition algorithm to avoid obstacles.

Method used

An artificial neural network model is used to perform differential processing on the target image, identify the locations of passing points, target points and guide lines, adjust the direction of travel to avoid obstacles, reduce the number of guide lines, and improve transportation efficiency.

Benefits of technology

Image recognition technology is used to adjust the AGV's traveling direction and avoid obstacles, which improves the overall transportation efficiency, reduces the number of guide lines, and solves the problems of transportation capacity and obstacle avoidance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118746302A_ABST
    Figure CN118746302A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of visual guidance of a transport vehicle route, in particular to a visual guidance method and device for a guided transport vehicle, electronic equipment and a storage medium, and the method comprises the steps: firstly obtaining a target image, a first passing point and an advancing target point; then carrying out differential processing on the target image, sending data obtained after processing into an artificial neural network model for identification, and determining the positions of the first passing point, the advancing target point and the guide line in the target image; determining a current position according to the positions of the first passing point, the advancing target point and the guide line in the target image; and finally, adjusting the advancing direction according to the current position. According to the embodiment of the invention, the transport vehicle can deviate from the guide line to advance to a certain extent so as to avoid the incoming transport vehicle, part of the transport vehicle does not need to be in a waiting state to avoid, the overall transport efficiency is improved, and the number of the guide lines is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of visual guidance of transport vehicle routes, and in particular to a visual guidance method, device, electronic equipment and storage medium for guiding transport vehicles. Background Art

[0002] AGV is the abbreviation of Automated Guided Vehicle. It refers to a transport vehicle equipped with electromagnetic or optical automatic guidance devices, which can move along a specified guide path and has safety protection and various transfer functions. AGV is a special application of wheeled mobile robots.

[0003] The AGV driving path guidance methods mainly include electromagnetic guidance, inertial guidance, laser guidance and visual guidance. Among them, visual guidance is favored because of its low hardware investment, wide adaptability and less modification of application scenarios compared with other guidance methods. A commonly used visual guidance method is to set a guide line on the driving path and set multiple QR codes on the guide line.

[0004] This method has low requirements for visual algorithms, but when multiple AGVs run on a fixed route, route planning and vehicle scheduling issues need to be considered, which limits the transportation capacity of multiple AGVs. AGVs that use image recognition algorithms to identify the surrounding environment and automatically avoid obstacles require more effort in computing power and building recognition models.

[0005] Based on this, it is necessary to develop and design a visual guidance method for guiding the transport vehicle. Summary of the invention

[0006] The embodiments of the present invention provide a visual guidance method, device, electronic device and storage medium for guiding a transport vehicle, which are used to solve the problem in the prior art that a transport vehicle traveling along a guide line affects the transport capacity.

[0007] In a first aspect, an embodiment of the present invention provides a visual guidance method for guiding a transport vehicle, comprising:

[0008] Acquire a target image, a first waypoint, and a travel target point;

[0009] Performing a differential processing on the target image, and sending the data obtained after the processing into an artificial neural network model for recognition, and determining the positions of the first waypoint, the travel target point, and the guide line in the target image;

[0010] Determine a current position according to the first waypoint, the travel target point, and the position of the guide line in the target image;

[0011] The direction of travel is adjusted according to the current position.

[0012] In a possible implementation, performing a differential process on the target image and sending the processed data to an artificial neural network model for recognition to determine the positions of the first waypoint, the travel target point, and the guide line in the target image include:

[0013] Decolorizing the target image to obtain a first grayscale image;

[0014] Adjust the distribution intervals of multiple pixel values ​​in the first grayscale image to obtain a second grayscale image;

[0015] Performing difference and pooling operations on the second grayscale image to obtain a first data matrix;

[0016] Sending the first data matrix to the artificial neural network in different regions to identify the first waypoint, the travel target point and the guide line;

[0017] The positions of the first waypoint, the travel target point and the guide line in the target image are extracted according to the recognition result.

[0018] In a possible implementation, adjusting the distribution intervals of multiple pixel values ​​in the first grayscale image to obtain the second grayscale image includes:

[0019] Obtaining a plurality of standard pixel value intervals, wherein each standard pixel value interval has a predetermined number of continuously distributed pixels;

[0020] Arrange the plurality of pixel values ​​in the first grayscale image in an ascending order or a descending order to obtain a pixel value queue;

[0021] Dividing the pixel value queue according to a predetermined number to obtain a plurality of first pixel value intervals;

[0022] According to the multiple standard pixel value intervals, the multiple first pixel value intervals and the first formula, the first grayscale image is adjusted to obtain a second grayscale image, wherein the first formula is:

[0023]

[0024] In the formula, is the pixel in the nth first pixel value interval, is the smallest pixel value in the nth first pixel value interval, is the maximum pixel value in the nth first pixel value interval, SP nMax is the maximum pixel value in the nth standard pixel value interval, SP nMinis the smallest pixel value in the nth standard pixel value interval, is the pixel in the adjusted nth first pixel value interval.

[0025] In a possible implementation, performing a difference and a pooling operation on the second grayscale image to obtain a first data matrix includes:

[0026] Get the difference operator data block;

[0027] Extracting data blocks of the same type as the differential operator data block from the second grayscale image multiple times according to a predetermined position sequence as a plurality of intermediate data blocks;

[0028] respectively calculating dot products of the differential operator data block and the plurality of intermediate data blocks, thereby obtaining a plurality of differential results;

[0029] constructing the plurality of differential results into an intermediate data matrix according to positions of intermediate data blocks corresponding to the differential results in the second grayscale image;

[0030] Perform maximum pooling on the intermediate data matrix to obtain a first data matrix.

[0031] In one possible implementation, the training process of the artificial neural network includes:

[0032] Acquire multiple data blocks, wherein the data blocks are obtained by performing difference and pooling operations on the grayscale image, and each data block corresponds to a waypoint label or a guide line label;

[0033] Inputting the plurality of data blocks into an artificial neural network basic model respectively to obtain a plurality of recognition outputs;

[0034] analyzing deviations between the plurality of recognition outputs and labels of the plurality of data blocks;

[0035] If the deviation is greater than the recognition error threshold, a back propagation algorithm is used to adjust multiple parameters of the artificial neural network basic model according to the deviation;

[0036] Otherwise, multiple parameters of the artificial neural network basic model are fixed, and the artificial neural network basic model is used as the artificial neural network.

[0037] In a possible implementation, determining the current position according to the first waypoint, the travel target point, and the position of the guide line in the target image includes:

[0038] Acquire a positioning model, wherein the positioning model outputs an indication of a current position according to the first waypoint, the travel target point, and the position of the guide line in the target image;

[0039] Inputting the first waypoint, the travel target point, and the position of the guide line in the target image into the positioning model to obtain a current position;

[0040] The positioning model is determined according to a plurality of positioning data sets, each positioning data set including current position sample data, first waypoint sample, travel target point sample and position data of guide line sample in a sample image;

[0041] Inputting the multiple positioning data sets into the positioning model respectively to obtain multiple positioning outputs;

[0042] Determining a positioning deviation of the positioning model according to the multiple positioning outputs and current position sample data of the multiple positioning data sets;

[0043] If the positioning deviation is greater than a positioning deviation threshold, multiple parameters of the positioning model are adjusted according to the positioning deviation.

[0044] In a possible implementation, the positioning model is:

[0045]

[0046] Where P(x) is the x-axis coordinate of the current position, mmax is the total index number, and w xm is the mth x-axis weight, c x is the x-axis bias constant, P(y) is the y-axis coordinate indicated by the current position, and w ym is the mth y-axis weight, c y is the y-axis bias constant, X is the joint variable, w b is the weight of the b-th sample data, x b is the bth sample image position.

[0047] In a second aspect, an embodiment of the present invention provides a visual guidance device for a guided transport vehicle, which is used to implement the visual guidance method for a guided transport vehicle as described in the first aspect or any possible implementation of the first aspect, wherein the visual guidance device for a guided transport vehicle comprises:

[0048] A data acquisition module, used to acquire a target image, a first waypoint, and a travel target point;

[0049] An image recognition module, used for performing differential processing on the target image, and sending the data obtained after the processing into an artificial neural network model for recognition, so as to determine the positions of the first waypoint, the travel target point and the guide line in the target image;

[0050] A positioning module, used for determining a current position according to the first waypoint, the travel target point and the position of the guide line in the target image;

[0051] as well as,

[0052] The navigation module is used to adjust the travel direction according to the current position.

[0053] In a third aspect, an embodiment of the present invention provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, it implements the steps of the method described in the first aspect or any possible implementation method of the first aspect.

[0054] In a fourth aspect, an embodiment of 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 steps of the method described in the first aspect or any possible implementation of the first aspect are implemented.

[0055] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0056] The embodiment of the present invention discloses a visual guidance method for guiding a transport vehicle, which first acquires a target image, a first waypoint, and a travel target point; then performs a differential process on the target image, and sends the processed data to an artificial neural network model for identification, and determines the positions of the first waypoint, the travel target point, and the guide line in the target image; then determines the current position according to the positions of the first waypoint, the travel target point, and the guide line in the target image; and finally adjusts the travel direction according to the current position. The embodiment of the present invention determines the current position by identifying the image on the basis of mainly guiding the movement based on the guide line. Therefore, the transport vehicle can deviate from the guide line to a certain extent to avoid the oncoming transport vehicle, without putting some transport vehicles in a waiting state to avoid, thereby improving the overall transportation efficiency and reducing the number of guide lines. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0058] Figure 1 is a flow chart of a visual guidance method for guiding a transport vehicle provided by an embodiment of the present invention;

[0059] Figure 2 It is a grayscale image pixel value adjustment principle diagram provided by an embodiment of the present invention;

[0060] Figure 3 is a schematic diagram of a second grayscale image difference processing process provided by an embodiment of the present invention;

[0061] Figure 4 It is a functional block diagram of a visual guidance device for a guided transport vehicle provided in an embodiment of the present invention;

[0062] Figure 5 It is a functional block diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0063] In the following description, specific details such as specific system structures and technologies are provided for the purpose of illustration rather than limitation so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, and methods are omitted so as not to obscure the description of the present invention with unnecessary details.

[0064] In order to make the purpose, technical solutions and advantages of the present invention more clear, a specific implementation method will be described below in conjunction with the accompanying drawings.

[0065] The following is a detailed description of an embodiment of the present invention. This example is implemented based on the technical solution of the present invention, and provides a detailed implementation method and a specific operation process, but the protection scope of the present invention is not limited to the following embodiments.

[0066] Figure 1 A flow chart of a visual guidance method for guiding a transport vehicle provided in an embodiment of the present invention.

[0067] like Figure 1 As shown, it shows a flowchart of the implementation of the visual guidance method for guiding a transport vehicle provided by an embodiment of the present invention, which is described in detail as follows:

[0068] In step 101, a target image, a first waypoint, and a travel target point are acquired.

[0069] In step 102, the target image is subjected to a differential processing, and the data obtained after the processing is sent to an artificial neural network model for recognition to determine the positions of the first waypoint, the travel target point and the guide line in the target image.

[0070] In some implementations, step 102 includes:

[0071] Decolorizing the target image to obtain a first grayscale image;

[0072] Adjust the distribution intervals of multiple pixel values ​​in the first grayscale image to obtain a second grayscale image;

[0073] Performing difference and pooling operations on the second grayscale image to obtain a first data matrix;

[0074] Sending the first data matrix to the artificial neural network in different regions to identify the first waypoint, the travel target point and the guide line;

[0075] The positions of the first waypoint, the travel target point and the guide line in the target image are extracted according to the recognition result.

[0076] In some implementations, adjusting the distribution intervals of a plurality of pixel values ​​in the first grayscale image to obtain the second grayscale image includes:

[0077] Obtaining a plurality of standard pixel value intervals, wherein each standard pixel value interval has a predetermined number of continuously distributed pixels;

[0078] Arrange the plurality of pixel values ​​in the first grayscale image in an ascending order or a descending order to obtain a pixel value queue;

[0079] Dividing the pixel value queue according to a predetermined number to obtain a plurality of first pixel value intervals;

[0080] According to the multiple standard pixel value intervals, the multiple first pixel value intervals and the first formula, the first grayscale image is adjusted to obtain a second grayscale image, wherein the first formula is:

[0081]

[0082] In the formula, is the pixel in the nth first pixel value interval, is the smallest pixel value in the nth first pixel value interval, is the maximum pixel value in the nth first pixel value interval, SP nMax is the maximum pixel value in the nth standard pixel value interval, SP nMin is the smallest pixel value in the nth standard pixel value interval, is the pixel in the adjusted nth first pixel value interval.

[0083] In some implementations, performing a difference and pooling operation on the second grayscale image to obtain a first data matrix includes:

[0084] Get the difference operator data block;

[0085] Extracting data blocks of the same type as the differential operator data block from the second grayscale image multiple times according to a predetermined position sequence as a plurality of intermediate data blocks;

[0086] respectively calculating dot products of the differential operator data block and the plurality of intermediate data blocks, thereby obtaining a plurality of differential results;

[0087] constructing the plurality of differential results into an intermediate data matrix according to positions of intermediate data blocks corresponding to the differential results in the second grayscale image;

[0088] Perform maximum pooling on the intermediate data matrix to obtain a first data matrix.

[0089] In some embodiments, the training process of the artificial neural network includes:

[0090] Acquire multiple data blocks, wherein the data blocks are obtained by performing difference and pooling operations on the grayscale image, and each data block corresponds to a waypoint label or a guide line label;

[0091] Inputting the plurality of data blocks into an artificial neural network basic model respectively to obtain a plurality of recognition outputs;

[0092] analyzing deviations between the plurality of recognition outputs and labels of the plurality of data blocks;

[0093] If the deviation is greater than the recognition error threshold, a back propagation algorithm is used to adjust multiple parameters of the artificial neural network basic model according to the deviation;

[0094] Otherwise, multiple parameters of the artificial neural network basic model are fixed, and the artificial neural network basic model is used as the artificial neural network.

[0095] Exemplarily, in order to overcome the impact of the aforementioned reliance on guide lines and QR codes to guide the transport vehicle forward, which affects the overall transport capacity, the implementation method of the present invention uses guide lines and QR codes as the main guidance method. When an obstacle that blocks the passage appears, a temporary route will be planned between the waypoint and the target point for avoidance. To achieve the above purpose, the implementation method of the present invention obtains an image containing waypoints (position points that have been passed), target points (the next position point to be reached) and guide lines, pre-processes and identifies the image, determines the positions of the waypoints, target points and guide lines in the image, determines the current position relative to the first waypoint and the target point according to the position in the image, and finally guides the guided transport vehicle according to the current position.

[0096] In terms of image preprocessing, the embodiment of the present invention first decolorizes the image and then adjusts the pixel value interval of the image. Figure 2As shown, the figure shows a schematic diagram of the grayscale image pixel value adjustment principle provided by an embodiment of the present invention. Before making adjustments, a plurality of standard pixel value intervals 201 are first obtained. In the figure, the Y coordinate axis is the number of pixels, and the X coordinate axis is the pixel value. It can be seen that the standard pixel value interval 201 is a collection of pixels distributed in a predetermined pixel value interval. Then the grayscale image pixel values ​​are arranged, and according to the number of the plurality of standard pixel value intervals 201, the arrangement is transformed into a plurality of first pixel value intervals 202. We can find that each first pixel value interval 202 has a corresponding standard pixel value interval 201. The embodiment of the present invention adjusts the grayscale image through a first formula, and the first formula is:

[0097]

[0098] In the formula, is the pixel in the nth first pixel value interval, is the smallest pixel value in the nth first pixel value interval, is the maximum pixel value in the nth first pixel value interval, SP nMax is the maximum pixel value in the nth standard pixel value interval, SP nMin is the smallest pixel value in the nth standard pixel value interval, is the pixel in the adjusted nth first pixel value interval.

[0099] It can be seen that the pixel value distribution interval of the grayscale image (the second grayscale image) after grayscale adjustment is basically the same as the standard pixel value interval, and the effect brought is that the brightness and darkness are basically consistent with the brightness and darkness of the image in the standard pixel value interval. Better image preprocessing will help image recognition.

[0100] Since the processed image is relatively large and has a large amount of data and features, the embodiment of the present invention performs a difference processing on the image. Figure 3 This is a schematic diagram of the second grayscale image difference processing process provided by the embodiment of the present invention. First, the present invention obtains a difference operator data block, and a difference operator data block is:

[0101]

[0102] Then, the intermediate data blocks 302 of the same type as the differential operator data block are taken out from the second grayscale image 301 multiple times in a sliding manner, and the point multiplication operation (bitwise multiplication and summation) is performed with the differential operator 303. The result obtained is used as the differential result 304. It can be seen that each differential result 304 corresponds to an intermediate data block 302. According to the relative position of the intermediate data block 302 in the second grayscale image 301, multiple differential results 304 are arranged to obtain an intermediate data matrix. The intermediate data matrix is ​​then subjected to maximum pooling to obtain the first data matrix. In some application scenarios, the maximum pooling method is to obtain a pooled data matrix by sliding out data blocks from the intermediate data matrix multiple times, selecting the data with the largest value to replace the position of the taken out data block.

[0103] The first data matrix is ​​divided into blocks and sent to the artificial neural network for recognition. The data blocks are identified according to whether the block data contains the first waypoint, the travel target point and the guide line. Finally, the position of the data block in the first data matrix is ​​extracted as the position of the identified target in the target image.

[0104] The artificial neural network is constructed by training multiple data blocks. The acquisition process of these data blocks is the same as the process and principle of the above-mentioned image graying, grayscale adjustment, differentiation and pooling. Each of these data blocks includes a target to be identified, which may be a waypoint, a travel target point or a guide line, and the included identification target is used as a label. These data blocks are sent to the artificial neural network, and the artificial neural network will give the identification result. Before sufficient training, this identification result has a large deviation. According to the identification deviation, the parameters of the artificial neural network are adjusted to gradually approach the correct identification result. Then, the parameters of the artificial neural network can be fixed as a recognition model.

[0105] In step 103, the current position is determined according to the positions of the first waypoint, the travel target point and the guide line in the target image.

[0106] In some implementations, step 103 includes:

[0107] Acquire a positioning model, wherein the positioning model outputs an indication of a current position according to the first waypoint, the travel target point, and the position of the guide line in the target image;

[0108] Inputting the first waypoint, the travel target point, and the position of the guide line in the target image into the positioning model to obtain a current position;

[0109] The positioning model is determined according to a plurality of positioning data sets, each positioning data set including current position sample data, first waypoint sample, travel target point sample and position data of guide line sample in a sample image;

[0110] Inputting the multiple positioning data sets into the positioning model respectively to obtain multiple positioning outputs;

[0111] Determining a positioning deviation of the positioning model according to the multiple positioning outputs and current position sample data of the multiple positioning data sets;

[0112] If the positioning deviation is greater than a positioning deviation threshold, multiple parameters of the positioning model are adjusted according to the positioning deviation.

[0113] In some embodiments, the positioning model is:

[0114]

[0115] Where P(x) is the x-axis coordinate of the current position, mmax is the total index number, and w xm is the mth x-axis weight, c x is the x-axis bias constant, P(y) is the y-axis coordinate indicated by the current position, and w ym is the mth y-axis weight, c y is the y-axis bias constant, X is the joint variable, w b is the weight of the b-th sample data, x b is the bth sample image position.

[0116] Exemplarily, after obtaining the positions of the first waypoint, the travel target point, and the guide line in the target image, the present invention can input the above data into the positioning model to determine the current position.

[0117] The positioning model is:

[0118]

[0119] Where P(x) is the x-axis coordinate of the current position, mmax is the total index number, and w xm is the mth x-axis weight, c x is the x-axis bias constant, P(y) is the y-axis coordinate indicated by the current position, and w ym is the mth y-axis weight, c y is the y-axis bias constant, X is the joint variable, w b is the weight of the b-th sample data, x b is the bth sample image position.

[0120] We can see that the model has multiple parameters, such as weight parameters, bias constants, etc. These parameters are determined by the positioning data set, each of which includes the current position sample data, the first waypoint sample, the target point sample, and the position data of the guide line sample in the sample image.

[0121] When adjusting the parameters, first increase or decrease the total index times so that the total number of parameters in the positioning model is less than and closer to the number of positioning data sets. Then, the position data of the first waypoint sample, the target point sample and the guide line sample of the positioning data set in the sample image are sent to the positioning model. When the indication given by the positioning model deviates greatly from the current position sample data in the data set, the parameters of the positioning model are adjusted according to the deviation of the indication. After the adjustment is completed, the data set is input again, and this process is repeated until the deviation is less than the threshold. At this point, the parameters of the positioning model can be fixed and used as the final positioning model.

[0122] We can see that the implementation mode of the present invention does not establish a model for identifying the position and current position of the target in the image through physical relationships, but instead performs modeling through samples. The model construction is easy and the recognition effect is controllable.

[0123] In step 104, the traveling direction is adjusted according to the current position.

[0124] The implementation method of the visual guidance method for guiding a transport vehicle of the present invention first obtains a target image, a first waypoint, and a travel target point; then performs a differential processing on the target image, and sends the processed data to an artificial neural network model for identification, and determines the positions of the first waypoint, the travel target point, and the guide line in the target image; then determines the current position according to the positions of the first waypoint, the travel target point, and the guide line in the target image; and finally adjusts the travel direction according to the current position. The implementation method of the present invention mainly determines the current position by identifying the image on the basis of guiding the travel based on the guide line. Therefore, the transport vehicle can deviate from the guide line to a certain extent to avoid the oncoming transport vehicle, without putting some transport vehicles in a waiting state to avoid, thereby improving the overall transportation efficiency and reducing the number of guide lines.

[0125] It should be understood that the size of the serial numbers of the steps in the above implementation does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the implementation method of the present invention.

[0126] The following is an implementation of the device of the present invention. For details not described in detail, reference may be made to the corresponding method implementation described above.

[0127] Figure 4 is a functional block diagram of the visual guidance device for the guided transport vehicle provided by the embodiment of the present invention, referring to Figure 4 The visual guidance device for guiding the transport vehicle includes: a data acquisition module 401, an image recognition module 402, a positioning module 403 and a navigation module 404, wherein:

[0128] The data acquisition module 401 is used to acquire the target image, the first waypoint and the travel target point;

[0129] An image recognition module 402 is used to perform differential processing on the target image, and send the processed data to an artificial neural network model for recognition, so as to determine the positions of the first waypoint, the travel target point and the guide line in the target image;

[0130] A positioning module 403, configured to determine a current position according to the first waypoint, the travel target point and the position of the guide line in the target image;

[0131] The navigation module 404 is used to adjust the travel direction according to the current position.

[0132] Figure 5 is a functional block diagram of an electronic device provided by an embodiment of the present invention. Figure 5 As shown, the electronic device 5 of this embodiment includes: a processor 500 and a memory 501, wherein the memory 501 stores a computer program 502 that can be run on the processor 500. When the processor 500 executes the computer program 502, the steps in the above-mentioned visual guidance method and the embodiment of the guided transport vehicle are implemented, for example Figure 1 Steps 101 to 104 are shown.

[0133] Exemplarily, the computer program 502 may be divided into one or more modules / units, and the one or more modules / units are stored in the memory 501 and executed by the processor 500 to implement the present invention.

[0134] The electronic device 5 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The electronic device 5 may include, but is not limited to, a processor 500 and a memory 501. Those skilled in the art will appreciate that Figure 5 It is only an example of the electronic device 5 and does not constitute a limitation of the electronic device 5. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device 5 may also include input and output devices, network access devices, buses, etc.

[0135] The processor 500 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0136] The memory 501 may be an internal storage unit of the electronic device 5, such as a hard disk or memory of the electronic device 5. The memory 501 may also be an external storage device of the electronic device 5, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 5. Further, the memory 501 may also include both an internal storage unit of the electronic device 5 and an external storage device. The memory 501 is used to store the computer program 502 and other programs and data required by the electronic device 5. The memory 501 may also be used to temporarily store data that has been output or is to be output.

[0137] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the implementation method can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method implementation method, which will not be repeated here.

[0138] In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0139] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0140] In the embodiments provided by the present invention, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0141] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0142] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0143] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned implementation method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, it can implement the steps of the above-mentioned various methods and device implementation methods. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium.

[0144] The above-described embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A visual guidance method for guiding a transport vehicle, It is characterized in that include: Acquire a target image, a first waypoint, and a travel target point; Performing a differential processing on the target image, and sending the data obtained after the processing into an artificial neural network model for recognition, and determining the positions of the first waypoint, the travel target point, and the guide line in the target image; Determine a current position according to the first waypoint, the travel target point, and the position of the guide line in the target image; The direction of travel is adjusted according to the current position.

2. The visual guidance method for guiding a transport vehicle according to claim 1, It is characterized in that The step of performing a differential processing on the target image and sending the processed data to an artificial neural network model for recognition to determine the positions of the first waypoint, the travel target point and the guide line in the target image includes: Decolorizing the target image to obtain a first grayscale image; Adjust the distribution intervals of multiple pixel values ​​in the first grayscale image to obtain a second grayscale image; Performing difference and pooling operations on the second grayscale image to obtain a first data matrix; Sending the first data matrix to the artificial neural network in different regions to identify the first waypoint, the travel target point and the guide line; The positions of the first waypoint, the travel target point and the guide line in the target image are extracted according to the recognition result.

3. The visual guidance method for guiding a transport vehicle according to claim 2, It is characterized in that The step of adjusting the distribution intervals of the plurality of pixel values ​​in the first grayscale image to obtain the second grayscale image comprises: Obtaining a plurality of standard pixel value intervals, wherein each standard pixel value interval has a predetermined number of continuously distributed pixels; Arrange the plurality of pixel values ​​in the first grayscale image in an ascending order or a descending order to obtain a pixel value queue; Dividing the pixel value queue according to a predetermined number to obtain a plurality of first pixel value intervals; According to the multiple standard pixel value intervals, the multiple first pixel value intervals and the first formula, the first grayscale image is adjusted to obtain a second grayscale image, wherein the first formula is: In the formula, is the pixel in the nth first pixel value interval, is the smallest pixel value in the nth first pixel value interval, is the maximum pixel value in the nth first pixel value interval, SP nMax is the maximum pixel value in the nth standard pixel value interval, SP nMin is the smallest pixel value in the nth standard pixel value interval, is the pixel in the adjusted nth first pixel value interval.

4. The visual guidance method for guiding a transport vehicle according to claim 2, It is characterized in that The performing a difference and a pooling operation on the second grayscale image to obtain a first data matrix includes: Get the difference operator data block; Extracting data blocks of the same type as the difference operator data block from the second grayscale image multiple times according to a predetermined position sequence as a plurality of intermediate data blocks; respectively calculating dot products of the differential operator data block and the plurality of intermediate data blocks, thereby obtaining a plurality of differential results; constructing the plurality of differential results into an intermediate data matrix according to positions of intermediate data blocks corresponding to the differential results in the second grayscale image; Perform maximum pooling on the intermediate data matrix to obtain a first data matrix.

5. The visual guidance method for guiding a transport vehicle according to claim 2, It is characterized in that The training process of the artificial neural network includes: Acquire multiple data blocks, wherein the data blocks are obtained by performing difference and pooling operations on the grayscale image, and each data block corresponds to a waypoint label or a guide line label; Inputting the plurality of data blocks into an artificial neural network basic model respectively to obtain a plurality of recognition outputs; analyzing deviations between the plurality of recognition outputs and labels of the plurality of data blocks; If the deviation is greater than the recognition error threshold, a back propagation algorithm is used to adjust multiple parameters of the artificial neural network basic model according to the deviation; Otherwise, multiple parameters of the artificial neural network basic model are fixed, and the artificial neural network basic model is used as the artificial neural network.

6. The visual guidance method for guiding a transport vehicle according to any one of claims 1 to 5, It is characterized in that The determining the current position according to the first waypoint, the travel target point and the position of the guide line in the target image includes: Acquire a positioning model, wherein the positioning model outputs an indication of a current position according to the first waypoint, the travel target point, and the position of the guide line in the target image; Inputting the first waypoint, the travel target point, and the position of the guide line in the target image into the positioning model to obtain a current position; The positioning model is determined according to a plurality of positioning data sets, each positioning data set including current position sample data, first waypoint sample, travel target point sample and position data of guide line sample in a sample image; Inputting the multiple positioning data sets into the positioning model respectively to obtain multiple positioning outputs; Determining a positioning deviation of the positioning model according to the multiple positioning outputs and current position sample data of the multiple positioning data sets; If the positioning deviation is greater than a positioning deviation threshold, multiple parameters of the positioning model are adjusted according to the positioning deviation.

7. The visual guidance method for guiding a transport vehicle according to claim 6, It is characterized in that The positioning model is: Where P(x) is the x-axis coordinate of the current position, mmax is the total index number, and w xm is the mth x-axis weight, c x is the x-axis bias constant, P(y) is the y-axis coordinate indicated by the current position, and w ym is the mth y-axis weight, c y is the y-axis bias constant, X is the joint variable, w b is the weight of the b-th sample data, x b is the bth sample image position.

8. A visual guidance device for guiding a transport vehicle, It is characterized in that Used to implement the visual guidance method for a guided transport vehicle as described in any one of claims 1 to 7, the visual guidance device for the guided transport vehicle comprises: A data acquisition module, used to acquire a target image, a first waypoint, and a travel target point; An image recognition module, used for performing differential processing on the target image, and sending the data obtained after the processing into an artificial neural network model for recognition, so as to determine the positions of the first waypoint, the travel target point and the guide line in the target image; A positioning module, used for determining a current position according to the first waypoint, the travel target point and the position of the guide line in the target image; as well as, The navigation module is used to adjust the travel direction according to the current position.

9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the steps of the method as claimed in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Automatic spraying method of ship segment spraying robot based on visual guidance

    CN109513557A

  • AGV visual target recognition and tracking system and method

    CN112529937A

  • Autonomous avoidance method, device and equipment for automatic guided vehicle, and storage medium

    CN115202343A

  • Intelligent AGV trolley

    CN117707067A

  • Method for classifying and localizing images using deep neural network and apparatus using the same

    KR101953752B1

Cited By

  • Navigation method and device based on image analysis, electronic equipment and storage medium

    CN119063740A

  • Navigation method, device, electronic device and storage medium based on image analysis

    CN119063740B

  • Multi-guided vehicle scheduling method and device, electronic equipment and storage medium

    CN119536148A