You can subscribe to this list here.
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(2) |
Jul
(4) |
Aug
(5) |
Sep
(15) |
Oct
|
Nov
(4) |
Dec
(3) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2009 |
Jan
(4) |
Feb
(10) |
Mar
(18) |
Apr
(14) |
May
(10) |
Jun
(3) |
Jul
(8) |
Aug
(4) |
Sep
(11) |
Oct
(20) |
Nov
(2) |
Dec
(6) |
2010 |
Jan
(10) |
Feb
(5) |
Mar
(8) |
Apr
(19) |
May
(3) |
Jun
(2) |
Jul
(2) |
Aug
(1) |
Sep
|
Oct
(19) |
Nov
(5) |
Dec
|
2011 |
Jan
|
Feb
(4) |
Mar
(2) |
Apr
(8) |
May
(3) |
Jun
(8) |
Jul
(4) |
Aug
(2) |
Sep
(14) |
Oct
(3) |
Nov
(1) |
Dec
(4) |
2012 |
Jan
(3) |
Feb
(8) |
Mar
(13) |
Apr
(10) |
May
(2) |
Jun
(3) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2013 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: Dirk-Willem v. G. <di...@we...> - 2017-08-17 17:50:39
|
I am generating a file of 256 chars; in sequential order from 0 up to and including 255. Create a DM from it; And then decode the DM. E.g.I am doing: perl -e 'map { printf("%c",$_);} (0 .. 255);' | dmtxwrite | dmtxread | hexdump -C I would have expected to see a nice 256 byte file coming out; instead 257 bytes. There is an are two odd bytes at position 31 and 32. The ‘1f’ (US, number 31) seems to come out not as 1f but as 07,61. Anyone any suggestions ? Locale and what not us unset/C. With kind regards, Dw Expected: 00000000 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f |................| 00000010 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f |................| 00000020 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f | !"#$%&'()*+,-./| 00000030 30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f |0123456789:;<=>?| 00000040 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f |@ABCDEFGHIJKLMNO| 00000050 50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f |PQRSTUVWXYZ[\]^_| 00000060 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f |`abcdefghijklmno| 00000070 70 71 72 73 74 75 76 77 78 79 7a 7b 7c 7d 7e 7f |pqrstuvwxyz{|}~.| 00000080 80 81 82 83 84 85 86 87 88 89 8a 8b 8c 8d 8e 8f |................| 00000090 90 91 92 93 94 95 96 97 98 99 9a 9b 9c 9d 9e 9f |................| 000000a0 a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 aa ab ac ad ae af |................| 000000b0 b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 ba bb bc bd be bf |................| 000000c0 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 ca cb cc cd ce cf |................| 000000d0 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 da db dc dd de df |................| 000000e0 e0 e1 e2 e3 e4 e5 e6 e7 e8 e9 ea eb ec ed ee ef |................| 000000f0 f0 f1 f2 f3 f4 f5 f6 f7 f8 f9 fa fb fc fd fe ff |................| 00000100 Actual output 00000000 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f |................| 00000010 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 07 |................| 00000020 61 31 32 48 65 32 38 30 38 69 34 34 37 33 5e 2e |a12He2808i4473^.| 00000030 2f 30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e |/0123456789:;<=>| 00000040 3f 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e |?@ABCDEFGHIJKLMN| 00000050 4f 50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e |OPQRSTUVWXYZ[\]^| 00000060 5f 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e |_`abcdefghijklmn| 00000070 6f 70 71 72 73 74 75 76 77 78 79 7a 7b 7c 7d 7e |opqrstuvwxyz{|}~| 00000080 7f 80 81 82 83 84 85 86 87 88 89 8a 8b 8c 8d 8e |................| 00000090 8f 90 91 92 93 94 95 96 97 98 99 9a 9b 9c 9d 9e |................| 000000a0 9f a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 aa ab ac ad ae |................| 000000b0 af b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 ba bb bc bd be |................| 000000c0 bf c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 ca cb cc cd ce |................| 000000d0 cf d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 da db dc dd de |................| 000000e0 df e0 e1 e2 e3 e4 e5 e6 e7 e8 e9 ea eb ec ed ee |................| 000000f0 ef f0 f1 f2 f3 f4 f5 f6 f7 f8 f9 fa fb fc fd fe |................| 00000100 ff |.| 00000101 dmtxwrite —version dmtxread version 0.7.4 libdmtx version 0.7.4 |
From: G B <jos...@gm...> - 2015-03-30 05:44:06
|
For some reason (don't ask me why) I sometimes have "bad" datamatrices that I need to decode. These datamatrices are just the "border" filled with mostly white (see attached png). The problem is: RsDecode succeeds on this, but DecodeDataStream gives an assert fail! The assertion that fails is PushOutputWord in dmtxdecodescheme.c - the reason being that the value is -1. The reason for that is... well, long story short, the msg->code is filled with char(0), but the decoding scheme crashes when it encounters a char(0). GetEncodationScheme returns DmtxSchemeAscii for char(0), and then DecodeSchemeAscii looks at the char -1, returning -1, which fails the assertion. Fix (at least that's what I'm now using, but obviously someone with more experience should look at it): Added an DmtxSchemeError that returns from GetEncodationScheme when 0 input, added a success/fail return value to DecodeDataStream, and made dmtxDecodeMatrixRegion return NULL if the DecodeDataStream fails. Attached is also the diff ------------ I'm not sure if attachments work here (let me know?) but if not - you can get the files at: http://rabensky.com/dmtx/bad_datamatrix.png http://rabensky.com/dmtx/dmtxDecodeMatrixRegion.diff Cheers! Guy |
From: Maxime C. <max...@sa...> - 2015-02-14 19:14:32
|
Hello, My name is Maxime Chambreuil, Odoo Practice Leader at Savoir-faire Linux in Montreal, Canada. My colleague and developer David Dufresne (in CC) have selected pydmtx to generate datamatrix images in canadian payroll documents in Odoo ( http://odoo.com ). Thank you very much for this great library. We would like to know your interest to publish pydmtx on https://pypi.python.org . It would help us a lot to manage our Odoo installations. I took the liberty to reserve the name here: https://pypi.python.org/pypi/pydmtx We could take care of the packaging and publishing, unless you want to do it yourself (and I would happily transfer the name on Pypi). What do you think ? Comments are welcomed. Regards, -- Maxime Chambreuil +1 (514) 276-5468 #126 |
From: Leandro <nor...@ba...> - 2014-06-15 23:09:38
|
Responda agora mesmo! Experimente o serviço de mensagens exclusivas do Badoo. VER MENSAGEM http://us1.badoo.com/leandro.passarelli.1/in/nu978QWrC5k/?lang_id=61&g=57-0-4&m=61&mid=539e27aa00000000003d004d03ae94aa0038714801fd Alguns contatos esperam você: Se os links desta mensagem não funcionarem, copie e cole-os na barra de endereços de seu navegador. Este e-mail foi enviado por Badoo Trading Limited (endereço postal abaixo). Badoo, por favor clique aqui para sair: https://us1.badoo.com/impersonation.phtml?lang_id=61&email=libdmtx-open_discussion%40lists.sourceforge.net&block_code=5732f5&m=61&mid=539e27aa00000000003d004d03ae94aa0038714801fd&g=0-0-4 Badoo Trading Limited é uma sociedade limitada registrada na Inglaterra e país de Gales sob o CRN 7540255 e firma registrada em 131 - 151 Great Titchfield Street, Londres, W1W 5BB. |
From: Leo <nor...@ba...> - 2014-06-15 06:01:42
|
Leo te mandou uma mensagem Só você pode ver o conteúdo desta mensagem e quem a enviou. Você pode deletar a qualquer momento. Para responder basta clicar no link: http://us1.badoo.com/leandro.passarelli.1/in/nu978QWrC5k/?lang_id=61&g=57-0-4&m=21&mid=539d36bd00000000003d004d03ada3bd01987152005d Se os links desta mensagem não funcionaram, copie e cole-os na barra de endereços de seu navegador. E-mail enviado como parte do sistema de mensagens do Leo. Se recebeu este e-mail por engano, por favor, simplesmente ignore-o. Em breve a mensagem será removida do sistema. Divirta-se! A Equipe Badoo Este e-mail foi enviado por Badoo Trading Limited (endereço postal abaixo). Badoo, por favor clique aqui para sair: https://us1.badoo.com/impersonation.phtml?lang_id=61&email=libdmtx-open_discussion%40lists.sourceforge.net&block_code=5732f5&m=21&mid=539d36bd00000000003d004d03ada3bd01987152005d&g=0-0-4 Badoo Trading Limited é uma sociedade limitada registrada na Inglaterra e país de Gales sob o CRN 7540255 e firma registrada em 131 - 151 Great Titchfield Street, Londres, W1W 5BB. |
From: Hasan Y. <o.o...@gm...> - 2014-05-15 20:23:17
|
Hi, I'm working on a project regarding barcode decoding, and I came across this project, which seems very fast in terms of decoding speed. I managed to install/run the test application, and then found out about dmtxread util, which I couldn't figure out how to install. Could you provide some guidance in this matter? Any help towards allowing me decode a DM in an image of my choice would be greatly appreciated. I'm looking forward to hear from you, Regards, Hasan ᐧ |
From: Karen S. <han...@ho...> - 2013-04-30 20:05:17
|
Hello, I am attempting to compile libdmtx on AIX 5.3.0 ./configure executes the ‘make’ command is returning a few errors: # make make all-recursive Making all in . /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wshadow -Wall -pedantic -ansi -Wall -pedantic -g -O2 -MT libdmtx_la-dmtx.lo -MD -MP -MF .deps/libdmtx_la-dmtx.Tpo -c -o libdmtx_la-dmtx.lo `test -f 'dmtx.c' || echo './'`dmtx.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wshadow -Wall -pedantic -ansi -Wall -pedantic -g -O2 -MT libdmtx_la-dmtx.lo -MD -MP -MF .deps/libdmtx_la-dmtx.Tpo -c dmtx.c -DPIC -o .libs/libdmtx_la-dmtx.o In file included from dmtx.c:68: dmtxdecode.c: In function 'dmtxDecodeCreateDiagnostic': dmtxdecode.c:474: warning: implicit declaration of function 'snprintf' In file included from dmtx.c:80: dmtxtime.c: In function 'dmtxTimeNow': dmtxtime.c:30: error: storage size of 'tv' isn't known dmtxtime.c:33: warning: implicit declaration of function 'gettimeofday' dmtxtime.c:30: warning: unused variable 'tv' make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. Has anyone seen this? This is the result of ./configure: checking for a BSD-compatible install... ./install-sh -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking build system type... powerpc-ibm-aix5.3.0.0 checking host system type... powerpc-ibm-aix5.3.0.0 checking how to print strings... print -r checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 18432 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -DPIC checking if gcc PIC flag -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... aix5.3.0.0 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether gcc and cc understand -c and -o together... yes checking for library containing sin... -lm checking for library containing cos... none required checking for library containing atan2... none required checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for gettimeofday... yes configure: creating ./config.status config.status: creating Makefile config.status: creating libdmtx.pc config.status: creating test/Makefile config.status: creating test/simple_test/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands Any help is greatly appreciated! Regards, Karen |
From: Diego J. <jac...@gm...> - 2013-03-11 15:00:35
|
Hello people, I am working on replacing some barcode scanners which are placed at fixed positions. I have a webcam to capture the image but dmtxread is not always able to decode it. I have tested with good labels and bad labels, and i am more interested on the bad scenarios. I have also tested with different image quality and colors, but I can't find the correct setup to use as example. I have uploaded my batch script and some images which worked the reading, and many other that didn't worked. http://diego.jacobi.com.ar/mi-contenido/lector-de-datamatrix/WebcamScanner.7z Among the ones that didn't worked, we have good labels with good quality images which were not readed. I have used different configurations of saturation and lightness and sometimes it works for some cases, but doesn't for others. Others have slight proportions of missing datamatrix which are correctly readed by some comercial scanners. For this cases I wasn't able at all to decode de image with libdmtx. The size of the image seem to be very important as well. 640x480 got the bests results. Could you please help me and recommend better ways to improve decoding ? Kind regards, Diego |
From: Jony G. <gm...@gm...> - 2013-02-18 02:21:50
|
Dear Mr/Ms, Kindly give help, I want to make encoder for GS1Datamatrix, I have use source on : https://sourceforge.net/projects/datamatrixnet/forums/forum/1030457/topic/4481011, but I still cannot generate correct code. What is special form I must use for Application Identifier? fyi, I have try to use () & []. Thanks & Regards |
From: Diener, E. <ed...@im...> - 2012-12-11 14:52:48
|
Using libdmtx 0.7.4 I am setting the X and Y limits through the DmtxPropXmin, DmtxPropXmax, DmtxPropYmin, and DmtxPropYmax properties in order to limit the area in the image in which dmtx searches for its barcode. What I am finding is that sometimes this results in a faster search and sometimes this results in a slower search, than if I did not use these properties. What I am trying to understand is how limiting the search to a smaller area can ever result in a slower search, and what would cause such a result. Edward Diener ______________________________________________________________________ This e-mail has been scanned by Verizon Managed Email Content Service, using Skeptic(tm) technology powered by MessageLabs. For more information on Verizon's Managed Email Content Service, visit http://www.verizonbusiness.com. ______________________________________________________________________ |
From: Jan S. <sc...@ei...> - 2012-07-26 11:02:53
|
Hi, I am using libdmtx 0.7.5 with XP und C++-Builder 5.0 (very old I know!!!) and without ImageMagick. I can compile but i still get a runtime error. void myfunction() { DmtxMessage *msg; TmcmImage *Image1 = new TmcmImage; // this is my Image class!!! int imgPageIndex; int imgScanCount, pageScanCount; DmtxRegion *reg; DmtxTime timeout; Image1->FileOpen(LMDFileOpenEdit10->Text); int height = Image1->Height; int width = Image1->Width; int BitCount = Image1->BitCount; int ImageFormat = Image1->ImageFormat; // 3: IF_GREY8 // 7: IF_RGB24 imgScanCount = 0; UserOptions opt = GetDefaultOptions(); /* Copy pixels to known format */ // ??? how to ??? success = MagickGetImagePixels(wand, 0, 0, width, height, "RGB", CharPixel, pxl); // Pixel von Image auf pxl kopieren!! /* Initialize libdmtx image */ // img = dmtxImageCreate(pxl, width, height, DmtxPack24bppRGB); // ???? this ok??? // Image1->pDib: Point to the Dib-Section!!1 DmtxImage *img = dmtxImageCreate((unsigned char *)Image1->pDib, width, height, DmtxPack24bppRGB); DmtxDecode *dec = dmtxDecodeCreate(img, opt.shrinkMin); if (dec == NULL) { FatalError(EX_SOFTWARE, "decode create error"); } int err = SetDecodeOptions(dec, img, &opt); if(err != DmtxPass) { FatalError(EX_SOFTWARE, "decode option error"); } /* Find and decode every barcode on page */ pageScanCount = 0; for(;;) { /* Find next barcode region within image, but do not decode yet */ if(opt.timeoutMS == DmtxUndefined) reg = dmtxRegionFindNext(dec, NULL); else reg = dmtxRegionFindNext(dec, &timeout); /* Finished file or ran out of time before finding another region */ if(reg == NULL) break; /* Decode region based on requested barcode mode */ if(opt.mosaic == DmtxTrue) msg = dmtxDecodeMosaicRegion(dec, reg, opt.correctionsMax); else msg = dmtxDecodeMatrixRegion(dec, reg, opt.correctionsMax); // ERROR buffer underflow: in function dmtxDecodeMatrixRegion // in function static DmtxPassFail RsDecode(unsigned char *code, int sizeIdx, int fix) // // /* Start with final data word and work backward */ // word = code + blockIdx + (blockStride * (blockDataWords - 1)); // for(i = 0; i < blockDataWords; i++) // { // dmtxByteListPush(&rec, *word, &passFail); // CHKPASS; // word -= blockStride; // } Any hints??? Any useroptions I have to use?? Best regards Jan Schloen -- ----- ----- Dr. Jan Schloen ----- EINS GmbH Entwicklung interaktiver Software ----- Unterweingartenfeld 6, 76135 Karlsruhe, Germany ----- ----- Phone: (+49) 721 95539 76 Fax: (+49) 721 53 103 55 ----- EMail: sc...@ei... ----- ----- Internet: www.eins-gmbh.de - www.catalog-on-demand.de ----- www.x-mkp.de - www.xibisone.de ----- www.opur-secure.com - www.mittags-akademie.de ----- ----- GF: Dr. Jan Schloen, Prof. Dr. Martin Damm ----- AG Mannheim, HRB 107274, UStId: DE174983321 |
From: <Mark_A_Young@Dell.com> - 2012-06-29 19:27:52
|
I was surprised to find encoding is broken in libdmtx 0.7.4 for anything but the default DmtxPack24bppRGB. 16bpp support appears to be in the code but the enc->image->pxl array will be all FF's because dmtxImageGetPixelValue will not change it. That function has a lot of commented out code and does nothing for some cases. There was nothing about this in KNOWN_BUGS. If this support is added, then it would be nice to also include a 16bpp variant that libdmtx does *not* even claim to support and that is 5:6:5 16bpp which is used by PEG. typedef struct _sPixel565 { unsigned short blue:5; unsigned short green:6; unsigned short red:5; } sPixel565; Mark |
From: Diener, E. <ed...@im...> - 2012-06-26 16:50:12
|
I am able to decode the 2d datamatrix barcodes with which my company is working with near 100% consistency. But the process of finding the barcode is pretty slow and I would appreciate some direction in trying to speed up the search. Currently the successful algorithm I am using involves multiple passes through the decode process with different settings for some of the parameters, until I can find the barcode. The DmtxPropEdgeThresh Is always set to 5. The DmtxPropSquareDevn is initially set to 10, and subsequently to 20 for each of three passes where I am setting the second parameter of dmtxDecodeCreate to 1,2, and 3 respectively. This is finding the barcode with very high consistency. I do know that the barcode is a 14 x 14 datamatrix barcode. If I set the DmtxSymbolSize to DmtxSymbol14x14 rather than leave it at the default of DmtxSymbolShapeAuto I am hoping that this might speed up the search. Unfortunately I can not tell where in the image the barcode might be located so I cannot use the properties for Xmin, Xmax, Ymin, or Ymax. Any other ideas for speeding up the search would be welcome. I realize that this is difficult without knowing what the typical bitmap in which I am searching for a barcode looks like, but perhaps others have tried some solution(s) which worked in speeding up the decode process and can suggest them to me. Thanks ! ______________________________________________________________________ This e-mail has been scanned by MCI Managed Email Content Service, using Skeptic(tm) technology powered by MessageLabs. For more information on MCI's Managed Email Content Service, visit http://www.mci.com. ______________________________________________________________________ |
From: Helen Y. <hoh...@et...> - 2012-06-19 14:39:21
|
Hello Mike, I'm working</x> on a project using pyDataMatrixScanner (version 0.8) at University of Geneva. It works</x> perfectly on Ubuntu 10.04, that means the software can grap and locate a datamatrix's tag, but it doesn't work any longer since the version 11 of Ubuntu. In fact, I tried all the options proposed in the package, all works</x> perfectly except the "-l" one. I get a black window when "-l" is used. My problem is : how could I grap and locate the tag without using the "-l" option? Thanks for your reply, Helen YAU |
From: sandip k. <san...@gm...> - 2012-05-23 12:30:20
|
Respected Sir! My machine setup is : Ubuntu Linux libdmtx I have installed libdmtx on my Ubuntu Linux machine. Now I can use the dmtxread command line utility of libdmtx. My problem is that when I executes the dmtxread command on Linux terminal; it gets executed and shows the output but after showing the output It does not shows the linux terminal prompt. It looks line that some process is still going on or the command is got hanged or pause. Sir, Can you please explain why command prompt does not come after executing dmtxread command and getting its output. The Command that I execute is as follows : "dmtxread -n abc.tif -x 1278 -X 1430" If I don't put '-n' switch in the command then the behavior of execution remains same but in this case don't get the decoded output. Sir, can you please guide me in finding out where I had made a mistake. Since I am novice to linux environment; it would helpful if you send as detailed reply as possible. I am waiting for your reply and guidance. Thank You! Sandip |
From: sandip k. <san...@gm...> - 2012-05-16 11:49:11
|
Respected Sir! I want to use libdmtx in my standalone java program. Environment: Ubantu linux libdmtx version: 0.7.2 Java 1.6 I have read the following instructions that you had given in reply to one of the post on sourceforge's open_discussion mailing list for the question [libdmtx-open_discussion] Java Wrapper Build Error. Instruction given are as follows. 1) cd to the main libdmtx directory 2) make distclean :- When I executed this command it dint give any output. It had given me an error message i.e. make: *** No rule to make target `distclean'. Stop. 3) CFLAGS=-fPIC ./configure :- When I executed It had done some processing by executing some command. 4) cd wrapper/java :- this command got executed successfully. 5) make :- When I executed this command it had done some processing by executing some command. 6) make check :- When I executed this command. It had compiled the three .java file in the folder. i.e. javac GUIExample.java javac CLIExample.java javac MakeTags.java 7) echo -n 123456 | dmtxwrite -o 123456.png # or use an existing barcode image :- when I executed this command It had created a .png file in the same folder. This .png file contains a 2D barcode. After executing these first seven commands I thought that the java wrapper class had builed. As I checked in wrapper/java/ directory I find out that a .jar file had created which had name dmtx.jar So at last I have executed following java program as suggested by you in the reply 8) java CLIExample 123456.png : When I tried to execute the above command it had thrown some exception which is as follows. Exception in thread "main" java.lang.UnsatisfiedLinkError: org.libdmtx.DMTXImage.getTags(II)[Lorg/libdmtx/DMTXTag; at org.libdmtx.DMTXImage.getTags(Native Method) at CLIExample.<init>(CLIExample.java:47) at CLIExample.main(CLIExample.java:66) Sir, can you please guide me in finding out where I had made a mistake. Can you plaese explain how to build a java wrapper class of libdmtx? I did not understand the instruction that you had given on website to build java wrapper class. Since I am novice to linux environment; it would help if you send as detailed reply as possible. Can you please explain that after creating the wrapper Which files I need to include in my standalone java code so that I can use the functionality of libdmtx to scan barcode on an image files? I am waiting for your reply and guidance. Thank You! Sandip |
From: Mike L. <mi...@dr...> - 2012-04-24 02:55:08
|
Hi Eddie, I'd be happy to take a look at some of your sample images and make recommendations on how you might optimize the scan results. You can either post them to this list (ideal, because others can benefit) or send them to me directly if you are concerned about privacy. Unfortunately it's difficult to make general recommendations because there is so much variety for images found "in the wild". And sometimes the best optimizations can be counter intuitive; for example blurry is often better than sharp is noise is a problem. The best source of documentation is the libdmtx.org website and the wiki, http://libdmtx.wikidot.com/helpful-tips. I'm guessing you probably already found these though. The search algorithm is indeed the most difficult part of the library, although you can certainly modify it under the current license (simplified BSD). But I understand why you wouldn't want to start down this road unless absolutely necessary. Mike On Mon, Apr 23, 2012 at 2:09 PM, Diener, Edward <ed...@im...> wrote: > I am trying to use libdmtx to scan images taken by a camera in a medical > device for the Datamatrix barcode(s) in the image. The medical device takes > a picture of the area of a “strip”, which as “wells” for mixing blood > samples with reagents in order to analyze the blood samples. In that area > of the strip is a 2d Datamatrix barcode which we need to read reliably.*** > * > > ** ** > > I have a GUI program which can test this, and allows any of the libdmtx > properties to be set in a GUI dialog. With some images libdmtx will find > the barcode(s). With other images it will not. I am looking for help in > tweaking the decoding properties in order to give libdmtx a better chance > at finding the images.**** > > ** ** > > I am also able to use dmtxread with the same results.**** > > ** ** > > The images are bitmap images, and almost always bottom-up images, so I use > the DmtxPropImageFlip property with DmtxFlipY to flip the DmtxImage image. > I even run through the libdmtx sequence for finding a barcode twice in my > code if I can not find the barcode, because some of the images I have are > already physically flipped before I look for the barcode. The first time I > will DmtxPropImageFlip a bottom-up image while leaving a top-down image > alone while the second time, just in case the image has already been > created as a flipped image, I will DmtxPropImageFlip a top-down image > while leaving a bottom-up image alone. This way I try to improve my chances > of finding the barcode in my tests, just in case my test image has already > been flipped.**** > > ** ** > > I can upload some images for which libdmtx cannot find the barcode. This > may be because the image is blurry, but then I think there should be some > way of manipulating the properties to find the barcode. But the > documentation on the individual properties does not appear to exist > anywhere and I have not been able to find documentation for the individual > properties in the code either. Does it actually exist anywhere ?**** > > ** ** > > Of course I realize I can try to tweak the search algorithm for the > purposes of the company for which I work. I think this is allowable under > the license for libdmtx. But I would like to try to avoid this if I can if > I can use the decoding properties to reliably read our datamatrix barcode > images. Understandable the search algorithm is no easy task, but I am > capable of doing so if necessary.**** > > ** ** > > Any help trying to use the decoder properties to reliably read the > barcodes would be appreciated.**** > > ** ** > > Eddie Diener**** > > ** ** > > ______________________________________________________________________ > This e-mail has been scanned by MCI Managed Email Content Service, using > Skeptic(tm) technology powered by MessageLabs. For more information on > MCI's Managed Email Content Service, visit http://www.mci.com. > ______________________________________________________________________ > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > > _______________________________________________ > libdmtx-open_discussion mailing list > lib...@li... > https://lists.sourceforge.net/lists/listinfo/libdmtx-open_discussion > > -- Mike Laughton Chief Software Architect Dragonfly Logic, Inc. 612.845.3339 (m) |
From: Mike L. <mi...@dr...> - 2012-04-24 02:28:36
|
Hi Kaushik, Sorry for the delayed response. The ASCII art preview code lives in the dmtxwrite.c file of the dmtx-utils package. I would recommend checking there if you still need this functionality. Mike On Thu, Apr 5, 2012 at 6:46 AM, Kaushik Kale <kp...@st...> wrote: > I want to use the libdmtx in C++. > > When i use the library in Ubuntu from command line, I get an option of > having the barcode output as an Ascii Art Preview. > > I want to have the Ascii Art output in form of an array or ascii strings. > > How to get that output? > > Kind Regards > > Kaushik Kale > > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > libdmtx-open_discussion mailing list > lib...@li... > https://lists.sourceforge.net/lists/listinfo/libdmtx-open_discussion > -- Mike Laughton Chief Software Architect Dragonfly Logic, Inc. 612.845.3339 (m) |
From: Diener, E. <ed...@im...> - 2012-04-23 19:10:40
|
I am trying to use libdmtx to scan images taken by a camera in a medical device for the Datamatrix barcode(s) in the image. The medical device takes a picture of the area of a "strip", which as "wells" for mixing blood samples with reagents in order to analyze the blood samples. In that area of the strip is a 2d Datamatrix barcode which we need to read reliably. I have a GUI program which can test this, and allows any of the libdmtx properties to be set in a GUI dialog. With some images libdmtx will find the barcode(s). With other images it will not. I am looking for help in tweaking the decoding properties in order to give libdmtx a better chance at finding the images. I am also able to use dmtxread with the same results. The images are bitmap images, and almost always bottom-up images, so I use the DmtxPropImageFlip property with DmtxFlipY to flip the DmtxImage image. I even run through the libdmtx sequence for finding a barcode twice in my code if I can not find the barcode, because some of the images I have are already physically flipped before I look for the barcode. The first time I will DmtxPropImageFlip a bottom-up image while leaving a top-down image alone while the second time, just in case the image has already been created as a flipped image, I will DmtxPropImageFlip a top-down image while leaving a bottom-up image alone. This way I try to improve my chances of finding the barcode in my tests, just in case my test image has already been flipped. I can upload some images for which libdmtx cannot find the barcode. This may be because the image is blurry, but then I think there should be some way of manipulating the properties to find the barcode. But the documentation on the individual properties does not appear to exist anywhere and I have not been able to find documentation for the individual properties in the code either. Does it actually exist anywhere ? Of course I realize I can try to tweak the search algorithm for the purposes of the company for which I work. I think this is allowable under the license for libdmtx. But I would like to try to avoid this if I can if I can use the decoding properties to reliably read our datamatrix barcode images. Understandable the search algorithm is no easy task, but I am capable of doing so if necessary. Any help trying to use the decoder properties to reliably read the barcodes would be appreciated. Eddie Diener ______________________________________________________________________ This e-mail has been scanned by MCI Managed Email Content Service, using Skeptic(tm) technology powered by MessageLabs. For more information on MCI's Managed Email Content Service, visit http://www.mci.com. ______________________________________________________________________ |
From: Diener, E. <ed...@im...> - 2012-04-20 21:26:48
|
Does knowing the exact symbol size increase the chance of finding the barcode when decoding, or is it simply that knowing the symbol size speeds up the process of looking for the barcode, but does not affect the ability to find the barcode ? Eddie Diener ______________________________________________________________________ This e-mail has been scanned by MCI Managed Email Content Service, using Skeptic(tm) technology powered by MessageLabs. For more information on MCI's Managed Email Content Service, visit http://www.mci.com. ______________________________________________________________________ |
From: Mike L. <mi...@dr...> - 2012-04-19 19:47:18
|
If I read your description correctly, yes, you would use DmtxFlipY for a bottom-up image. Here's an excerpt from the comments in dmtximage.c (which I believe is current): * By default, libdmtx treats the first pixel of an image array as the top-left * corner of the physical image, with the final pixel landing at the bottom- * right. However, if mapping a pixel buffer this way produces an inverted * image the calling program can specify DmtxFlipY at image creation time to * remove the inversion. This has a negligible effect on performance since it * only modifies the pixel mapping math, and does not alter any pixel data. Mike On Thu, Apr 19, 2012 at 2:35 PM, Diener, Edward <ed...@im...> wrote: > Is DmtxFlipY supposed to be used for a bottom-up image ?**** > > ** ** > > Eddie**** > > ** ** > > *From:* Mike Laughton [mailto:mi...@dr...] > *Sent:* Thursday, April 19, 2012 3:33 PM > *To:* Diener, Edward > *Cc:* lib...@li... > *Subject:* Re: [libdmtx-open_discussion] Bottom-up bitmap**** > > ** ** > > Hi Edward,**** > > ** ** > > I believe this is what you are asking about:**** > > ** ** > > dmtxImageSetProp(img, DmtxPropImageFlip, DmtxFlipNone);**** > > or**** > > dmtxImageSetProp(img, DmtxPropImageFlip, DmtxFlipY); **** > > ** ** > > Hope this helps,**** > > Mike**** > > ** ** > > ** ** > > On Thu, Apr 19, 2012 at 2:10 PM, Diener, Edward <ed...@im...> > wrote:**** > > Does the library understand a bottom-up image as opposed to the normal > top-down image ? A bottom-up bitmap is one where the first line of the > image is the last row of the image bytes and the subsequent lines of the > image go up from that bottom line to the top in ascending order for each > individual line. A top-down image is where the first line of the image is > the beginning of the image bytes and the subsequent lines go from top to > bottom in the exact order of the image bytes.**** > > **** > > If so, how do I tell the library that my image is a bottom-up image ( most > Windows bitmaps are bottom up images ) ?**** > > **** > > Eddie Diener**** > > > ______________________________________________________________________ > This e-mail has been scanned by MCI Managed Email Content Service, using > Skeptic(tm) technology powered by MessageLabs. For more information on > MCI's Managed Email Content Service, visit http://www.mci.com. > ______________________________________________________________________**** > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > libdmtx-open_discussion mailing list > lib...@li... > https://lists.sourceforge.net/lists/listinfo/libdmtx-open_discussion**** > > > > **** > > ** ** > > -- > Mike Laughton > Chief Software Architect > Dragonfly Logic, Inc. > 612.845.3339 (m)**** > > > ______________________________________________________________________ > This e-mail has been scanned by MCI Managed Email Content Service, using > Skeptic(tm) technology powered by MessageLabs. For more information on > MCI's Managed Email Content Service, visit http://www.mci.com. > ______________________________________________________________________**** > > ______________________________________________________________________ > This e-mail has been scanned by MCI Managed Email Content Service, using > Skeptic(tm) technology powered by MessageLabs. For more information on > MCI's Managed Email Content Service, visit http://www.mci.com. > ______________________________________________________________________ > -- Mike Laughton Chief Software Architect Dragonfly Logic, Inc. 612.845.3339 (m) |
From: Diener, E. <ed...@im...> - 2012-04-19 19:40:51
|
Is DmtxFlipY supposed to be used for a bottom-up image ? Eddie From: Mike Laughton [mailto:mi...@dr...] Sent: Thursday, April 19, 2012 3:33 PM To: Diener, Edward Cc: lib...@li... Subject: Re: [libdmtx-open_discussion] Bottom-up bitmap Hi Edward, I believe this is what you are asking about: dmtxImageSetProp(img, DmtxPropImageFlip, DmtxFlipNone); or dmtxImageSetProp(img, DmtxPropImageFlip, DmtxFlipY); Hope this helps, Mike On Thu, Apr 19, 2012 at 2:10 PM, Diener, Edward <ed...@im...> wrote: Does the library understand a bottom-up image as opposed to the normal top-down image ? A bottom-up bitmap is one where the first line of the image is the last row of the image bytes and the subsequent lines of the image go up from that bottom line to the top in ascending order for each individual line. A top-down image is where the first line of the image is the beginning of the image bytes and the subsequent lines go from top to bottom in the exact order of the image bytes. If so, how do I tell the library that my image is a bottom-up image ( most Windows bitmaps are bottom up images ) ? Eddie Diener ______________________________________________________________________ This e-mail has been scanned by MCI Managed Email Content Service, using Skeptic(tm) technology powered by MessageLabs. For more information on MCI's Managed Email Content Service, visit http://www.mci.com. ______________________________________________________________________ ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ libdmtx-open_discussion mailing list lib...@li... https://lists.sourceforge.net/lists/listinfo/libdmtx-open_discussion -- Mike Laughton Chief Software Architect Dragonfly Logic, Inc. 612.845.3339 (m) ______________________________________________________________________ This e-mail has been scanned by MCI Managed Email Content Service, using Skeptic(tm) technology powered by MessageLabs. For more information on MCI's Managed Email Content Service, visit http://www.mci.com. ______________________________________________________________________ ______________________________________________________________________ This e-mail has been scanned by MCI Managed Email Content Service, using Skeptic(tm) technology powered by MessageLabs. For more information on MCI's Managed Email Content Service, visit http://www.mci.com. ______________________________________________________________________ |
From: Mike L. <mi...@dr...> - 2012-04-19 19:32:54
|
Hi Edward, I believe this is what you are asking about: dmtxImageSetProp(img, DmtxPropImageFlip, DmtxFlipNone); or dmtxImageSetProp(img, DmtxPropImageFlip, DmtxFlipY); Hope this helps, Mike On Thu, Apr 19, 2012 at 2:10 PM, Diener, Edward <ed...@im...> wrote: > Does the library understand a bottom-up image as opposed to the normal > top-down image ? A bottom-up bitmap is one where the first line of the > image is the last row of the image bytes and the subsequent lines of the > image go up from that bottom line to the top in ascending order for each > individual line. A top-down image is where the first line of the image is > the beginning of the image bytes and the subsequent lines go from top to > bottom in the exact order of the image bytes.**** > > ** ** > > If so, how do I tell the library that my image is a bottom-up image ( most > Windows bitmaps are bottom up images ) ?**** > > ** ** > > Eddie Diener**** > > ______________________________________________________________________ > This e-mail has been scanned by MCI Managed Email Content Service, using > Skeptic(tm) technology powered by MessageLabs. For more information on > MCI's Managed Email Content Service, visit http://www.mci.com. > ______________________________________________________________________ > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > libdmtx-open_discussion mailing list > lib...@li... > https://lists.sourceforge.net/lists/listinfo/libdmtx-open_discussion > > -- Mike Laughton Chief Software Architect Dragonfly Logic, Inc. 612.845.3339 (m) |
From: Diener, E. <ed...@im...> - 2012-04-19 19:12:07
|
Does the library understand a bottom-up image as opposed to the normal top-down image ? A bottom-up bitmap is one where the first line of the image is the last row of the image bytes and the subsequent lines of the image go up from that bottom line to the top in ascending order for each individual line. A top-down image is where the first line of the image is the beginning of the image bytes and the subsequent lines go from top to bottom in the exact order of the image bytes. If so, how do I tell the library that my image is a bottom-up image ( most Windows bitmaps are bottom up images ) ? Eddie Diener ______________________________________________________________________ This e-mail has been scanned by MCI Managed Email Content Service, using Skeptic(tm) technology powered by MessageLabs. For more information on MCI's Managed Email Content Service, visit http://www.mci.com. ______________________________________________________________________ |
From: Diener, E. <ed...@im...> - 2012-04-17 19:58:28
|
Is there any documentation for the properties in the dmtx.h of enum DmtxProperty ? In particular I want to know what I have to do with a bottom up image ( bits start at the beginning of last row and go up ) as opposed to a top down image ( bits start at the top of the first row and go down ) as far as setting an image property. What about documentation for the other properties there for encoding, decoding, image properties, and image modifiers ? Would it not be worthwhile for developers using dmtx if these properties were documented somewhere ? Finally, I have written a function for C++ called DmtxImage * dmtxImageCreate(CImage const & cim,std::vector<unsigned char> & bvec) Which converts an MFC CImage and an empty C++ standard vector to a DmtxImage pointer where the array of bytes of the image is put in the vector. It is equivalent to dmtxImageCreate. Is this useful for dmtx in any way ? BTW I am using dmtx in C++ and it is trivial to do. Thanks for the implementation. Eddie Diener ______________________________________________________________________ This e-mail has been scanned by MCI Managed Email Content Service, using Skeptic(tm) technology powered by MessageLabs. For more information on MCI's Managed Email Content Service, visit http://www.mci.com. ______________________________________________________________________ |