CPC G06T 7/50 (2017.01) [G06F 18/213 (2023.01); G06T 5/002 (2013.01); G06T 7/64 (2017.01); G06T 7/70 (2017.01); G06T 7/90 (2017.01); G06V 10/225 (2022.01); G06V 10/44 (2022.01); G06V 20/188 (2022.01); G06V 20/70 (2022.01); H04N 23/60 (2023.01); G06T 2207/10024 (2013.01); G06T 2207/30188 (2013.01)] | 20 Claims |
8. An electronic device comprising:
a processor; and
a storage device storing a plurality of instructions, which when executed by the processor, cause the processor to:
obtain a color image and a depth image of a plant to be detected;
obtain a target image by performing a mapping processing on the color image and the depth image;
detect the color image by using a pre-trained mobilenet-ssd network, and obtain a detection box comprising the plant to be detected;
extract a target contour of the plant to be detected from the detection box;
determine a depth value of each of pixel points in the target contour according to the target image; and
perform a denoising processing on depth values of the pixel points, obtain target depth values, and determine a height of the plant to be detected according to the target depth values.
|