Text this: Design of industrial control safety protection system based on adaptive depth detection