<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>Information Control Systems &amp; Technologies, September</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Development of a Neural Network Model for Accounting of Medicines in a Universal First Aid Kit⋆</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Ievgen Fedorchenko</string-name>
          <email>evg.fedorchenko@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Andrii Oliinyk</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Kateryna Panychuk</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Oleh Korshun</string-name>
          <email>oleh.korshun@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          ,
          <addr-line>69011</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>National University</institution>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Tbilisi</institution>
          ,
          <addr-line>0159</addr-line>
          ,
          <country country="GE">Georgia</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2025</year>
      </pub-date>
      <volume>2</volume>
      <fpage>4</fpage>
      <lpage>26</lpage>
      <abstract>
        <p>A modified convolutional neural network model MediPackNet was developed with an accuracy of 92%, which correctly recognized all 5 test images of medicines. It showed good results at the level of 6 models based on already known ones, namely: InceptionV3, Xception, ResNet50V2, MobileNetV2, NASNetMobile and DenseNet169. In addition, AES, RSA data encryption methods and a combination of these algorithms were implemented. Based on the results of the analysis, it was concluded that hybrid encryption is the best for the developed software. A mobile application for the accounting of medicines for a universal first aid kit was created, with stable performance and the possibility for further development. The developed application has the potential to significantly facilitate the process of managing medicines stocks and contributes to more efficient use of medical resources and procurement optimization. In addition, the ability to track the course of treatment contributes to a more accurate following of medical recommendations and ensures more effective health monitoring. The use of the mobile application also has a significant impact on the environment, as it reduces the amount of hazardous waste associated with improper storage and disposal of expired medicines.</p>
      </abstract>
      <kwd-group>
        <kwd>accounting</kwd>
        <kwd>medicines</kwd>
        <kwd>first aid kit</kwd>
        <kwd>packaging</kwd>
        <kwd>recognition</kwd>
        <kwd>mobile application</kwd>
        <kwd />
        <kwd>NET MAUI</kwd>
        <kwd>Python 1</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Medicines play an extremely important role in a person s life, helping to maintain health and
improve quality of life. However, people often skip taking their medications or overpay for
medications they already have at home, but don t remember about them. The World Health
Organization has classified medication non-adherence as a major global problem [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. It is estimated
that 20% to 50% of patients do not take their medications properly [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. The reasons for this are quite
diverse, but the most common reasons are unintentional, such as confusion or simple forgetfulness.
These problems can have serious health consequences and increase treatment costs [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. In this
regard, there is a need for a convenient and efficient medication management tool.
      </p>
      <p>
        The universal first aid kit medicine accounting software is a relevant solution to solve these
problems. It allows you to add, delete, and edit first aid kits medicines, monitor their expiration
dates, and also makes it possible to set up reminders to take medicines. This is especially useful for
people who take a lot of medications or have chronic diseases [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
      </p>
      <p>Using a mobile application for accounting is convenient and affordable, as a mobile phone is
usually always with the owner. It also has a significant impact on the environment, as it reduces the
amount of hazardous waste associated with improper storage and disposal of expired medicines.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Analysis of known methods and available software tools</title>
      <p>In order for a first aid kit to be effective and safe, it is necessary to keep proper records of the
medicines it contains. This is extremely important, since human life and health depend on the correct
use and proper condition of these medicines. The subject area of medicines accounting in the first
aid kit is the pharmaceutical industry. To develop it, it is necessary to have knowledge of various
medicines, their effects, classification, dosage forms, expiration dates, dosages, and routes of
administration.</p>
      <sec id="sec-2-1">
        <title>2.1. Review of existing methods</title>
        <p>The task of accounting for medicines in a first aid kit is not new, as people have long been using first
aid kits to store medicines. The technology development has made its implementation more
convenient, efficient, and accessible to users.</p>
        <p>There are several methods of performing the task of accounting for medicines in the first aid kit,
namely: manual accounting, scanning barcodes, recognizing images of medicines packages.</p>
        <p>Manual accounting involves entering data about medicines manually. The user can enter the
name, expiration date, quantity, and other information about each medicine as needed. This method
is simple but can be time-consuming and labor-intensive.</p>
        <p>
          Mobile applications can use a smartphone camera to scan barcodes located on drug packages [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ].
After scanning, the application automatically finds the medicine in the database and adds it to the
list of medicines. This method is convenient and fast, as it avoids manual data entry. However, it
depends on the availability of barcodes on packages and the database with medicines and their code
values.
        </p>
        <p>
          The software can use an image recognition system to identify medicines [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ]. The user can take a
photo of the medicine s packaging, and the application will automatically add this medicine to the
list of medicines. This method makes it easy to add new medicines to the list, but the accuracy of the
recognition may depend on the quality of the image, the model, and the recognition database.
        </p>
        <p>Manual accounting and package image recognition methods were chosen for further
implementation because they make the accounting process more accessible and convenient for a
wide range of users. A person will be able to choose a method of accounting that meets their needs,
namely, entering data manually, recognizing the medicinal product by its packaging, or combining
these methods.</p>
        <p>Image recognition can be a more versatile method than barcode scanning, as it allows you to keep
track of a variety of medicines, regardless of the type of barcode or its presence, packaging damage,
differences in design or localization.</p>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. Review of image classification approaches and techniques</title>
        <p>
          Traditional classification is a key data analysis approach that focuses on sorting data points into
predefined classes or categories using specific rules and established features. Prior to the rise of deep
learning, various conventional techniques such as Decision Trees, Support Vector Machines (SVM),
Naive Bayes, and k-Nearest Neighbors (k-NN) were commonly applied for this task [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ]. These
methods were used and described in studies [6 12].
        </p>
        <p>
          A Decision Tree (DT) is a hierarchical, rule-based method that utilizes a non-parametric approach
[
          <xref ref-type="bibr" rid="ref7">7</xref>
          ]. It determines class membership by recursively dividing a dataset into homogeneous subsets. As
a hierarchical classifier, it allows the acceptance or rejection of class labels at each intermediate step.
The process consists of three main stages: partitioning the nodes, identifying the terminal nodes, and
assigning class labels to these terminal nodes.
        </p>
        <p>
          Kernel SVMs implicitly transform input feature vectors into a higher-dimensional space through
the use of a kernel function, such as the Gaussian kernel [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ]. In this transformed space, a maximal
separating hyperplane is constructed, particularly for a two-class problem. Two parallel hyperplanes
are then created symmetrically on either side of the separating hyperplane. The goal is to maximize
the distance, known as the margin, between these two outer hyperplanes. It is believed that the larger
the margin, the lower the generalization error of the classifier. SVMs are based on the principle of
structural risk minimization, which aims to minimize an upper bound on the generalization error,
unlike many classifiers that focus on minimizing empirical risk, or the error on the training set. The
SVM algorithm works to find a decision function that minimizes a specific functional. Moreover,
SVMs are capable of training nonlinear classifiers in high-dimensional spaces even with a small
training set, thanks to the selection of a subset of vectors, known as support vectors, which define
the optimal boundaries between the classes [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ].
        </p>
        <p>
          The Naive Bayes classifier operates on a probabilistic framework, assigning the class with the
highest estimated posterior probability to the feature vector derived from the region of interest (ROI)
[
          <xref ref-type="bibr" rid="ref9">9</xref>
          ]. This method is optimal when the attributes are independent (orthogonal), but it still performs
well even without this assumption. Its simplicity enables strong performance with small training
sets, and by constructing probabilistic models, it remains robust to outliers. Additionally, Naive
Bayes creates soft decision boundaries, helping to prevent overfitting. However, the arbitrary choice
of the distribution model for estimating probabilities P(x) and the limited flexibility of its decision
boundaries can reduce its effectiveness in more complex multiclass problems [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ].
        </p>
        <p>
          The k-Nearest Neighbor classifier defines hyperspheres within the instance space by assigning
the majority class of the k-nearest instances based on a specific metric. It is asymptotically optimal
and allows fast testing [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ]. However, this method has several limitations. It is highly sensitive to
the curse of dimensionality, as increasing the dimensionality tends to disperse the feature space,
causing the local homogeneous regions representing the class prototypes to spread out [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ]. The
classification performance strongly depends on the chosen metric. Additionally, selecting a small
value for k can lead to erratic decision boundaries, making the classifier more susceptible to outliers.
        </p>
        <p>
          Although these methods are effective in many situations, they often require manual feature
engineering, which can be labor-intensive and may not capture the complex patterns and
relationships within sophisticated datasets. The chosen features are then used as inputs for the
classification algorithms, which follow set criteria to assign data points to the appropriate classes
[
          <xref ref-type="bibr" rid="ref12">12</xref>
          ].
        </p>
        <p>
          With the rise of deep learning, Convolutional Neural Networks (CNNs) emerged as a powerful
alternative, offering significant advancements in processing and analyzing data with complex
structures, such as images and videos. Studies [
          <xref ref-type="bibr" rid="ref13 ref14 ref6">6, 13, 14</xref>
          ] highlight the effectiveness of CNNs in
various applications, demonstrating their ability to achieve superior results.
        </p>
        <p>
          Convolutional Neural Networks are a regularized form of multilayer perceptrons, which are
typically fully connected networks where each neuron in one layer is linked to every neuron in the
next [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ]. CNNs differ by employing a mathematical operation called convolution instead of standard
matrix multiplication in at least one of their layers. As a type of feedforward neural network, CNNs
are particularly suited for handling data with grid-like structures. They learn features and patterns
within the data using convolutional layers. The neurons in a CNN have learnable weights and biases,
where each neuron processes inputs, performs a dot product, and may apply a non-linearity [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ].
CNNs are inspired by biological processes in the visual cortex of the brain and have become a key
solution for many computer vision tasks in artificial intelligence, such as image and video analysis.
        </p>
        <p>Unlike traditional methods, CNNs leverage layered architectures to automatically learn and
extract features from raw input data, significantly improving performance in tasks involving visual
recognition and pattern detection.</p>
      </sec>
      <sec id="sec-2-3">
        <title>2.3. Review of available software tools</title>
        <p>First aid kits are an integral part of our lives. These are small containers that contain a variety of
medical supplies and medications needed for minor medical interventions or first aid. They can be
present at home, at work, in schools, cars, etc.</p>
        <p>It is important to properly maintain the first aid kits and keep good records of the medicines they
contain. This is necessary to ensure the safety and effective use of medicines in case of emergency.
It is also important to have a clear list of medical supplies and update it in a timely manner to have
complete information about available resources when needed.</p>
        <p>Currently, there are already software tools [15 22] that ensure the accounting of medicines.
These programs allow you to accurately track the availability and quantity of medicines, control
expiration dates, etc.</p>
        <p>These software tools typically provide the ability to create lists of medicines, enter information
about each product, and indicate the number of units available. Some of them even allow you to scan
barcodes on drug packages to automatically fill in the data. In addition, the programs can display
alerts about the approaching expiration date or shortage of certain medicines, which allows you to
replenish stocks in a timely manner.</p>
        <p>But in addition to the main advantages, some of them have disadvantages. For example, there is
no tracking of the course of treatment and reminders to take medications if the user needs it, and no
import of their own first aid kits.</p>
        <p>The implemented mobile application has the following advantages over existing analogues:
tracking the course of treatment, medication reminders, and recognition of certain medicines by their
packaging.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. Development of a modified convolutional neural network model</title>
    </sec>
    <sec id="sec-4">
      <title>MediPackNet</title>
      <p>To implement the function of recognizing medicines from images of their packages in the software,
a modified convolutional neural network model MediPackNet and 6 more models based on the
already known ones were created, namely: InceptionV3, Xception, ResNet50V2, MobileNetV2,
NASNetMobile, and DenseNet169 [23 30]. The training results of these models were used to
compare, analyze, and improve the models.</p>
      <p>The following medicines were selected for recognition: Flucold-N, Gofen 200, No-Spa,
OrtophenZdorovye Forte, and Phosphalugel.</p>
      <p>The created model contains convolutional layers, maximum pooling layers, flatten layers, dropout
layers, and fully connected layers. In addition, the images were normalized and randomly rotated,
zoomed, and flipped horizontally to increase the diversity of the data (in all created models) [31 33].
ELU (Exponential Linear Unit) was chosen as the activation function because it showed the best
results among the available functions. The output layer uses the Softmax activation function (5
classes). In the fully connected layers, L2-regularization was used (encourages smaller, more evenly
distributed weights by adding a penalty), which improved the resulting model. The structure of this
model is shown in Figure 1.</p>
      <p>The other 6 models include Inception V3, Xception, ResNet50V2, MobileNetV2, NASNetMobile,
and DenseNet169, a global average pooling layer, and fully connected layers. The structure of these
models using the example of the InceptionV3-based model is shown in Figure 2.</p>
    </sec>
    <sec id="sec-5">
      <title>4. Software implementation</title>
      <sec id="sec-5-1">
        <title>4.1. Software structure</title>
        <p>To design the architecture of the mobile application, the Model-View-ViewModel (MVVM) design
pattern was used [34].</p>
        <p>Software data is stored in a database that has been created and interacted with using SQLite.</p>
        <p>The structure of a mobile application consists of 27 classes and 6 XAML (eXtensible Application
Markup Language) files with 6 classes associated with them. The classes of view models and views
have ViewModel and View in their names, respectively. All program files are structured into folders
according to their purpose. The classes in the General folder were designed to support the interaction
of views with view models.</p>
        <p>The structure of the server part of the program consists of 5 files, 3 of which are responsible for
creating a model for medicine recognition, and the rest for processing HTTP requests, encryption,
decryption, and image recognition.</p>
        <p>The architecture of a mobile application contains three functional parts: model, view, and view
model. The diagram of classes representing the modules of the part containing the models is shown
in Figure 3.</p>
        <p>The diagram of classes representing the modules of the part containing the views is shown in
Figure 5.</p>
        <p>The server part consists of three modules: cryptography, recognition, and creation of a model for
recognition.</p>
      </sec>
      <sec id="sec-5-2">
        <title>4.2. Image encryption</title>
        <p>To implement the image encryption function in the software, modules were created that encrypt and
decrypt data using the symmetric AES algorithm with CFB mode, the asymmetric RSA algorithm,
and a combination of these algorithms [35 39]. The results of implementing these methods were
used to compare, analyze, and select the best approach to protecting visual information [40 42].</p>
        <p>In this application, encryption is essential because the images of medicine packages may include
sensitive data such as personal annotations, prescription labels, QR codes, or barcodes that can be
associated with specific users. If transmitted in plain form, such images could potentially be
intercepted and analyzed, leading to privacy breaches, exposure of medical conditions, or
manipulation of user medication data.</p>
        <p>Using the System.Security.Cryptography library, the Cryptography class was created to encrypt
images of medicine packages using AES and RSA algorithms and decrypt the shared key (encrypted
with RSA in the hybrid approach). After encryption, the images are transmitted to the server.</p>
        <p>On the server side, the Cryptography module (built with PyCryptodome) decrypts the received
images and encrypts shared keys using RSA for secure communication. Keys are transmitted via
HTTP requests, making asymmetric and hybrid encryption more suitable due to their resilience to
insecure channels.</p>
        <p>To assess the efficiency of the implemented encryption strategies, test sessions were conducted
using typical medicine package images transmitted over a network. The hybrid approach (AES for
image data + RSA for key exchange) showed a balanced trade-off between performance and security,
with an execution time of 1.44 seconds, which is acceptable for real-time usage.</p>
        <p>The characteristics of the encryption methods are summarized in Table 1.</p>
        <p>The table shows that each method has its advantages and disadvantages. AES is known for its
speed and efficiency in encrypting large amounts of data, while RSA provides secure key exchange
and a high level of security, but may be less efficient for large amounts of data. The hybrid method
leverages the strengths of both: using AES for data encryption and RSA for key exchange, ensuring
security without compromising performance. Therefore, hybrid encryption is best suited for
protecting visual medical data in a client-server application.</p>
      </sec>
      <sec id="sec-5-3">
        <title>4.3. Recognition models training</title>
        <p>In addition to ensuring data security, an important component of the project is to recognize
medicines by their packaging. For this purpose, the created recognition models were trained and the
results are shown in the form of graphs in Figures 6-12.</p>
      </sec>
      <sec id="sec-5-4">
        <title>4.4. Graphical user interface</title>
        <p>During the development of the mobile application, a user-friendly graphical interface was
implemented to facilitate intuitive interaction with the core functionality of the system:
•
•
•
•
•
allows the user to quickly navigate to the medicine input page;
medicine. It also allows users to configure reminders for each medication. Upon completing
;
All previously entered fields are displayed, and users can adjust the treatment parameters or
notification settings as needed;
recognition. Users can take a photo of th
The recognized name is displayed on-screen, and users
-filled data based on the recognition result;
the application and developer.</p>
        <p>Figure 13 presents examples of the key interface screens.</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>5. Testing the developed software and studying the effectiveness of the developed recognition models</title>
      <p>For the training set, 100 images of 5 different medicine packages (20 images per medicine) were used,
and for the test set, 25 images (5 per medicine). To ensure data variability and model robustness, the
images were captured under diverse real-world conditions: both good and poor lighting, from
different angles and distances, and with packaging in different states (e.g., in cardboard boxes and
without them, if applicable). The dataset includes variations in background and orientation to
simulate common usage scenarios in mobile applications.</p>
      <p>Table 2 shows the results of training the model over 35 epochs. To further validate the model s
performance, 5 additional images per class that were not included in the training or test set were
used. The number of correctly classified samples is shown in Table 2, and their class probabilities are
presented in Table 3.</p>
      <p>To provide a more comprehensive assessment of model performance, standard classification
metrics accuracy, precision, recall, and F1-score were calculated for each model on the test set.
A comparison of these metrics is provided in Table 4. MediPackNet achieved an accuracy of 92%,
with a precision of 93% and an F1-score of 91%. However, confusion matrix analysis revealed that
MediPackNet misclassified two samples of the third class (No-Spa), leading to false negatives.</p>
      <p>The data demonstrates that the custom MediPackNet model was able to learn effective feature
representations from a relatively small but diverse dataset. Although some pre-trained models
achieved perfect accuracy, MediPackNet provided reliable performance with minimal
misclassifications and offers advantages in flexibility and deployment. Its robust behavior in
realworld-like conditions and interpretability made it suitable for integration into the server-side
application, with further improvements expected as the dataset and architecture evolve.</p>
      <p>The software was tested on an emulator of a mobile device with Android OS with the following
characteristics: model: Google Pixel 5; OS version: Android 14.0 (API 34); screen size: 6.0 inches;
screen resolution: 1080x2340 pixels, 440 dpi; processor: x86_64; memory: 1 GB; network access;
access to front and back cameras; sensor support [41 44].</p>
      <p>During the testing of the mobile application, various scenarios were executed, including checking
the functionality, stability, interaction with the server side, correct data storage and processing.</p>
    </sec>
    <sec id="sec-7">
      <title>6. Discussion of the research results</title>
      <p>The software was created for which a modified convolutional neural network model MediPackNet
was developed, which is 92% accurate and correctly recognized all 5 test images of medicine
packages. It showed good results at the level of 6 models based on already known ones, namely:
InceptionV3, Xception, ResNet50V2, MobileNetV2, NASNetMobile and DenseNet169. In addition,
AES, RSA data encryption methods and a combination of these algorithms were implemented. Based
on the results of the analysis, it was concluded that hybrid encryption is the best for the developed
software. All the planned functions were implemented in the software. Testing of the program
proved that all the developed functionality works correctly.</p>
      <p>The results of the comparative analysis show that the proposed MediPackNet model demonstrates
high accuracy and efficiency. It is important to note that the model architecture was optimized to
achieve this level of accuracy. Successful recognition of all test images confirms the reliability and
stability of the developed software. The implementation of data encryption methods ensures a high
level of security of information transmission, which is critical for the medical field. Further research
can be aimed at optimizing computational complexity and reducing data processing time, as well as
expanding the functionality of the software. The results of the study are of great practical importance
and can be used in various industries that require the ability to keep records of medicines and high
accuracy of package image recognition.</p>
      <p>The disadvantage of using package recognition is the need to constantly update the training set
and additional training of the created model due to periodic changes in medicines packaging.</p>
      <p>The developed application has the potential to significantly facilitate the process of managing
medicines stocks and contributes to more efficient use of medical resources and optimization of
procurement. In addition, the ability to track the course of treatment contributes to more accurate
implementation of medical recommendations and ensures more effective health monitoring. The use
of the mobile application also has a significant impact on the environment, as it reduces the amount
of hazardous waste associated with improper storage and disposal of expired medicines.</p>
      <p>In the future, it is possible to improve the created software by adding notifications about the need
to purchase a medicine because it is about to expire, implementing barcode or serial number
scanning, improving the package recognition model, security mechanisms, and expanding the list of
medicines for recognition, providing the ability to view instructions for use of medicines, etc.</p>
    </sec>
    <sec id="sec-8">
      <title>7. Conclusions</title>
      <p>The subject area was analyzed, the relevance and feasibility of software development were presented,
the known methods of performing the task of accounting for medicines of a universal first aid kit
were considered. In the course of analyzing the analogues, their advantages and disadvantages were
identified and the functionality for implementation was determined.</p>
      <p>The chosen design pattern and the architecture of the developed software were described. The
MediPackNet model for recognizing medicines by their packaging was developed, which contains
convolutional layers, maximum pooling layers, flatten layers, dropout layers, and fully connected
layers. The images were normalized and randomly rotated, zoomed, and horizontally flipped to
increase the diversity of the data (in all created models). ELU was selected as the activation function,
and the output layer uses the Softmax activation function. L2 regularization was used in the fully
connected layers. There were 6 more models created, which include Inception V3, Xception,
ResNet50V2, MobileNetV2, NASNetMobile, and DenseNet169, a global average aggregation layer,
and fully connected layers. Based on the results of training and testing, it was decided to use the
MediPackNet model, which is 92% accurate and correctly recognized all 5 test images of medicine
Then the
implemented data encryption methods AES, RSA and a combination of these algorithms were
described. Based on the results of the analysis, it was concluded that hybrid encryption is the best
for the developed software. The main decisions regarding the development of the graphical user
interface were also presented.</p>
    </sec>
    <sec id="sec-9">
      <title>Declaration on Generative AI</title>
      <p>During the preparation of this work, the authors used ChatGPT-4 in order to: Grammar and spelling
check, Paraphrase and reword. After using this tool, the authors reviewed and edited the content as
-based
sidechannel analysis, in: J. Zhou, et al. (Eds.), Applied Cryptography and Network Security
Workshops, Lecture Notes in Computer Science, Springer International Publishing, Cham, 2020,
pp. 126 143. doi:10.1007/978-3-030-61638-0_8.
[25] A. Narein, Inception V3 Model Architecture, 2021. URL:
https://iq.opengenus.org/inception-v3model-architecture/.
[26] M. Fabien, XCeption Model and Depthwise Separable Convolutions, 2019. URL:
https://maelfabien.github.io/deeplearning/xception/.
[27] Datagen Tech, ResNet-50: The Basics and a Quick Tutorial. URL:
https://datagen.tech/guides/computer-vision/resnet-50/.
[28] S. Badgujar, Creating MobileNetsV2 with TensorFlow from scratch, 2021. URL:
https://medium.com/analytics-vidhya/creating-mobilenetsv2-with-tensorflow-from-scratchc85eb8605342.
[29] M. Reda, R. Suwwan, S. Alkafri, Y. Rashed, T. Shanableh, AgroAId: A Mobile App System for
Visual Classification of Plant Species and Diseases Using Deep Learning and TensorFlow Lite,
Informatics 9 (2022) 55. doi:10.3390/informatics9030055.
[30] A. Vulli, P. N. Srinivasu, M. S. K. Sashank, J. Shafi, J. Choi, M. F. Ijaz, Fine-Tuned DenseNet-169
for Breast Cancer Metastasis Prediction Using FastAI and 1-Cycle Policy, Sensors 22 (2022) 2988.
doi:10.3390/s22082988.
[31] O. Alshannaq, J. A. J. Alsayaydeh, M. B. Hammouda, M. F. Ali, M. A. R. Alkhashaab, M. Zainon,
A. S. M. Jaya, Particle swarm optimization algorithm to enhance the roughness of thin film in
tin coatings, ARPN Journal of Engineering and Applied Sciences 17 (2022) 186 193.
[32] A. Oliinyk, I. Fedorchenko, A. Stepanenko, M. Rud, D. Goncharenko, Implementation of
Evolutionary Methods of Solving the Travelling Salesman Problem in a Robotic Warehouse, in:
Data-Centric Business and Applications, Springer International Publishing, Cham, 2020, pp.
263 292. doi:10.1007/978-3-030-43070-2_13.
[33] I. Izonin, R. Tkachenko, N. Shakhovska, N. Lotoshynska, The Additive Input-Doubling Method
Based on the SVR with Nonlinear Kernels: Small Data Approach, Symmetry 13 (2021) 612.
doi:10.3390/sym13040612.
[34] A. Syromiatnikov, D. Weyns, A Journey through the Land of Model-View-Design Patterns, in:
2014 IEEE/IFIP Conference on Software Architecture (WICSA), IEEE, 2014.
doi:10.1109/wicsa.2014.13.
[35] R. Franklin, AES vs. RSA Encryption: What Are the Differences?, 2022. URL:
https://www.precisely.com/blog/data-security/aes-vs-rsa-encryption-differences.
[36] A. Froehlich, What is ciphertext feedback (CFB)?, 2021. URL:
https://www.techtarget.com/searchsecurity/definition/ciphertext-feedback.
[37] D. N. Hammod, M. H. Al-Rawi, H. S. Abdulah, An Enhancement Method Based on Modifying
CFB Mode for Key Generation in AES Algorithm, Eng. Technol. J. 34 (2016) 759 768.
doi:10.30684/etj.34.6b.5.
[38] Medium, Introduction to RSA, 2019. URL:
https://medium.com/@c0D3M/introduction-to-rsae8cb39af508e.
[39] LinkedIn, How do you use AES and RSA together for hybrid encryption schemes?, 2024. URL:
https://www.linkedin.com/advice/0/how-do-you-use-aes-rsa-together-hybrid-encryptionschemes.
[40] O.R. Rudkovskyi, G.G. Kirichek, Interaction support system of network applications, in: 3rd
Workshop for Young Scientists in Computer Science &amp; Software Engineering, CEUR-WS,
November 27, 2020, pp. 11 23.
[41] O. Alshannaq, J.A.J. Alsayaydeh, M.B.A. Hammouda, M. F. Ali, M. A. R. Alkhashaab, M. Zainon,
A.S.M. Jaya, Particle swarm optimization algorithm to enhance the roughness of thin film in tin
coatings, ARPN Journal of Engineering and Applied Sciences 17 (2022) 186 193.
[42] J.A.J. Alsayaydeh, W.A.Y. Khang, W.A. Indra, J.B. Pusppanathan, V. Shkarupylo, A.K.M. Zakir
Hossain, S. Saravanan, Development of vehicle door security using smart tag and fingerprint
system, ARPN Journal of Engineering and Applied Sciences 9 (2019) 3108 3114.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>V.</given-names>
            <surname>Pérez-Jover</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Sala-González</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Guilabert</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. J.</given-names>
            <surname>Mira</surname>
          </string-name>
          ,
          <article-title>Mobile Apps for Increasing Treatment Adherence: Systematic Review</article-title>
          ,
          <source>J. Med. Internet Res</source>
          .
          <volume>21</volume>
          (
          <year>2019</year>
          )
          <article-title>e12505</article-title>
          . doi:
          <volume>10</volume>
          .2196/12505.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Nova</given-names>
            <surname>Advertising</surname>
          </string-name>
          , Why Medication Dosage Monitoring Is Critical for Your Health,
          <year>2023</year>
          . URL: https://www.texasstarpharmacy.
          <article-title>com/why-medication-dosage-monitoring-is-critical-for-yourhealth/.</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Intellectsoft</given-names>
            <surname>Blog</surname>
          </string-name>
          ,
          <source>Medication Tracking Software: Features, Benefits and More</source>
          ,
          <year>2022</year>
          . URL: https://www.intellectsoft.net/blog/medication-tracking-software/.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>M.</given-names>
            <surname>Abdulhamid</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Matongo</surname>
          </string-name>
          ,
          <source>Mobile Phone and Barcode Scanner, Sci. Bull. Electr. Eng. Fac</source>
          .
          <volume>20</volume>
          (
          <year>2020</year>
          )
          <fpage>25</fpage>
          28. doi:
          <volume>10</volume>
          .2478/sbeef-2020-0105.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>D.</given-names>
            <surname>Avola</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Cinque</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Fagioli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G. L.</given-names>
            <surname>Foresti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. R.</given-names>
            <surname>Marini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Mecca</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Pannone</surname>
          </string-name>
          ,
          <article-title>Medicinal Boxes Recognition on a Deep Transfer Learning Augmented Reality Mobile Application</article-title>
          ,
          <source>in: Image Analysis and Processing ICIAP</source>
          <year>2022</year>
          , Springer International Publishing, Cham,
          <year>2022</year>
          , pp.
          <fpage>489</fpage>
          <lpage>499</lpage>
          . doi:
          <volume>10</volume>
          .1007/978-3-
          <fpage>031</fpage>
          -06427-2_
          <fpage>41</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>R.</given-names>
            <surname>Archana</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. S. E.</given-names>
            <surname>Jeevaraj</surname>
          </string-name>
          ,
          <article-title>Deep learning models for digital image processing: a review</article-title>
          ,
          <source>Artif. Intell. Rev</source>
          .
          <volume>57</volume>
          (
          <year>2024</year>
          ). doi:
          <volume>10</volume>
          .1007/s10462-023-10631-z.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>L.</given-names>
            <surname>Lu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Di</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Ye</surname>
          </string-name>
          ,
          <article-title>A Decision-Tree Classifier for Extracting Transparent Plastic-Mulched Landcover from Landsat-5 TM Images</article-title>
          ,
          <source>IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens</source>
          .
          <volume>7</volume>
          (
          <year>2014</year>
          )
          <fpage>4548</fpage>
          4558. doi:
          <volume>10</volume>
          .1109/jstars.
          <year>2014</year>
          .
          <volume>2327226</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>J.</given-names>
            <surname>Wu</surname>
          </string-name>
          ,
          <article-title>Efficient HIK SVM Learning for Image Classification</article-title>
          ,
          <source>IEEE Trans. Image Process</source>
          .
          <volume>21</volume>
          (
          <year>2012</year>
          )
          <fpage>4442</fpage>
          4453. doi:
          <volume>10</volume>
          .1109/tip.
          <year>2012</year>
          .
          <volume>2207392</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>A.</given-names>
            <surname>Taherkhani</surname>
          </string-name>
          ,
          <article-title>Recognizing sorting algorithms with the C4.5 decision tree classifier</article-title>
          ,
          <source>in: IEEE 18th International Conference on Program Comprehension</source>
          , Braga, Portugal,
          <year>2010</year>
          , pp.
          <fpage>72</fpage>
          <lpage>75</lpage>
          . doi:
          <volume>10</volume>
          .1109/icpc.
          <year>2010</year>
          .
          <volume>11</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Xu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Sonka</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>McLennan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Guo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. A.</given-names>
            <surname>Hoffman</surname>
          </string-name>
          ,
          <article-title>MDCT-based 3-D texture classification of emphysema and early smoking related lung pathologies</article-title>
          ,
          <source>IEEE Trans. Med. Imaging</source>
          <volume>25</volume>
          (
          <year>2006</year>
          )
          <fpage>464</fpage>
          475. doi:
          <volume>10</volume>
          .1109/tmi.
          <year>2006</year>
          .
          <volume>870889</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>L.</given-names>
            <surname>Srensen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. B.</given-names>
            <surname>Shaker</surname>
          </string-name>
          , M. de Bruijne,
          <article-title>Quantitative Analysis of Pulmonary Emphysema Using Local Binary Patterns</article-title>
          ,
          <source>IEEE Trans. Med. Imaging</source>
          <volume>29</volume>
          (
          <year>2010</year>
          )
          <fpage>559</fpage>
          569. doi:
          <volume>10</volume>
          .1109/tmi.
          <year>2009</year>
          .
          <volume>2038575</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>R.</given-names>
            <surname>Ponnusamy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Sathyamoorthy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Manikandan</surname>
          </string-name>
          ,
          <article-title>A Review of Image Classification Approaches and Techniques</article-title>
          ,
          <source>Int. J. Recent Eng. Res</source>
          .
          <volume>3</volume>
          (
          <issue>2017</issue>
          )
          <article-title>1 5</article-title>
          . doi:
          <volume>10</volume>
          .23883/ijrter.
          <year>2017</year>
          .
          <volume>3033</volume>
          .
          <year>xts7z</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <surname>J. D.</surname>
          </string-name>
          Pineda-Jaramillo,
          <article-title>A review of Machine Learning (ML) algorithms used for modeling travel mode choice</article-title>
          ,
          <source>DYNA</source>
          <volume>86</volume>
          (
          <year>2019</year>
          )
          <fpage>32</fpage>
          41. doi:
          <volume>10</volume>
          .15446/dyna.v86n211.
          <fpage>79743</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>A. F. A. H.</given-names>
            <surname>Alnuaimi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T. H. K.</given-names>
            <surname>Albaldawi</surname>
          </string-name>
          ,
          <article-title>An overview of machine learning classification techniques</article-title>
          ,
          <source>BIO Web Conf</source>
          .
          <volume>97</volume>
          (
          <year>2024</year>
          )
          <article-title>1 24</article-title>
          . doi:
          <volume>10</volume>
          .1051/bioconf/20249700133.
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <surname>Google</surname>
            <given-names>Play</given-names>
          </string-name>
          ,
          <source>Medical Directory of Diseases and Medicines</source>
          ,
          <year>2024</year>
          . URL: https://play.google.com/store/apps/details?id=ru.medical.spravochnik.
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <surname>Google</surname>
            <given-names>Play</given-names>
          </string-name>
          ,
          <article-title>First aid kit. Accounting for medicines</article-title>
          .,
          <year>2024</year>
          . URL: https://play.google.com/store/apps/details?id=ru.decsoft.myaidkit.
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <surname>Google</surname>
            <given-names>Play</given-names>
          </string-name>
          , Medication Control,
          <year>2024</year>
          . URL: https://play.google.com/store/apps/details?id=ua.com.hitmax.liki.
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <surname>Google</surname>
            <given-names>Play</given-names>
          </string-name>
          , My Medicine - Health
          <string-name>
            <surname>Log</surname>
          </string-name>
          ,
          <year>2024</year>
          . URL: https://play.google.com/store/apps/details?id=health.doctor.pill.my_medicine.
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <surname>Google</surname>
            <given-names>Play</given-names>
          </string-name>
          , Medscape,
          <year>2024</year>
          . URL: https://play.google.com/store/apps/details?id=com.medscape.android.
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <surname>Google</surname>
            <given-names>Play</given-names>
          </string-name>
          ,
          <source>Medisafe Pill &amp; Med Reminder</source>
          ,
          <year>2024</year>
          . URL: https://play.google.com/store/apps/details?id=com.medisafe.android.client.
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <surname>Google</surname>
            <given-names>Play</given-names>
          </string-name>
          ,
          <source>MyTherapy Pill Reminder</source>
          ,
          <year>2024</year>
          . URL: https://play.google.com/store/apps/details?id=eu.smartpatient.mytherapy.
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <surname>Google</surname>
            <given-names>Play</given-names>
          </string-name>
          , Medsbit Medication Tracker,
          <year>2024</year>
          . URL: https://play.google.com/store/apps/details?id=all.pillreminder.medicationtracker.medsalarm.
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [23]
          <string-name>
            <given-names>S.</given-names>
            <surname>Saha</surname>
          </string-name>
          ,
          <string-name>
            <surname>A Comprehensive</surname>
          </string-name>
          <article-title>Guide to Convolutional Neural Networks the ELI5 way</article-title>
          ,
          <year>2023</year>
          . URL: https://saturncloud.io/blog/a
          <article-title>-comprehensive-guide-to-convolutional-neural-networks-theeli5-way/.</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          [24] [43]
          <string-name>
            <given-names>J.A.J.</given-names>
            <surname>Alsayaydeh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Aziz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.I.A.</given-names>
            <surname>Rahman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.I.</given-names>
            <surname>Abbasi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.W.Y.</given-names>
            <surname>Khang</surname>
          </string-name>
          ,
          <article-title>Development of Programmable Home Security using GSM System for Early Prevention</article-title>
          ,
          <source>ARPN Journal of Engineering and Applied Sciences</source>
          <volume>16</volume>
          (
          <year>2021</year>
          ) 88
          <fpage>97</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          [44]
          <string-name>
            <surname>Korniienko</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Kharchenko</surname>
          </string-name>
          ,
          <article-title>Development of an evolutionary optimization method for financial indicators of pharmacies</article-title>
          ,
          <source>International Journal of Computing</source>
          <volume>19</volume>
          (
          <year>2020</year>
          )
          <fpage>449</fpage>
          463. doi:
          <volume>10</volume>
          .47839/ijc.19.3.
          <year>1894</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>