änderung spacy losses für ml erkennung

This commit is contained in:
Ralph Soika 2021-12-02 18:19:06 +01:00
parent 2f3eae8d4f
commit 58ac87e00a

View file

@ -84,6 +84,7 @@ Possible ImageTypes are:
<bpmn2:flowNodeRef>IntermediateCatchEvent_6</bpmn2:flowNodeRef> <bpmn2:flowNodeRef>IntermediateCatchEvent_6</bpmn2:flowNodeRef>
<bpmn2:flowNodeRef>IntermediateCatchEvent_1</bpmn2:flowNodeRef> <bpmn2:flowNodeRef>IntermediateCatchEvent_1</bpmn2:flowNodeRef>
<bpmn2:flowNodeRef>Task_3</bpmn2:flowNodeRef> <bpmn2:flowNodeRef>Task_3</bpmn2:flowNodeRef>
<bpmn2:flowNodeRef>IntermediateCatchEvent_7</bpmn2:flowNodeRef>
</bpmn2:lane> </bpmn2:lane>
</bpmn2:laneSet> </bpmn2:laneSet>
<bpmn2:task id="Task_1" imixs:processid="100" name="Erfassung"> <bpmn2:task id="Task_1" imixs:processid="100" name="Erfassung">
@ -241,6 +242,7 @@ Betrag: <itemvalue>_amount</itemvalue> (Brutto € <itemvalue>_amount_brutto</it
<bpmn2:incoming>SequenceFlow_5</bpmn2:incoming> <bpmn2:incoming>SequenceFlow_5</bpmn2:incoming>
<bpmn2:outgoing>SequenceFlow_9</bpmn2:outgoing> <bpmn2:outgoing>SequenceFlow_9</bpmn2:outgoing>
<bpmn2:outgoing>SequenceFlow_8</bpmn2:outgoing> <bpmn2:outgoing>SequenceFlow_8</bpmn2:outgoing>
<bpmn2:outgoing>SequenceFlow_16</bpmn2:outgoing>
</bpmn2:task> </bpmn2:task>
<bpmn2:sequenceFlow id="SequenceFlow_4" sourceRef="IntermediateCatchEvent_2" targetRef="Task_2"/> <bpmn2:sequenceFlow id="SequenceFlow_4" sourceRef="IntermediateCatchEvent_2" targetRef="Task_2"/>
<bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_3" imixs:activityid="10" name="OCR"> <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_3" imixs:activityid="10" name="OCR">
@ -382,7 +384,7 @@ Betrag: <itemvalue>_amount</itemvalue> (Brutto € <itemvalue>_amount_brutto</it
</imixs:item> </imixs:item>
<imixs:item name="txtactivityresult" type="xs:string"> <imixs:item name="txtactivityresult" type="xs:string">
<imixs:value><![CDATA[<ml-config name="model">invoice-de-0.1.0</ml-config> <imixs:value><![CDATA[<ml-config name="model">invoice-de-0.1.0</ml-config>
<ml-config name="options">min_losses=1.0</ml-config> <ml-config name="options">min_losses=0.0001</ml-config>
<ml-config name="filename.pattern">((PDF|pdf)$)</ml-config> <ml-config name="filename.pattern">((PDF|pdf)$)</ml-config>
<ml-config name="entity"> <ml-config name="entity">
<name>invoice.total</name> <name>invoice.total</name>
@ -452,6 +454,7 @@ Betrag: <itemvalue>_amount</itemvalue> (Brutto € <itemvalue>_amount_brutto</it
</imixs:item> </imixs:item>
</bpmn2:extensionElements> </bpmn2:extensionElements>
<bpmn2:incoming>SequenceFlow_7</bpmn2:incoming> <bpmn2:incoming>SequenceFlow_7</bpmn2:incoming>
<bpmn2:incoming>SequenceFlow_17</bpmn2:incoming>
<bpmn2:outgoing>SequenceFlow_10</bpmn2:outgoing> <bpmn2:outgoing>SequenceFlow_10</bpmn2:outgoing>
<bpmn2:linkEventDefinition id="LinkEventDefinition_1" name="Link Event Definition 9"/> <bpmn2:linkEventDefinition id="LinkEventDefinition_1" name="Link Event Definition 9"/>
</bpmn2:intermediateCatchEvent> </bpmn2:intermediateCatchEvent>
@ -511,7 +514,7 @@ Betrag: <itemvalue>_amount</itemvalue> (Brutto € <itemvalue>_amount_brutto</it
<bpmn2:timerEventDefinition id="TimerEventDefinition_1"/> <bpmn2:timerEventDefinition id="TimerEventDefinition_1"/>
</bpmn2:boundaryEvent> </bpmn2:boundaryEvent>
<bpmn2:sequenceFlow id="SequenceFlow_2" sourceRef="BoundaryEvent_1" targetRef="IntermediateCatchEvent_3"/> <bpmn2:sequenceFlow id="SequenceFlow_2" sourceRef="BoundaryEvent_1" targetRef="IntermediateCatchEvent_3"/>
<bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_1" imixs:activityid="40" name="[timeout 2h]"> <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_1" imixs:activityid="40" name="[timeout 90m]">
<bpmn2:extensionElements> <bpmn2:extensionElements>
<imixs:item name="keypublicresult" type="xs:string"> <imixs:item name="keypublicresult" type="xs:string">
<imixs:value><![CDATA[0]]></imixs:value> <imixs:value><![CDATA[0]]></imixs:value>
@ -523,10 +526,10 @@ Betrag: <itemvalue>_amount</itemvalue> (Brutto € <itemvalue>_amount_brutto</it
<imixs:value><![CDATA[1]]></imixs:value> <imixs:value><![CDATA[1]]></imixs:value>
</imixs:item> </imixs:item>
<imixs:item name="numactivitydelay" type="xs:string"> <imixs:item name="numactivitydelay" type="xs:string">
<imixs:value><![CDATA[2]]></imixs:value> <imixs:value><![CDATA[90]]></imixs:value>
</imixs:item> </imixs:item>
<imixs:item name="keyactivitydelayunit" type="xs:string"> <imixs:item name="keyactivitydelayunit" type="xs:string">
<imixs:value><![CDATA[2]]></imixs:value> <imixs:value><![CDATA[1]]></imixs:value>
</imixs:item> </imixs:item>
<imixs:item name="rtfresultlog" type="CDATA"> <imixs:item name="rtfresultlog" type="CDATA">
<imixs:value><![CDATA[OCR scan restarted after timeout]]></imixs:value> <imixs:value><![CDATA[OCR scan restarted after timeout]]></imixs:value>
@ -586,8 +589,32 @@ Betrag: <itemvalue>_amount</itemvalue> (Brutto € <itemvalue>_amount_brutto</it
<bpmn2:sequenceFlow id="SequenceFlow_8" sourceRef="Task_2" targetRef="IntermediateCatchEvent_6"/> <bpmn2:sequenceFlow id="SequenceFlow_8" sourceRef="Task_2" targetRef="IntermediateCatchEvent_6"/>
<bpmn2:sequenceFlow id="SequenceFlow_14" sourceRef="IntermediateCatchEvent_6" targetRef="Task_3"/> <bpmn2:sequenceFlow id="SequenceFlow_14" sourceRef="IntermediateCatchEvent_6" targetRef="Task_3"/>
<bpmn2:sequenceFlow id="SequenceFlow_15" sourceRef="Task_3" targetRef="EndEvent_1"/> <bpmn2:sequenceFlow id="SequenceFlow_15" sourceRef="Task_3" targetRef="EndEvent_1"/>
<bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_7" imixs:activityid="41" name="[Skip OCR after 3h]">
<bpmn2:extensionElements>
<imixs:item name="rtfresultlog" type="CDATA">
<imixs:value><![CDATA[OCR failed]]></imixs:value>
</imixs:item>
<imixs:item name="keyscheduledbaseobject" type="xs:string">
<imixs:value><![CDATA[3]]></imixs:value>
</imixs:item>
<imixs:item name="numactivitydelay" type="xs:string">
<imixs:value><![CDATA[3]]></imixs:value>
</imixs:item>
<imixs:item name="keyscheduledactivity" type="xs:string">
<imixs:value><![CDATA[1]]></imixs:value>
</imixs:item>
<imixs:item name="keyactivitydelayunit" type="xs:string">
<imixs:value><![CDATA[2]]></imixs:value>
</imixs:item>
</bpmn2:extensionElements>
<bpmn2:incoming>SequenceFlow_16</bpmn2:incoming>
<bpmn2:outgoing>SequenceFlow_17</bpmn2:outgoing>
<bpmn2:timerEventDefinition id="TimerEventDefinition_3"/>
</bpmn2:intermediateCatchEvent>
<bpmn2:sequenceFlow id="SequenceFlow_16" sourceRef="Task_2" targetRef="IntermediateCatchEvent_7"/>
<bpmn2:sequenceFlow id="SequenceFlow_17" sourceRef="IntermediateCatchEvent_7" targetRef="IntermediateCatchEvent_5"/>
<bpmn2:textAnnotation id="TextAnnotation_2"> <bpmn2:textAnnotation id="TextAnnotation_2">
<bpmn2:text>min_losses = 1.0 <bpmn2:text>min_losses = 1.0 -> 1.12.2021 geändert auf 0.0001
filename.pattern = (PDF|pdf)$</bpmn2:text> filename.pattern = (PDF|pdf)$</bpmn2:text>
</bpmn2:textAnnotation> </bpmn2:textAnnotation>
<bpmn2:association id="Association_1" sourceRef="TextAnnotation_2" targetRef="IntermediateCatchEvent_4"/> <bpmn2:association id="Association_1" sourceRef="TextAnnotation_2" targetRef="IntermediateCatchEvent_4"/>
@ -687,15 +714,15 @@ X-Tika-PDFocrStrategy=OCR_ONLY</bpmn2:text>
</bpmndi:BPMNLabel> </bpmndi:BPMNLabel>
</bpmndi:BPMNShape> </bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_TextAnnotation_2" bpmnElement="TextAnnotation_2"> <bpmndi:BPMNShape id="BPMNShape_TextAnnotation_2" bpmnElement="TextAnnotation_2">
<dc:Bounds height="50.0" width="201.0" x="831.0" y="200.0"/> <dc:Bounds height="50.0" width="320.0" x="831.0" y="200.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_13"> <bpmndi:BPMNLabel id="BPMNLabel_13">
<dc:Bounds height="44.0" width="189.0" x="837.0" y="200.0"/> <dc:Bounds height="44.0" width="308.0" x="837.0" y="200.0"/>
</bpmndi:BPMNLabel> </bpmndi:BPMNLabel>
</bpmndi:BPMNShape> </bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_1" bpmnElement="IntermediateCatchEvent_1"> <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_1" bpmnElement="IntermediateCatchEvent_1">
<dc:Bounds height="36.0" width="36.0" x="560.0" y="405.0"/> <dc:Bounds height="36.0" width="36.0" x="560.0" y="405.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_29"> <bpmndi:BPMNLabel id="BPMNLabel_29">
<dc:Bounds height="14.0" width="63.0" x="547.0" y="441.0"/> <dc:Bounds height="14.0" width="73.0" x="542.0" y="441.0"/>
</bpmndi:BPMNLabel> </bpmndi:BPMNLabel>
</bpmndi:BPMNShape> </bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_BoundaryEvent_1" bpmnElement="BoundaryEvent_1"> <bpmndi:BPMNShape id="BPMNShape_BoundaryEvent_1" bpmnElement="BoundaryEvent_1">
@ -720,6 +747,12 @@ X-Tika-PDFocrStrategy=OCR_ONLY</bpmn2:text>
<dc:Bounds height="65.0" width="215.0" x="456.0" y="120.0"/> <dc:Bounds height="65.0" width="215.0" x="456.0" y="120.0"/>
</bpmndi:BPMNLabel> </bpmndi:BPMNLabel>
</bpmndi:BPMNShape> </bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_7" bpmnElement="IntermediateCatchEvent_7">
<dc:Bounds height="36.0" width="36.0" x="650.0" y="481.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_38">
<dc:Bounds height="28.0" width="66.0" x="635.0" y="517.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="BPMNShape_ExclusiveGateway_1" targetElement="BPMNShape_IntermediateCatchEvent_2"> <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="BPMNShape_ExclusiveGateway_1" targetElement="BPMNShape_IntermediateCatchEvent_2">
<di:waypoint xsi:type="dc:Point" x="451.0" y="321.0"/> <di:waypoint xsi:type="dc:Point" x="451.0" y="321.0"/>
<di:waypoint xsi:type="dc:Point" x="467.0" y="321.0"/> <di:waypoint xsi:type="dc:Point" x="467.0" y="321.0"/>
@ -823,6 +856,18 @@ X-Tika-PDFocrStrategy=OCR_ONLY</bpmn2:text>
<di:waypoint xsi:type="dc:Point" x="733.0" y="303.0"/> <di:waypoint xsi:type="dc:Point" x="733.0" y="303.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_37"/> <bpmndi:BPMNLabel id="BPMNLabel_37"/>
</bpmndi:BPMNEdge> </bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_16" bpmnElement="SequenceFlow_16" sourceElement="BPMNShape_Task_2" targetElement="BPMNShape_IntermediateCatchEvent_7">
<di:waypoint xsi:type="dc:Point" x="626.0" y="346.0"/>
<di:waypoint xsi:type="dc:Point" x="626.0" y="499.0"/>
<di:waypoint xsi:type="dc:Point" x="650.0" y="499.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_39"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_17" bpmnElement="SequenceFlow_17" sourceElement="BPMNShape_IntermediateCatchEvent_7" targetElement="BPMNShape_IntermediateCatchEvent_5">
<di:waypoint xsi:type="dc:Point" x="686.0" y="499.0"/>
<di:waypoint xsi:type="dc:Point" x="902.0" y="499.0"/>
<di:waypoint xsi:type="dc:Point" x="902.0" y="339.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_40"/>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane> </bpmndi:BPMNPlane>
<bpmndi:BPMNLabelStyle id="BPMNLabelStyle_1"> <bpmndi:BPMNLabelStyle id="BPMNLabelStyle_1">
<dc:Font name="arial" size="9.0"/> <dc:Font name="arial" size="9.0"/>