<?xml version="1.0"?>
<!DOCTYPE article
PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.4 20190208//EN"
       "JATS-journalpublishing1.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" article-type="research-article" dtd-version="1.4" xml:lang="en">
 <front>
  <journal-meta>
   <journal-id journal-id-type="publisher-id">FORENSIC EXAMINATION</journal-id>
   <journal-title-group>
    <journal-title xml:lang="en">FORENSIC EXAMINATION</journal-title>
    <trans-title-group xml:lang="ru">
     <trans-title>Судебная Экспертиза</trans-title>
    </trans-title-group>
   </journal-title-group>
   <issn publication-format="print">1813-4327</issn>
  </journal-meta>
  <article-meta>
   <article-id pub-id-type="publisher-id">116973</article-id>
   <article-id pub-id-type="edn">XDRJXE</article-id>
   <article-categories>
    <subj-group subj-group-type="toc-heading" xml:lang="ru">
     <subject>Проблемы теории и практики судебных экспертиз и исследований</subject>
    </subj-group>
    <subj-group subj-group-type="toc-heading" xml:lang="en">
     <subject>Problems of theory and practice of forensic examinations and research</subject>
    </subj-group>
    <subj-group>
     <subject>Проблемы теории и практики судебных экспертиз и исследований</subject>
    </subj-group>
   </article-categories>
   <title-group>
    <article-title xml:lang="en">APPLICATION OF THE PYTHON PROGRAMMING LANGUAGE TO SOLVING SELECTED TASKS OF TECHNICAL AND FORENSIC EXAMINATION OF DOCUMENTS</article-title>
    <trans-title-group xml:lang="ru">
     <trans-title>ПРИМЕНЕНИЕ ЯЗЫКА ПРОГРАММИРОВАНИЯ PYTHON ДЛЯ РЕШЕНИЯ ОТДЕЛЬНЫХ ЗАДАЧ ТЕХНИКО-КРИМИНАЛИСТИЧЕСКОЙ ЭКСПЕРТИЗЫ ДОКУМЕНТОВ</trans-title>
    </trans-title-group>
   </title-group>
   <contrib-group content-type="authors">
    <contrib contrib-type="author">
     <name-alternatives>
      <name xml:lang="ru">
       <surname>Купин</surname>
       <given-names>Алексей Федорович </given-names>
      </name>
      <name xml:lang="en">
       <surname>Купин</surname>
       <given-names>Алексей Федорович </given-names>
      </name>
     </name-alternatives>
     <email>alexcrim@rambler.ru</email>
     <xref ref-type="aff" rid="aff-1"/>
    </contrib>
    <contrib contrib-type="author">
     <name-alternatives>
      <name xml:lang="ru">
       <surname>Дончук</surname>
       <given-names>Александра Ивановна</given-names>
      </name>
      <name xml:lang="en">
       <surname>Donchuk</surname>
       <given-names>Alexandra Ivanovna</given-names>
      </name>
     </name-alternatives>
     <xref ref-type="aff" rid="aff-2"/>
    </contrib>
   </contrib-group>
   <aff-alternatives id="aff-1">
    <aff>
     <institution xml:lang="ru">ФГБОУ ВПО «Московский государственный технический университет имени Н.Э. Баумана»</institution>
     <country>ru</country>
    </aff>
    <aff>
     <institution xml:lang="en">ФГБОУ ВПО «Московский государственный технический университет имени Н.Э. Баумана»</institution>
     <country>ru</country>
    </aff>
   </aff-alternatives>
   <aff-alternatives id="aff-2">
    <aff>
     <institution xml:lang="ru">ФГБОУ ВПО «Московский государственный технический университет имени Н.Э. Баумана»</institution>
     <country>Россия</country>
    </aff>
    <aff>
     <institution xml:lang="en">ФГБОУ ВПО «Московский государственный технический университет имени Н.Э. Баумана»</institution>
     <country>Russian Federation</country>
    </aff>
   </aff-alternatives>
   <pub-date publication-format="print" date-type="pub" iso-8601-date="2024-03-27T00:00:00+03:00">
    <day>27</day>
    <month>03</month>
    <year>2024</year>
   </pub-date>
   <pub-date publication-format="electronic" date-type="pub" iso-8601-date="2024-03-27T00:00:00+03:00">
    <day>27</day>
    <month>03</month>
    <year>2024</year>
   </pub-date>
   <issue>1</issue>
   <fpage>81</fpage>
   <lpage>92</lpage>
   <history>
    <date date-type="received" iso-8601-date="2023-12-11T00:00:00+03:00">
     <day>11</day>
     <month>12</month>
     <year>2023</year>
    </date>
    <date date-type="accepted" iso-8601-date="2023-12-20T00:00:00+03:00">
     <day>20</day>
     <month>12</month>
     <year>2023</year>
    </date>
   </history>
   <self-uri xlink:href="https://va-mvd.editorum.ru/en/nauka/article/116973/view">https://va-mvd.editorum.ru/en/nauka/article/116973/view</self-uri>
   <abstract xml:lang="ru">
    <p>В статье рассматриваются возможности решения задач технико-криминалистической экспертизы документов с помощью скриптов, написанных на языке программирования Python, реализующих свое назначение с помощью алгоритмов компьютерного зрения. По сравнению с графическими редакторами, такими как GIMP и KRITA, применяемыми в процессе изучения документов, разработанные инструменты более просты в эксплуатации и лишены избыточного функционала. Их применение к изображениям документов напрямую позволяет успешно решать следующие задачи: выявлять содержание рукописной записи, штрихи которой были частично утрачены в результате смывания; устанавливать содержание вдавленных неокрашенных записей; выявлять и фиксировать факт дописки; определять содержание зачеркнутых записей в ситуациях, когда первоначальные записи и записи, их покрывающие, выполняются разными по цвету материалами письма одного вида. По результатам апробации предлагаемых инструментов на изученных объектах - рукописных реквизитах документов, подвергшихся разным видам внешнего воздействия, продемонстрирована эффективность использования разработанных скриптов при решении широкого круга задач технико-криминалистической экспертизы документов.</p>
   </abstract>
   <trans-abstract xml:lang="en">
    <p>The article explores the possibilities of solving forensic document examination tasks using scripts written in the programming language &quot;Python&quot;, implementing their purpose through computer vision algorithms. In comparison to graphic editors such as GIMP and KRITA, commonly used in document analysis, the developed tools are simpler to use and devoid of redundant functionality. Their application to document images directly enables the successful resolution of the following tasks: identifying the content of handwritten notes, the strokes of which have been partially lost due to smudging; determining the content of recessed unpainted entries; detecting and recording the fact of addition; determining the content of crossed-out entries in situations where the original entries and the entries covering them are made with materials of different colors in the same type of document. Following the validation of the proposed tools on examined objects-handwritten details of documents subjected to diverse external factors the efficacy of employing the developed scripts in addressing a broad spectrum of forensic document examination tasks has been showcased.</p>
   </trans-abstract>
   <kwd-group xml:lang="ru">
    <kwd>ДОКУМЕНТ</kwd>
    <kwd>ЯЗЫКИ ПРОГРАММИРОВАНИЯ</kwd>
    <kwd>МЕТОДЫ ЭКСПЕРТНОГО ИССЛЕДОВАНИЯ</kwd>
    <kwd>СУДЕБНАЯ ТЕХНИКО-КРИМИНАЛИСТИЧЕСКАЯ ЭКСПЕРТИЗА ДОКУМЕНТОВ</kwd>
    <kwd>ЗАКЛЮЧЕНИЕ ЭКСПЕРТА</kwd>
   </kwd-group>
   <kwd-group xml:lang="en">
    <kwd>DOCUMENT</kwd>
    <kwd>PROGRAMMING LANGUAGES</kwd>
    <kwd>EXPERT RESEARCH METHODS</kwd>
    <kwd>FORENSIC TECHNICAL AND FORENSIC EXAMINATION OF DOCUMENTS</kwd>
    <kwd>EXPERT OPINION</kwd>
   </kwd-group>
  </article-meta>
 </front>
 <body>
  <p></p>
 </body>
 <back>
  <ref-list>
   <ref id="B1">
    <label>1.</label>
    <citation-alternatives>
     <mixed-citation xml:lang="ru">Баринова О. А., Купин А. Ф., Титаренко В. А. Установление факта изменения первоначального содержания документа методами цифровой обработки изображений // Судебная экспертиза. 2017. № 1 (49). С. 74-86.</mixed-citation>
     <mixed-citation xml:lang="en">Barinova O. A., Kupin A. F., Titarenko V. A. Establishing the fact of a change in the original content of a document using digital image processing methods. Forensic examination, 74-86, 2017. (In Russ.).</mixed-citation>
    </citation-alternatives>
   </ref>
   <ref id="B2">
    <label>2.</label>
    <citation-alternatives>
     <mixed-citation xml:lang="ru">Купин А. Ф., Дончук А. И. Использование растровых графических редакторов в технико-криминалистической экспертизе документов // Эксперт-криминалист. 2023. № 3. С. 29-31.</mixed-citation>
     <mixed-citation xml:lang="en">Kupin A. F., Donchuk A. I. The use of raster graphic editors in the technical and forensic examination of documents. Forensic expert, 29-31, 2023. (In Russ.).</mixed-citation>
    </citation-alternatives>
   </ref>
   <ref id="B3">
    <label>3.</label>
    <citation-alternatives>
     <mixed-citation xml:lang="ru">Жижина М. В. Возможности использования графических редакторов при работе с изображениями цифровых почерковых объектов, представленных в виде электронных файлов // Вестник Московского университета МВД России. 2023. № 3. С. 89-91.</mixed-citation>
     <mixed-citation xml:lang="en">Zhizhina M. V. Possibilities of using graphic editors when working with images of digital handwriting objects presented in the form of electronic files. Bulletin of the Moscow University of the Ministry of Internal Affairs of Russia, 89-91, 2023. (In Russ.).</mixed-citation>
    </citation-alternatives>
   </ref>
   <ref id="B4">
    <label>4.</label>
    <citation-alternatives>
     <mixed-citation xml:lang="ru">Любанович Б. Простой Python. Современный стиль программирования. 2-е изд. Санкт-Петербург: Питер, 2021. 592 с.</mixed-citation>
     <mixed-citation xml:lang="en">Lyubanovich B. Simple Python. Modern programming style. 2nd ed. Saint Petersburg: Peter; 2021: 592. (In Russ.).</mixed-citation>
    </citation-alternatives>
   </ref>
   <ref id="B5">
    <label>5.</label>
    <citation-alternatives>
     <mixed-citation xml:lang="ru">Шакирьянов Э. Д. Компьютерное зрение на Python. Первые шаги. Москва: Лаборатория знаний, 2021. 163 с.</mixed-citation>
     <mixed-citation xml:lang="en">Shakiryanov E. D. Computer vision in Python. First steps. Moscow: Laboratory of Knowledge; 2021: 163. (In Russ.).</mixed-citation>
    </citation-alternatives>
   </ref>
   <ref id="B6">
    <label>6.</label>
    <citation-alternatives>
     <mixed-citation xml:lang="ru">Демин А. Ю. Основы компьютерной графики: учеб. пособие. Томск: Изд-во Том. политехн. ун-та, 2011. 191 с.</mixed-citation>
     <mixed-citation xml:lang="en">Demin A. Yu. Fundamentals of computer graphics. Textbook. Tomsk: Tomsk Polytechnic University Publishing House; 2011: 191. (In Russ.).</mixed-citation>
    </citation-alternatives>
   </ref>
   <ref id="B7">
    <label>7.</label>
    <citation-alternatives>
     <mixed-citation xml:lang="ru">Лютов В. П., Четверкин П. А., Головастиков Г. Ю. Цветоведение и основы колориметрии: учеб. и практикум для вузов. 3-е изд., перераб. и доп. Москва: Юрайт, 2022. 224 с.</mixed-citation>
     <mixed-citation xml:lang="en">Lyutov V. P., Chetverkin P. A., Golovastikov G. Yu. Color science and the basics of colorimetry. Textbook and workshop for universities. 3rd ed., rev. and add. Moscow: Yurait; 2022: 224. (In Russ.).</mixed-citation>
    </citation-alternatives>
   </ref>
  </ref-list>
 </back>
</article>
