Returning Object Location in Pixels (Within FoV of a Camera)

Hi there, first timer here so apologies if this has been asked before. I tried searching the forums for answers prior to posting but unfortunately nothing came through.

The task I am trying to achieve is to be able to return a “bounding box” for where an object sits within a camera’s view. Say there is a player that is currently within the frame of a camera, I would like to return a “pixel” referenced bounding box type coordinate system for that object within the view.

Basically, something along the lines of box starts at pixel 315, is 500 pixels wide and 300 pixels long.

Has anyone done anything similar? Would highly appreciate the help in setting me on the right direction.