Render normal map from camera?

I know normal maps are baked from high to low models.
Is it possible to render the normal map based on object in front of the camera?

I guess you can do that with renderlayers channel.

Renderlayers did the job. thanks.