how to find orientation of a picture with delphi
问题 I need to find orientation of corn pictures (as examples below) they have different angles to right or left. I need to turn them upside (90 degree angle with their normal) (when they look like a water drop) Is there any way I can do it easily? 回答1: As starting point - find image moments (and Hu moments for complex forms like pear). From the link: Information about image orientation can be derived by first using the second order central moments to construct a covariance matrix. I suspect that