<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Völlig offtopic: Das Hatbarkeitsdatum kann bei Python mit dem Befehl "python <span style="font-family: Menlo; font-size: 11px;" class=""> </span><span style="font-family: Menlo; font-size: 11px;" class="">--version" ganz ohne CV geprüft werden.</span><div class=""><font face="Menlo" class=""><span style="font-size: 11px;" class=""><br class=""></span></font></div><div class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">Alles <3 ist abgelaufen ;-)</span></font></div><div class=""><font face="Menlo" class=""><span style="font-size: 11px;" class=""><br class=""></span></font></div><div class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">LG Armin<br class=""></span></font><div><br class=""><blockquote type="cite" class=""><div class="">Am 29.10.2020 um 16:43 schrieb Newsletterkonto <<a href="mailto:okfdnewsletter@horald.de" class="">okfdnewsletter@horald.de</a>>:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hallo Markus,<br class=""><br class="">danke für den Tipp. Das Buch "DeepLerning with Python" werde ich mir wohl dann mal anschaffen ;-) Mit Google und Cloud-Lösungen kann ich mich aber gar nicht anfreunden. Ich möchte solche Datenkraken nicht auch noch mit meinen Meta-Daten "füttern". Aber trotzdem danke für den Hinweis.<br class=""><br class="">Viele Grüße<br class=""><br class="">Horst<br class=""><br class="">Am 29.10.20 um 12:09 schrieb Markus Harter:<br class=""><blockquote type="cite" class="">Hallo Horst,<br class=""><br class="">Auch wenn ich in diesem Forum mich bisher fast nicht betätigt habe, möchte ich kurz zwei Ansätze dazu benennen:<br class=""><br class="">1. Im Bereich KI/DeepLearning/ gibt es ein paar sehr gute und leistungsfähige Bibliotheken. Besonders hervor heben möchte ich TensorFlow und Keras. Das Buch "DeepLearning with Python" von Francois Chollet ist sehr gut. Aus seinen exzellenten Beispielen zur Texterkennung lässt sich sehr gut der von Dir benannten Anwendungsfall bewältigen.<br class=""><br class="">2. Google betreibt unter Firebase das Modul Firebase-ML Wenn Du dich mit der Nutzung von dieser Cloud-Lösung anfreunden kannst, wird dir die Einbettung in Deine Anforderung auch leicht gelingen. Es gibt mittlerweile auch recht gut python Bibliotheken zu fireblade. Solltest du gar eine Mobile Anwendung im Sinn haben (leider muss man dazu die heile Welt des Python verlassen ;-( ), ist dann flutter/Dart ein zielführender Ansatz. Eines der prominentesten Beispiele ist genau die Texterkennung. Klappt prima, habe ich selber unter IOS und Android ausgetestet.<br class=""><br class="">Besten Gruß<br class=""><br class="">Markus<br class=""><br class=""><br class="">Dr. Markus Harter<br class="">Geschäftsführer/General Manager<br class=""><br class=""><a href="http://www.con4tech.com" class="">www.con4tech.com</a><br class=""><br class="">+49 2238 925068<br class="">+49 2238 925069<br class="">+49 179 22 33 254<br class=""><br class="">Con4Tech GmbH<br class="">Ingendorfer Strasse 27<br class="">D-50259 Pulheim, Germany<br class="">Handelsregister Köln, HRB 54605<br class="">Geschäftsführer Dr. Markus Harter<br class="">Ust.ID-Nr. DE239 974 137<br class="">D.U.N.S    333 985 617<br class=""><br class="">Diese e-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind, oder diese e-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten diese e-Mail. Das unerlaubte Kopieren oder die unbefugte Weitergabe dieser e-Mail ist nicht gestattet.<br class=""><br class=""><blockquote type="cite" class="">Am 27.10.2020 um 19:47 schrieb Dr. Mark Asbach <mark.asbach@pixolus.de>:<br class=""><br class="">Hallo Horst,<br class=""><br class=""><blockquote type="cite" class="">ich versuche gerade ein Haltbarkeitsdatum mit OpenCV-Python auszulesen. Einen Beispielcode habe ich auf folgender Seite gefunden: https://stackoverflow.com/questions/23506105/extracting-text-opencv<br class="">Da es zwischen C, Python und anderen Programmiersprachen springt, habe ich mal das Python-Script als Textdatei beigefügt. Es erkennt auch etwas, aber leider nicht das Haltbarkeitsdatum. Da ich mich mit OpenCV noch nicht so gut auskenne, weiß ich auch nicht an welchen Parametern ich drehen muss. Wer hat eine Idee und kann mir weiterhelfen. Vielen Dank.<br class=""></blockquote>Das ist nicht ganz trivial, schreibe ich mal als jemand, der das beruflich macht ;-)<br class=""><br class="">In Deinem Beispielcode findet keine Textdetektion (also „wo im Bild sind Buchstaben“) und keine OCR („welche Buchstaben stehen dort“) - das wären die beiden wichtigen Schritte. Wie man diese Teilschritte umsetzt, hängt sehr am Problem. Ist das interaktiv? Dann könntest Du eine Art Suchfenster einblenden, in dem man als Nutzer den Deckel positionieren muss, und Du hast Dir den ersten Schritt gespart. Alternativ kannst Du z.B. mit dem EAST-Algorithmus die Bildregionen suchen, in denen sich Text befindet.<br class=""><br class="">Hast Du eine Bildregion mit Text, kannst Du dann versuchen, mit Tesseract (open source OCR, in OpenCV integriert), die Buchstaben auszulesen.<br class=""><br class="">Hier ist ein Tutorial für EAST + Tesseract: https://medium.com/@jaafarbenabderrazak.info/opencv-east-model-and-tesseract-for-detection-and-recognition-of-text-in-natural-scene-1fa48335c4d1<br class=""><br class="">Grüße,<br class="">Mark<br class=""><br class="">-- <br class="">Dr. Mark Asbach<br class="">pixolus GmbH<br class="">Große Brinkgasse 2b, 50672 Köln<br class="">https://pixolus.de, Tel +49 221 949992-20<br class="">Registergericht: Amtsgericht Köln, HRB 80243<br class="">Geschäftsführer: Dr. Mark Asbach, Dr. Stefan Krausz<br class=""><br class="">________________________________________<br class=""><br class="">Diese Mail erhalten Sie ueber die Mailingliste python-users der Universitaet zu Koeln<br class="">Nachrichten an: python-users@uni-koeln.de<br class="">Abonnement und Benutzereinstellungen: https://lists.uni-koeln.de/mailman/listinfo/python-users<br class="">Listenarchiv: https://lists.uni-koeln.de/pipermail/python-users/<br class=""><br class="">pyCologne Homepage: http://pycologne.de/<br class=""></blockquote></blockquote>________________________________________<br class=""><br class="">Diese Mail erhalten Sie ueber die Mailingliste python-users der Universitaet zu Koeln<br class="">Nachrichten an: <a href="mailto:python-users@uni-koeln.de" class="">python-users@uni-koeln.de</a><br class="">Abonnement und Benutzereinstellungen: <a href="https://lists.uni-koeln.de/mailman/listinfo/python-users" class="">https://lists.uni-koeln.de/mailman/listinfo/python-users</a><br class="">Listenarchiv: <a href="https://lists.uni-koeln.de/pipermail/python-users/" class="">https://lists.uni-koeln.de/pipermail/python-users/</a><br class=""><br class="">pyCologne Homepage: <a href="http://pycologne.de/" class="">http://pycologne.de/</a><br class=""></div></div></blockquote></div><br class=""></div><br class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">--<br class="">Armin Carl Stroß-Radschinski | <a href="mailto:developer@acsr.de" class="">developer@acsr.de</a> | Twitter: @syncmitter <br class="">Dipl. Designer FH | project-consultant | fon +49 171 21 94699 | IRC: acsr </div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class="">ACSR industrialdesign | Armin Stroß-Radschinski <br class="">Landgrafenstraße 32 · 53842 Troisdorf · Germany | UST. ID Nr: DE154092803 (EU VAT ID)<br class=""><a href="mailto:info@acsr.de" class="">info@acsr.de</a> | <a href="http://www.acsr.de" class="">www.acsr.de</a> | phone +49 2241 946994 · fax +49 2241 946996</div></div></div></div>
</div>
<br class=""></body></html>