Failed to recognize Barcode
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 18/100
Línea de trabajo
The report concerns decoding failure in BarcodeReader<Bitmap> with GlobalHistogramBinarizer and TryHarder set, with the failing image attached as a link rather than in the repository. Start from the reader's decode path and the binarizer, then reproduce with the two sample images. Done would mean either a passing decode test for this image or a documented reason it cannot be decoded. The thread has been quiet for about three years, so confirm the maintainer's current stance first.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hey,
I've encountered a problem where a clear barcode couldn't be recognized by the BarcodeReader.
I tried with all kinds of different options on the reader but without any success.
Below are the two versions of the image that I tried to use:
In both images the code is in the middle (in case git formats the images a bit weird)
This is the code I'm using
BarcodeReader<Bitmap> barcodeReader = new BarcodeReader<Bitmap>(null,
bitmap => new BitmapLuminanceSource(bitmap),
luminance => new GlobalHistogramBinarizer(luminance))
{
Options =
{
CharacterSet = "ISO-8859-1",
TryHarder = true,
ReturnCodabarStartEnd = true
}
};
Result[] result;
using (Bitmap image = new Bitmap("C:\\Test\\Barcode\\Test3_Identifier2.png"))
result = barcodeReader.DecodeMultiple(image);
Small note that the type of barcode is unknown by the time the image is provided, so I can't really pass any possible formats on the options, in case that would help.
Thank you^^
- Lenguaje dominante
- C#
- Estrellas
- 3.1k
- Forks
- 704
- Merge medio
- 13 d 17 h
- PR fusionados (30 d)
- 2
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de micjahn/ZXing.Net
-
crop() overrides document "0 <= top <= Height"; should be top < Height like left < WidthPosiblemente ocupada @hidingmyname la tomó hace 1 día. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
-
Dificultad 3/5 Medio día Aptitud para principiantes 22/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 42/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 12/100
Todos los issues de micjahn/ZXing.Net
Issues similares
-
bug effort:S P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
nightscout/nocturne#3093 ·
Los mantenedores suelen responder en 1 día
-
Add dependency list in documentsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Los mantenedores suelen responder en 3 días
-
Add 'upm' tag on githubAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100