public abstract class SearchBasedDetector extends Object implements SkewDetector
| 构造器和说明 |
|---|
SearchBasedDetector()
Create a skew detector
|
SearchBasedDetector(SearchStrategy strategy)
Create a skew detector with specified search strategy
|
public SearchBasedDetector()
public SearchBasedDetector(SearchStrategy strategy)
strategy - public double detect(BufferedImage image)
SkewDetectordetect 在接口中 SkewDetectorimage - to be detectedprotected abstract double getCost(int[] pixels,
int width,
int height,
double theta)
pixels - pixel arraywidth - width of the bitmapheight - height of the bitmaptheta - angleCopyright © 2019. All rights reserved.