Text recognition is significantly influenced by font types, especially for complex scripts like Khmer. The variety of Khmer fonts, each with its unique character structure, presents challenges for optical character recognition (OCR) systems. In this study, we evaluate the impact of 19 randomly selected Khmer font types on text recognition accuracy using Pytesseract. The fonts include Angkor, Battambang, Bayon, Bokor, Chenla, Dangrek, Freehand, Kh Kompong Chhnang, Kh SN Kampongsom, Khmer, Khmer CN Stueng Songke, Khmer Savuth Pen, Metal, Moul, Odor MeanChey, Preah Vihear, Siemreap, Sithi Manuss, and iSeth First. Our comparison of OCR performance across these fonts reveals that Khmer, Odor MeanChey, Siemreap, Sithi Manuss, and Battambang achieve high accuracy, while iSeth First, Bayon, and Dangrek perform poorly. This study underscores the critical importance of font selection in optimizing Khmer text recognition and provides valuable insights for developing more robust OCR systems.
With diet and nutrition apps reaching 1.4 billion users in 2022 [1], it's not surprise that popular health apps, MyFitnessPal, Noom, and Calorie Counter, are surging in popularity. However, one major setback [2] of nearly all nutrition applications is that users must enter food data manually, which is time-consuming and tedious. Thus, there has been an increasing demand for applications that can accurately identify food items, analyze their nutritional content, and offer dietary recommendations in real-time. This paper introduces a comprehensive system that combines advanced computer vision techniques with nutritional analysis, implemented in a versatile mobile and web application. The system is divided into three key concepts: 1) food detection using the YOLOv8 model, 2) nutrient analysis via the Edamam Nutrition Analysis API, and 3) personalized meal recommendations using the Edamam Meal Planning and Recipe Search APIs. Preliminary results showcase the system's effectiveness by providing immediate, accurate dietary insights, with a demonstrated food recognition accuracy of nearly 80%, making it a valuable tool for users to make informed dietary decisions.
Developing effective scene text detection and recognition models hinges on extensive training data, which can be both laborious and costly to obtain, especially for low-resourced languages. Conventional methods tailored for Latin characters often falter with non-Latin scripts due to challenges like character stacking, diacritics, and variable character widths without clear word boundaries. In this paper, we introduce the first Khmer scene-text dataset, featuring 1,544 expert-annotated images, including 997 indoor and 547 outdoor scenes. This diverse dataset includes flat text, raised text, poorly illuminated text, distant and partially obscured text. Annotations provide line-level text and polygonal bounding box coordinates for each scene. The benchmark includes baseline models for scene-text detection and recognition tasks, providing a robust starting point for future research endeavors. The KhmerST dataset is publicly accessible at https://gitlab.com/vannkinhnom123/khmerst.
Stochastic Closed-Loop Active Fault Diagnosis (CLAFD) aims to select the input sequentially in order to improve the discrimination of different models by minimizing the predicted error probability. As computation of these error probabilities encompasses the evaluation of multidimensional probability integrals, relaxation methods are of interest. This manuscript presents a new method that allows to make an improved trade-off between three factors -- namely maximized accuracy of diagnosis, minimized number of consecutive measurements to achieve that accuracy, and minimized computational effort per time step -- with respect to the state-of-the-art. It relies on minimizing an upper bound on the error probability, which is in the case of linear models with Gaussian noise proven to be concave in the most challenging discrimination conditions. A simulation study is conducted both for open-loop and feedback controlled candidate models. The results demonstrate the favorable trade-off using the new contributions in this manuscript.
Networks or graphs are widely used across the sciences to represent relationships of many kinds. igraph (https://igraph.org) is a general-purpose software library for graph construction, analysis, and visualisation, combining fast and robust performance with a low entry barrier. igraph pairs a fast core written in C with beginner-friendly interfaces in Python, R, and Mathematica. Over the last two decades, igraph has expanded substantially. It now scales to billions of edges, supports Mathematica and interactive plotting, integrates with Jupyter notebooks and other network libraries, includes new graph layouts and community detection algorithms, and has streamlined the documentation with examples and Spanish translations. Modern testing features such as continuous integration, address sanitizers, stricter typing, and memory-managed vectors have also increased robustness. Hundreds of bug reports have been fixed and a community forum has been opened to connect users and developers. Specific effort has been made to broaden use and community participation by women, non-binary people, and other demographic groups typically underrepresented in open source software.
IGraph/M is an efficient general purpose graph theory and network analysis package for Mathematica. IGraph/M serves as the Wolfram Language interfaces to the igraph C library, and also provides several unique pieces of functionality not yet present in igraph, but made possible by combining its capabilities with Mathematica's. The package is designed to support both graph theoretical research as well as the analysis of large-scale empirical networks.
Defects ~10 nm in size, with number densities ~10^{10} cm^{-2}, form spontaneously beneath ion-milled, etched, or HF-dipped silicon surfaces examined in our Ti-ion getter-pumped transmission electron microscope (TEM) after exposure to air. They appear as weakly-strained non-crystalline intrusions into silicon bulk, that show up best in the TEM under conditions of strong edge or bend contrast. If ambient air exposure is <10 minutes, defect nucleation and growth can be monitored {\em in situ}. Possible mechanisms of formation are discussed.
This paper considers the problem of reconstructing an object with high-resolution using several low-resolution images, which are degraded due to nonuniform defocus effects caused by angular misalignment of the subpixel motions. The new algorithm, indicated by the Superresolution And Nonuniform Defocus Removal (SANDR) algorithm, simultaneously performs the nonuniform defocus removal as well as the superresolution reconstruction. The SANDR algorithm combines non-sequentially the nonuniform defocus removal method recently developed by Thao et al. and the least squares approach for subpixel image reconstruction. Hence, it inherits global convergence from its two component techniques and avoids the typical error amplification of multi-step optimization contributing to its robustness. Further, existing acceleration techniques for optimization have been proposed that assure fast convergence of the SANDR algorithm going from rate O(1/k) to O(1/k^2) compared to most existing superresolution (SR) techniques using the gradient descent method. An extensive simulation study evaluating the new SANDR algorithm has been conducted. As no algorithms are available to address the combined problem, in
We propose and study the single-frame anisoplanatic deconvolution problem associated with image classification using machine learning algorithms, named the nonuniform defocus removal (NDR) problem. Mathematical analysis of the NDR problem is done and the so-called defocus removal (DR) algorithm for solving it is proposed. Global convergence of the DR algorithm is established without imposing any unverifiable assumption. Numerical results on simulation data show significant features of DR including solvability, noise robustness, convergence, model insensitivity and computational efficiency. Physical relevance of the NDR problem and practicability of the DR algorithm are tested on experimental data. Back to the application that originally motivated the investigation of the NDR problem, we show that the DR algorithm can improve the accuracy of classifying distorted images using convolutional neural networks. The key difference of this paper compared to most existing works on single-frame anisoplanatic deconvolution is that the new method does not require the data image to be decomposable into isoplanatic subregions. Therefore, solution approaches partitioning the image into isoplanati
Motivated by recent experiments, we develop a model for DNA toroids under external tension. We find that tori are the equilibrium states for our model up to a critical tension, above which they become only metstable. Above this tension, we find a cascade of transitions between discrete toroid states that successively lowers the winding number, until the ground state (rod) is reached. In this process, this model predicts a nearly constant force plateau as a function of extension, in agreement with experiment.
Lensless imaging is an elegant approach to high-resolution microscopy, which is rapidly gaining popularity in applications where imaging optics are problematic. However, current lensless imaging methods require objects to be placed within a well-defined support structure, while the light source needs to have a narrow, stable, and accurately known spectrum. Here we introduce a general approach to lensless imaging without spectral bandwidth limitations or sample requirements. We use two time-delayed coherent light pulses, and show that scanning the pulse-to-pulse time delay allows the reconstruction of diffraction-limited images for all spectral components in the pulse. Moreover, an iterative phase retrieval algorithm is introduced, which uses these spectrally resolved Fresnel diffraction patterns to obtain high-resolution images of complex extended objects without any support requirements. We demonstrate this two-pulse imaging method with octave-spanning visible light sources (in both transmission and reflection geometries), and with broadband extreme-ultraviolet radiation from a high-harmonic source. This demonstrates that our approach enables effective use of low-flux ultra-broadb
The traction force of a kite can be used to drive a cyclic motion for extracting wind energy from the atmosphere. This paper presents a novel quasi-steady modelling framework for predicting the power generated over a full pumping cycle. The cycle is divided into traction, retraction and transition phases, each described by an individual set of analytic equations. The effect of gravity on the airborne system components is included in the framework. A trade-off is made between modelling accuracy and computation speed such that the model is specifically useful for system optimisation and scaling in economic feasibility studies. Simulation results are compared to experimental measurements of a 20 kW kite power system operated up to a tether length of 720 m. Simulation and experiment agree reasonably well, both for moderate and for strong wind conditions, indicating that the effect of gravity has to be taken into account for a predictive performance simulation.