Questions tagged «google-vision»

2
限制Google Vision中的检测区域,文本识别
我整天都在寻找解决方案。我已经检查了几个有关我的问题的主题。 自定义检测器对象 减少条形码跟踪窗口 和更多... 但这对我没有太大帮助。基本上,我希望“摄像机预览”为全屏显示,但只能在绘制矩形的屏幕中央识别文本。 我使用的技术: Google Mobile Vision API的光学字符识别(OCR) 依赖度: play-services-vision 我当前的状态: 我创建了一个BoxDetector类: public class BoxDetector extends Detector { private Detector mDelegate; private int mBoxWidth, mBoxHeight; public BoxDetector(Detector delegate, int boxWidth, int boxHeight) { mDelegate = delegate; mBoxWidth = boxWidth; mBoxHeight = boxHeight; } public SparseArray detect(Frame frame) { …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.