nopaque/app/templates/services/ocr.html.j2

188 lines
8.0 KiB
Plaintext
Raw Normal View History

2020-02-07 14:21:59 +00:00
{% extends "nopaque.html.j2" %}
2020-02-25 08:59:49 +00:00
{% set headline = '<i class="material-icons left service" data-service="ocr" style="font-size: inherit;"></i>Optical Character Recognition' %}
2020-02-20 09:13:35 +00:00
2019-07-19 11:28:17 +00:00
{% block page_content %}
2020-02-18 14:31:10 +00:00
<div class="col s12 m9 l10">
<div class="col s12">
<div class="card">
<div class="card-content">
<div class="row">
<div class="col s12 m6">
<span class="card-title"><i class="left material-icons">layers</i>Eingabe von Bilddaten</span>
<p>Über ein Auftragsformular können Bilddaten in Form von PDF-Dateien hochgeladen werden.</p>
</div>
<div class="col s12 hide-on-med-and-up">&nbsp;</div>
<div class="col s12 m6">
<span class="card-title"><i class="left material-icons">layers</i>Optische Zeichenerkennung</span>
<p>Die optische Zeichenerkennung erfolgt in der Recheninfrastruktur der Plattform.</p>
</div>
<div class="col s12">&nbsp;</div>
<div class="col s12 m6">
<span class="card-title"><i class="left material-icons">layers</i>Fehlerkorrektur</span>
<p>Je nach Qualität der Eingabedaten kann es zu Fehlern kommen, die korrigiert werden sollten.</p>
</div>
<div class="col s12 hide-on-med-and-up">&nbsp;</div>
<div class="col s12 m6">
<span class="card-title"><i class="left material-icons">layers</i>Weiterverarbeitung</span>
<p>Die Textdaten können weiterverarbeitet<a class="tooltipped" data-position="top" data-tooltip="Zum Beispiel durch die hier angebotene linguistische Datenverarbeitung."><sup>[*]</sup></a> oder in dieser Form bereits genutzt<a class="tooltipped" data-position="top" data-tooltip="Zum Beispiel mit dem Programm &quot;AntConc&quot;."><sup>[*]</sup></a> werden.</p>
</div>
</div>
</div>
</div>
</div>
2020-02-18 14:31:10 +00:00
<div class="col s12">
<h3>Submit a job</h3>
<div class="card">
<form class="nopaque-job-form" data-progress-modal="progress-modal">
<div class="card-content">
{{ add_job_form.hidden_tag() }}
<div class="row">
<div class="col s12 m4">
<div class="input-field">
<i class="material-icons prefix">title</i>
{{ add_job_form.title(class="validate", data_length='32') }}
{{ add_job_form.title.label }}
{% for error in add_job_form.title.errors %}
<span class="helper-text red-text">{{ error }}</span>
{% endfor %}
</div>
2019-08-05 10:25:51 +00:00
</div>
2020-02-18 14:31:10 +00:00
<div class="col s12 m8">
<div class="input-field">
<i class="material-icons prefix">description</i>
{{ add_job_form.description(class="validate", data_length='255') }}
{{ add_job_form.description.label }}
{% for error in add_job_form.description.errors %}
<span class="helper-text red-text">{{ error }}</span>
{% endfor %}
</div>
2020-02-18 14:31:10 +00:00
</div>
<div class="col s12 m5">
<div class="file-field input-field">
<div class="btn">
<span>{{ add_job_form.files.label.text }}</span>
{{ add_job_form.files(accept='application/pdf, image/tiff') }}
</div>
<div class="file-path-wrapper">
<input class="file-path validate" type="text">
</div>
{% for error in add_job_form.files.errors %}
<span class="helper-text red-text">{{ error }}</span>
{% endfor %}
</div>
</div>
2020-02-18 14:31:10 +00:00
<div class="col s12 m4">
<div class="input-field">
<i class="material-icons prefix">language</i>
{{ add_job_form.language(class="validate") }}
{{ add_job_form.language.label }}
{% for error in add_job_form.language.errors %}
<span class="helper-text red-text">{{ error }}</span>
{% endfor %}
</div>
2019-09-23 12:10:27 +00:00
</div>
2020-02-18 14:31:10 +00:00
<div class="col s12 m3">
<div class="input-field">
<i class="material-icons prefix">apps</i>
{{ add_job_form.version(class="validate") }}
{{ add_job_form.version.label }}
{% for error in add_job_form.version.errors %}
<span class="helper-text red-text">{{ error }}</span>
{% endfor %}
</div>
</div>
2020-02-27 15:26:04 +00:00
<div class="col s12">
<span class="card-title">Preprocessing options</span>
</div>
<div class="col s9">
<p>{{ add_job_form.binarization.label.text }}</p>
<p class="light">Based on a brightness threshold pixels are converted to either black or white. Reduces noise in images.</p>
</div>
<div class="col s3 right-align">
<div class="switch">
<label>
{{ add_job_form.binarization() }}
<span class="lever"></span>
</label>
2019-09-24 10:03:24 +00:00
</div>
2019-09-12 14:00:48 +00:00
</div>
2020-02-27 15:26:04 +00:00
<div class="col s12"><p>&nbsp;</p></div>
<div class="col s12 divider"></div>
<div class="col s12"><p>&nbsp;</p></div>
<div class="col s9">
<p>Page range</p>
<p class="light">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempora invidunt ut</p>
</div>
<div class="col s3 right-align">
<div class="switch">
<label>
<input disabled type="checkbox">
<span class="lever"></span>
</label>
2019-09-24 10:03:24 +00:00
</div>
</div>
2020-02-27 15:26:04 +00:00
<div class="col s12"><p>&nbsp;</p></div>
<div class="col s12 divider"></div>
<div class="col s12"><p>&nbsp;</p></div>
<div class="col s9">
<p>Page rotation</p>
<p class="light">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempora invidunt ut</p>
</div>
<div class="col s3 right-align">
<div class="switch">
<label>
<input disabled type="checkbox">
<span class="lever"></span>
</label>
2019-09-24 10:03:24 +00:00
</div>
</div>
2020-02-27 15:26:04 +00:00
<div class="col s12"><p>&nbsp;</p></div>
<div class="col s12 divider"></div>
<div class="col s12"><p>&nbsp;</p></div>
<div class="col s9">
<p>Page split</p>
<p class="light">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempora invidunt ut</p>
</div>
<div class="col s3 right-align">
<div class="switch">
<label>
<input disabled type="checkbox">
<span class="lever"></span>
</label>
2019-09-24 10:03:24 +00:00
</div>
2019-09-12 14:00:48 +00:00
</div>
2020-02-27 15:26:04 +00:00
<!--
Seperate each setting with the following
<div class="col s12"><p>&nbsp;</p></div>
<div class="col s12 divider"></div>
<div class="col s12"><p>&nbsp;</p></div>
-->
2019-09-12 14:00:48 +00:00
</div>
</div>
2020-02-18 14:31:10 +00:00
<div class="card-action right-align">
2020-02-24 08:27:02 +00:00
{{ macros.submit_button(add_job_form.submit) }}
2020-02-18 14:31:10 +00:00
</div>
</form>
</div>
2019-07-19 11:28:17 +00:00
</div>
</div>
2020-02-18 14:31:10 +00:00
<div class="col hide-on-small-only m3 l2">
{% include 'services/roadmap.html.j2' %}
</div>
<div id="progress-modal" class="modal">
<div class="modal-content">
<h4><i class="material-icons left">file_upload</i>Uploading files for <span class="title"></span></h4>
<div class="progress">
<div class="determinate" style="width: 0%"></div>
</div>
</div>
<div class="modal-footer">
2020-02-20 14:59:08 +00:00
<a href="#!" class="modal-close waves-effect waves-light btn red abort-request">Cancel</a>
</div>
</div>
2019-07-19 11:28:17 +00:00
{% endblock %}