Please refer the 2 images provided. In the image it can be seen that a white grease pencil layer is drawn on the default 3d cube Surface and an image of a girl (using images as planes addon) is placed is placed in front of the cube.
However once seen in Camera view the GP layer is seen over the girl's image which is not the case in reality. Note that the GP layer is placed on the surface of the 3d cube which is placed behind the girl's image. Please let me know how to get the accurate object placement be seen in the camera view.