Would Scandoc be somthing for Extragear?

Volker Krause vkrause at kde.org
Thu Nov 10 18:46:08 GMT 2022


On Donnerstag, 10. November 2022 18:00:27 CET Klaas Freitag wrote:
> Hallo Volker,
> 
> Am 10.11.22 um 17:38 schrieb Volker Krause:
> > On Donnerstag, 10. November 2022 12:25:26 CET Klaas Freitag wrote:
> >> Am 10.11.22 um 10:09 schrieb Thomas Baumgart:
> >>> I am
> >>> thinking about adding a webcam interface so that KMyMoney can use it to
> >>> read the QR code and use the data to fill out the form for online
> >>> payments
> >>> that KMyMoney already has. Or even use the PDF file as input an pull out
> >>> the QR code. That would improve productivity I think.
> >> 
> >> Well, if it was only Kraft, we would probably be better off using in the
> >> PDF embedded Metadata to detect that. Having that as an OCR based
> >> feature would add that more generic of course.
> > 
> > Right, we likely need to support all of those methods for handling
> > arbitrary input documents anyway.
> > 
> > I'd be very interested in EPC QR sample documents to check whether ZXing
> > and our PDF extractor can handle those correctly :) (EPC QR is slightly
> > special due to it being text-based while defining the used text codec
> > inside the text itself, that could potentially confuse content/codec
> > auto-detection).
> I created a test doc here (my hosting):
> https://pjatniza.net/owncloud/index.php/s/Km8iIjLBYJHe5nY
> 
> If you need more let me know, but the QR code only encodes some quite
> "interesting" text, so it should not really change something structural
> if I'd send you another invoice or two built with Kraft. Yeah, text
> encoding maybe... ;-)

Thanks! 

No problem with ZXing, but as this is ASCII-only that is expected.

The QR code is a vector graphic in the PDF (good, but rare), that required a 
minor tweak in the PDF extractor used by Itinerary to be properly recognized, 
but that works as well now.

Besides being potentially useful for PDF import in KMyMoney, this could also 
enable things like a KMail plugin that automatically detects invoices and 
offers triggering payment for example, similar to what we do with adding travel 
tickets to the calendar :)

Regards,
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-devel/attachments/20221110/d620788e/attachment.sig>


More information about the kde-devel mailing list