CharDetector: Improve CharDetector