YOLO object detection in ROS

Hi, I am a mechatronics engineer, I am currently doing my project. The idea is that I have a manipulator and a webcam. With the help of a webcam, I can detect a flat object on the table and move it to the right place.

I use YOLOv8 as my computer vision model. I can get the coordinates of the object on the table, but I need the manipulator can calculate the trajectory of movement and be able to take the object on its own. For this I plan to use ROS.

Can you help me with this? Maybe you can advise me sources where I can find information on how to do this? Is ROS the best choice here? I will be very grateful if you help. Thank you!