Unverified Commit 74824e80 authored by Marius Göcke's avatar Marius Göcke
Browse files

some implementation

parent 1ca633f8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ SimpleOCRCLI .. SimpleOCRCLINote

[SimpleOCRService]
note as SimpleOCRServiceNote
  SimpleOCR is a simple OCR-service with a REST-API.
  SimpleOCRService is a simple OCR-service with a REST-API.
end note
SimpleOCRService .. SimpleOCRServiceNote

+3 −3
Original line number Diff line number Diff line
@@ -37,9 +37,9 @@
      <ns0:text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="120.5859" x="534" y="188.1426">SimpleOCRService</ns0:text>
    </ns0:g>
    <ns0:g class="entity" data-entity="SimpleOCRServiceNote" data-source-line="17" data-uid="ent0009" id="entity_SimpleOCRServiceNote">
      <ns0:path d="M594,272.6094 L594,298.9609 A0,0 0 0 0 594,298.9609 L931.3989,298.9609 A0,0 0 0 0 931.3989,298.9609 L931.3989,282.6094 L921.3989,272.6094 L747.9,272.6094 L634.87,201.6094 L739.9,272.6094 L594,272.6094 A0,0 0 0 0 594,272.6094" fill="#FEFFDD" style="stroke:#181818;stroke-width:0.5;" />
      <ns0:path d="M921.3989,272.6094 L921.3989,282.6094 L931.3989,282.6094 L921.3989,272.6094" fill="#FEFFDD" style="stroke:#181818;stroke-width:0.5;" />
      <ns0:text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="316.3989" x="600" y="291.1045">SimpleOCR is a simple OCR-service with a REST-API.</ns0:text>
      <ns0:path d="M594,272.6094 L594,298.9609 A0,0 0 0 0 594,298.9609 L974.7471,298.9609 A0,0 0 0 0 974.7471,298.9609 L974.7471,282.6094 L964.7471,272.6094 L767.39,272.6094 L639.64,201.6094 L759.39,272.6094 L594,272.6094 A0,0 0 0 0 594,272.6094" fill="#FEFFDD" style="stroke:#181818;stroke-width:0.5;" />
      <ns0:path d="M964.7471,272.6094 L964.7471,282.6094 L974.7471,282.6094 L964.7471,272.6094" fill="#FEFFDD" style="stroke:#181818;stroke-width:0.5;" />
      <ns0:text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="359.7471" x="600" y="291.1045">SimpleOCRService is a simple OCR-service with a REST-API.</ns0:text>
    </ns0:g>
    <ns0:g class="entity" data-entity="SimpleOCRApplicationImage" data-source-line="21" data-uid="ent0011" id="entity_SimpleOCRApplicationImage">
      <ns0:rect fill="#F1F1F1" height="47.6094" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="221.3027" x="653" y="45.6094" />
+2 −3
Original line number Diff line number Diff line
@@ -4,14 +4,13 @@
    codeunitspecificationversion="2.9.4"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://projects.aniondev.de/PublicProjects/Common/ProjectTemplates/-/raw/v2.9.4/Conventions/RepositoryStructure/CommonProjectStructure/codeunit.xsd" enabled="true">
    <cps:name>SimpleOCRApplicationImage</cps:name>
    <cps:version>1.0.0</cps:version>
    <cps:version>0.0.1</cps:version>
    <cps:codeunitownername>Marius Göcke</cps:codeunitownername>
    <cps:codeunitowneremailaddress>marius.goecke@gmail.com</cps:codeunitowneremailaddress>
    <cps:properties codeunithastestablesourcecode="true" codeunithasupdatabledependencies="true"
    <cps:properties codeunithastestablesourcecode="false" codeunithasupdatabledependencies="false"
        throwexceptionifcodeunitfilecannotbevalidated="false"
        developmentstate="Maintenance-updates only"
        description="SimpleOCRApplicationImage is the application-image for SimpleOCR.">
        <cps:testsettings minimalcodecoverageinpercent="1" />
        <cps:pipelinedemands>
        </cps:pipelinedemands>
        <cps:updatesettings>
+1 −0
Original line number Diff line number Diff line
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="96" height="20"><linearGradient id="b" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="a"><rect width="96" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#a)"><path fill="#555" d="M0 0h61v20H0z"/><path fill="#0374B5" d="M61 0h35v20H61z"/><path fill="url(#b)" d="M0 0h96v20H0z"/></g><g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="110"> <text x="315" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="510">coverage</text><text x="315" y="140" transform="scale(.1)" textLength="510">coverage</text><text x="775" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="250">55%</text><text x="775" y="140" transform="scale(.1)" textLength="250">55%</text></g></svg>
 No newline at end of file
+3 −1
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@ using Microsoft.Extensions.Logging;
using GRYLibrary.Core.Logging.GRYLogger;
using Error = CommandLine.Error;
using SimpleOCR.CLI.Core.Verbs;
using System;

namespace SimpleOCR.CLI.Core.Helper
{
@@ -54,8 +55,9 @@ namespace SimpleOCR.CLI.Core.Helper
                    );
                }
            }
            catch
            catch(System.Exception exception)
            {
                Console.Error.WriteLine($"An error occurred: {exception.Message}");
                return 2;
            }
        }
Loading