I use this for conversion QImage to PIX: PIX* TessTools::qImage2PIX(QImage& qImage) { PIX * pixs; l_uint32 *lines; qImage = qImage.rgbSwapped(); int width ...
確定! 回上一頁