The invention relates to a
projector automatic
obstacle avoidance method and device combining adaptive picture
cutting and
deep learning, and the method comprises the steps: enabling a
projector to project a white background picture, capturing a projection picture through a camera, calculating a difference
image based on a projection region
background image and a projection picture image, carrying out the adaptive
cutting of the difference image, and obtaining a projection region image, the difference image can highlight the difference between the projection area and the background area, the projection area image can be found out more conveniently, then a
deep learning model is used for detecting an obstacle in the
cut image and recording position information, the maximum projection area is calculated, the position information of an obstacle-free area is obtained and then converted to a
projector coordinate
system, and the position information of the obstacle-free area is obtained. And finally projecting a final picture. Therefore, the automatic
obstacle avoidance of the projector is realized, the clear and complete projection picture is ensured, the problem of poor projection effect in a complex environment due to traditional manual
processing and the prior art can be effectively solved, and the projection quality of the projector in a complex scene is improved.