Place an object before the camera.

Hello,

I want to place an object, in my case a text right before the cam. So that is can be seen from the user, but nothing can appear between the text and the camera.

So far, I got:
bpy.data.objects[‘Camera’].location
bpy.data.objects[‘Camera’].rotation_euler
bpy.data.cameras[‘Camera’].lens

And I probably need to consider the zoom level.

My intension is to build a menu for a game. The placement is done at development but I want to calculate it automatic, so that I can use the script later on…

Is there a nicer way to plug something on the viewport?

Takk pår hjelpen!