Photo-crosslinkable polyimide(PI) which contains CF3 moiety was synthesized. Polarized UV light transformed ketone group of PI to hydroxyl group, which was confirmed by IR and UV-visible spectroscopy. We investigated the dichroic UV-absorption before and after photo-reaction with linearly polarized light. In particular we have attempted to clarify the relationship between the anisotropy of surface region and surface azimuthal anchoring energy and knew that the anchoring energy of photo-alignment PI is comparable with that of mechanical rubbing.