Thanks to both of you for the information
If, I may, I have a few more questions that may help me before
trawling through the code.
I have two goals
1 - improve the tuning of our image processing to improve the results
with zxing
2 - look at improvements in software that could be executed prior to
or as part of zxing
To achieve (1), I currently test with a number of different pitch and
error correction levels within barcodes and vary the distance to the
camera. This gives me a number of barcodes decoded vs distance figure
that I can plot. Changing image processing within the camera varies
the result. It is however not the most accurate test. I would like
to obtain some error statistics from within zxing when it decodes (I
was hoping a verbose mode may contain this but it appears not to)
In particular I would like
- Access to the raw bit stream from after the binarizer and sampling
to compare with the known ideal bit stream of the barcode I am
decoding
- An error figure from the reed solomon stage (e.g. number of
correctable / uncorrectable errors)
Having access to the error data would allow me to fine tune the
processing at both near and far distance (limited by lens defocus and
pixel resolution respectively) to optimise for the zxing binarizer
If I can setup the tests for (1), I can then look at (2) in more
detail and I have some thoughts on how to improve the decode, probably
by missing some steps in the camera pipe and performing these later
when we have access to a cropped region in the decoder (in software).
The reason for this is that the image processor is a stream processor
which only has a few lines of data in its pipe at a time. I'm also
considering whether estimating distortion to create a distorted
sampling grid would be useful (in addition to skew correction),
perhaps aspart of the binarizer as a knowledge of pitch vs pixel
resolution could adjust processing such as local contrast enhancement
etc
What would be useful for this is a few lines of overview giving me the
flow through the zxing pipe (e.g. is perspective correction done
before binarization for instance).
If anyone has a few minutes to spare to help with the error correction
and flow it would save me a lot of time going through the code and
what calls what
Thanks
> 2011/8/8 Tim <
timothy.ke...@gmail.com>: