Need the 2D coordinates from the camera

I need to get the 3D vertices for each object transformed into 2D coordinates based on the selected camera, basically I need nothing more than a vector multiplied by the camera matrix.

Now I can’t find the way to do this in blender and I can’t find the right camera matrix, can somebody help me with this ?

you can’t find the right? what did you try so far?