<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>DepthReaderOCRDialogBase</class>
 <widget class="QDialog" name="DepthReaderOCRDialogBase">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>1001</width>
    <height>528</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>Configurações - Depth Reader OCR</string>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout">
   <item>
    <widget class="QTabWidget" name="tabWidget">
     <property name="currentIndex">
      <number>1</number>
     </property>
     <widget class="QWidget" name="tab">
      <attribute name="title">
       <string>Sobre</string>
      </attribute>
      <layout class="QVBoxLayout" name="sobreLayout">
       <item>
        <widget class="QTextBrowser" name="tbInfo">
         <property name="minimumSize">
          <size>
           <width>929</width>
           <height>580</height>
          </size>
         </property>
         <property name="html">
          <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:8pt; font-weight:600;&quot;&gt;Este plugin detecta profundidades em cartas náuticas usando OCR.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:8pt; font-weight:600;&quot;&gt;• Diretório para Imagens de Debug:&lt;/span&gt;&lt;span style=&quot; font-size:8pt;&quot;&gt; Local onde serão salvas as imagens recortadas e processadas para depuração. Útil para verificar o desempenho do OCR.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:8pt; font-weight:600;&quot;&gt;• Caminho para o Arquivo CSV da Batimetria:&lt;/span&gt;&lt;span style=&quot; font-size:8pt;&quot;&gt; Local e nome do arquivo CSV onde as profundidades detectadas e suas coordenadas (X, Y) serão registradas.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:8pt; font-weight:600;&quot;&gt;• Tamanho do Recorte:&lt;/span&gt;&lt;span style=&quot; font-size:8pt;&quot;&gt; Define o tamanho do quadrado (em pixels) ao redor do ponto clicado que será analisado pelo OCR. Múltiplos de 16 são recomendados para otimização.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:8pt; font-weight:600;&quot;&gt;• Requisitos:&lt;/span&gt;&lt;span style=&quot; font-size:8pt;&quot;&gt; Para um desempenho ideal, certifique-se de que o Tesseract OCR está instalado e configurado corretamente em seu sistema. EasyOCR também é usado se disponível.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
         </property>
        </widget>
       </item>
      </layout>
     </widget>
     <widget class="QWidget" name="Geral">
      <attribute name="title">
       <string>Geral</string>
      </attribute>
      <layout class="QVBoxLayout" name="geralLayout">
       <item>
        <layout class="QVBoxLayout" name="ocr_checkbox_placeholder_layout"/>
       </item>
       <item>
        <widget class="QLabel" name="label_csv_path">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="text">
          <string>Caminho para o Arquivo CSV da Batimetria:</string>
         </property>
        </widget>
       </item>
       <item>
        <layout class="QHBoxLayout" name="csvLayout">
         <item>
          <widget class="QLineEdit" name="leCSVPath">
           <property name="sizePolicy">
            <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QPushButton" name="btnBrowseCSV">
           <property name="text">
            <string>Procurar...</string>
           </property>
          </widget>
         </item>
        </layout>
       </item>
       <item>
        <spacer name="geralSpacer">
         <property name="orientation">
          <enum>Qt::Vertical</enum>
         </property>
         <property name="sizeHint" stdset="0">
          <size>
           <width>20</width>
           <height>40</height>
          </size>
         </property>
        </spacer>
       </item>
      </layout>
     </widget>
     <widget class="QWidget" name="Avancado">
      <attribute name="title">
       <string>Avançado</string>
      </attribute>
      <layout class="QVBoxLayout" name="avancadoLayout">
       <item>
        <widget class="QLabel" name="label_debug_dir">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="text">
          <string>Diretório para Imagens de Debug:</string>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QLineEdit" name="leDebugDir">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QPushButton" name="btnBrowseDebugDir">
         <property name="text">
          <string>Procurar...</string>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QLabel" name="label_clip_size">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="text">
          <string>Tamanho do Recorte (pixels - múltiplos de 16):</string>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QComboBox" name="cbClipSize">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <item>
          <property name="text">
           <string>16</string>
          </property>
         </item>
         <item>
          <property name="text">
           <string>32</string>
          </property>
         </item>
         <item>
          <property name="text">
           <string>48</string>
          </property>
         </item>
         <item>
          <property name="text">
           <string>64</string>
          </property>
         </item>
         <item>
          <property name="text">
           <string>80</string>
          </property>
         </item>
         <item>
          <property name="text">
           <string>96</string>
          </property>
         </item>
        </widget>
       </item>
       <item>
        <widget class="QLabel" name="label">
         <property name="text">
          <string>Ângulos de Rotação (°)</string>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QLineEdit" name="leRotations">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QGroupBox" name="groupBox">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="title">
          <string>Filtros de Pré-processamento Ativos</string>
         </property>
         <layout class="QVBoxLayout" name="filtrosLayout">
          <item>
           <widget class="QCheckBox" name="chkClahe">
            <property name="text">
             <string>CLAHE</string>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QCheckBox" name="chkGaussian">
            <property name="text">
             <string>Threshold Adaptativo Gaussiano</string>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QCheckBox" name="chkMean">
            <property name="text">
             <string>Threshold Adaptativo Médio</string>
            </property>
           </widget>
          </item>
         </layout>
        </widget>
       </item>
       <item>
        <spacer name="avancadoSpacer">
         <property name="orientation">
          <enum>Qt::Vertical</enum>
         </property>
         <property name="sizeHint" stdset="0">
          <size>
           <width>20</width>
           <height>40</height>
          </size>
         </property>
        </spacer>
       </item>
      </layout>
     </widget>
    </widget>
   </item>
   <item>
    <layout class="QFormLayout" name="formLayout"/>
   </item>
   <item>
    <widget class="QDialogButtonBox" name="button_box">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="standardButtons">
      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
     </property>
    </widget>
   </item>
  </layout>
 </widget>
 <resources/>
 <connections>
  <connection>
   <sender>button_box</sender>
   <signal>accepted()</signal>
   <receiver>DepthReaderOCRDialogBase</receiver>
   <slot>accept()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>20</x>
     <y>20</y>
    </hint>
    <hint type="destinationlabel">
     <x>20</x>
     <y>20</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>button_box</sender>
   <signal>rejected()</signal>
   <receiver>DepthReaderOCRDialogBase</receiver>
   <slot>reject()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>20</x>
     <y>20</y>
    </hint>
    <hint type="destinationlabel">
     <x>20</x>
     <y>20</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>