Tutorial of robot vision using a regular camera

Hi, we want to let our ur5e robot pick and place based on machine vision. However, a camera already intergreted machine vision function is over our budget. It would be appreciate if you could recommend a tutorial/code repository to achieve machine vision-based pick and place using a regular comera.