Detect positions and rotations of simple objects with Deep Learning [on hold]

How can I detect these objects? object to detect
at
image containing objects
with deep learning

in a classical way, we have done it and it works but I want to do it with deep learning
no problem with training data