The present invention relates to a method for preparing asymmetric multi-layered osmotic tablets using rapid and accurate determination of the orientation of tablets with respect to different internal formulation layers proximate to the opposite curved surfaces. In particular, the invention relates to detect degree of curvature using an image recognition system and drill the desired surface using a laser beam.