Failed to recognize Barcode
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 18/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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^^
- Lingua principale
- C#
- Stelle
- 3.1k
- Fork
- 704
- Merge medio
- 13g 17h
- PR unite (30g)
- 2
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di micjahn/ZXing.Net
-
crop() overrides document "0 <= top <= Height"; should be top < Height like left < WidthForse già presa @hidingmyname l’ha presa oggi. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
Difficoltà 3/5 Mezza giornata Idoneità per principianti 22/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 12/100
Tutte le issue di micjahn/ZXing.Net
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
I maintainer di solito rispondono entro 3 giorni
-
Add 'upm' tag on githubAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
bug mac アプリ: コード アプリ: チャット 優先: 中 要トリアージ
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
yksr-melt/Meltype#1346 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Collect corrected translations in the app, with no GitHub account and the least possible frictionApertalocalization medium ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
hexide-io/HexIDE#2819 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno