Detection of a point or object with wrist camera from universal robot UR3

I am Navarro and I study computer science at Hawk. I am working in a relaxed project with the universal robot UR3 for my master thesis . I should program a UR3 . the robot should sort the slides in the shelf . I have programmed last year the robot without Wrist camera . the program does not work dynamically . Now I have built the Wrist camera .
Task of the robot with Wrist camera:
The robot should first recognize a point or the shelf with Wrist camera when sorting the slides and then store the slides in the shelf.
How can I detect a point or a part of the shelf with Wrist camera?
can someone please help me?
Maybe someone has already written a program?
I need the program to detect a point or a certain place or part of the shelf.
The robot must first recognize a point or a part of the shelf and then place the slides on the shelf.

I have uploaded a picture. You can see the slide and the distance between the robot and the wrist camera.
I need help in recognizing the shelf with Wrist camera
thank you very much

Translated with DeepL Translate: The world's most accurate translator (free version)