public class TCDetector extends SearchBasedDetector
| 构造器和说明 |
|---|
TCDetector() |
TCDetector(SearchStrategy strategy)
Create a skew detector
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected double |
getCost(int[] pixels,
int width,
int height,
double theta)
Calculate cost for a angle(lower is better)
|
detectpublic TCDetector()
public TCDetector(SearchStrategy strategy)
strategy - protected double getCost(int[] pixels,
int width,
int height,
double theta)
SearchBasedDetectorgetCost 在类中 SearchBasedDetectorpixels - pixel arraywidth - width of the bitmapheight - height of the bitmaptheta - angleCopyright © 2019. All rights reserved.