Author Topic: New Plugin - QR Code generator  (Read 19834 times)

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 5319
  • Made in England
    • View Profile
Re: New Plugin - QR Code generator
« Reply #15 on: July 23, 2023, 09:06:52 am »
Lloyd, et al,

I realised about 3am that I had set the minimum width to 1 which is fine for metric but not inches.
Please find version 1.1 attached where the minimum width is now 0.01

Only the plugin file is attached here.

@Dave,

Thanks for the info, it's always a good idea to use methods that suit you best.
« Last Edit: July 23, 2023, 09:14:51 am by EddyCurrent »
Filmed in Supermarionation

Offline dave benson

  • CNC Jedi
  • *****
  • Posts: 1886
    • View Profile
Re: New Plugin - QR Code generator
« Reply #16 on: July 23, 2023, 12:04:08 pm »
I knew about the QR code generator in Inscape, because I was playing around with a
microcontroller and a web cam to read QR codes and barcodes there’s a few other s too.
That was a few years ago now, what I do remember is that some android apps were far better
at recognising the codes than others, another thing is that the QR code I did above had no errors
at a certain size, but resized, the read error rate went up to 30%, Inkscape tells you what that error is, maybe your library
has this function too, this would help avoiding settling on a dimension that is hard to read.
So if you have trouble reading a code with your phone then resizing it may help a lot.

Offline annuello

  • Droid
  • **
  • Posts: 52
    • View Profile
Re: New Plugin - QR Code generator
« Reply #17 on: September 29, 2023, 22:40:06 pm »
Just saw this cool plugin and gave it a try following the steps in the original post.  Mine doesn't show the Generate or Cancel buttons.  ???  Debug level 4 doesn't show any errors.  What am I doing wrong?  (No Unblock button in DLL properties.)

CamBam v1.0 64bit, Win10 Home, 22H2.

Annuello

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7564
    • View Profile
    • Cambam V1.0 French Doc
Re: New Plugin - QR Code generator
« Reply #18 on: September 30, 2023, 00:57:28 am »
Bubba,
Back in the early '80s, I wrote the low-level machine-language code to decode a 'light pen' output reading the then-popular Code-39.  I found it to be quite an adventure, and I learnt a lot about how to scale things (in M/L!) over periods of acceleration or deceleration of the read.  (Remember, these were hand-scanned, so speed varied, even across a short 'code'.)

I find what you're doing very interesting, and I have a question:  How do the black 'hatch' lines between adjacent white elements of the code affect its readability?  Do they affect it at all? Some?  A lot?

Lloyd

Not sure it is readable by the phone, but you can do the following:

- generate a QR code with square only
- select all squares > Draw/surfaces/fill
- with the surfaces that remain selected > join

now you get an unique "plain" surface objet without lines.

@annuello .. no idea for your problem .. works OK for me.

++
David
« Last Edit: September 30, 2023, 21:27:20 pm by dh42 »