You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I haven't been able to find any documentation on what the properties in dmtxDecodeSetProp() do. Could you please share what they mean? For refererence, I know that there is a roughly 35x30 px datamatrix somewhere in the image. If I could pass this information along hopefully it can substantially speed up the scan.
switch(prop) {
case DmtxPropEdgeMin:
dec->edgeMin = value;
break;
case DmtxPropEdgeMax:
dec->edgeMax = value;
break;
case DmtxPropScanGap:
dec->scanGap = value; /* XXX Should this be scaled? */break;
case DmtxPropFnc1:
dec->fnc1 = value;
break;
case DmtxPropSquareDevn:
dec->squareDevn = cos(value * (M_PI/180.0));
break;
case DmtxPropSymbolSize:
dec->sizeIdxExpected = value;
break;
case DmtxPropEdgeThresh:
dec->edgeThresh = value;
break;
/* Min and Max values arrive unscaled */case DmtxPropXmin:
dec->xMin = value / dec->scale;
break;
case DmtxPropXmax:
dec->xMax = value / dec->scale;
break;
case DmtxPropYmin:
dec->yMin = value / dec->scale;
break;
case DmtxPropYmax:
dec->yMax = value / dec->scale;
break;
default:
break;
}
Cheers
The text was updated successfully, but these errors were encountered:
As far as I can see, most of props allows you to advice scanner about the coordinates of matrix, and some metainformation about matrix itself.
And their names mostly describes their purpose, IMO.
Hi There,
I haven't been able to find any documentation on what the properties in
dmtxDecodeSetProp()
do. Could you please share what they mean? For refererence, I know that there is a roughly 35x30 px datamatrix somewhere in the image. If I could pass this information along hopefully it can substantially speed up the scan.Cheers
The text was updated successfully, but these errors were encountered: