Advances in Knowledge and Society · Vol. 2 No. 11 (2026)
Published November 26, 2026
A crop of one seven-segment digit often includes part of the next digit. We held the target window fixed and tested whether suppressing visible adjacent boxes helped a recognition baseline on 168 photographed energy-meter fields. With the same crop policy at training and test, suppression raised correct predictions from 953 to 956 out of 977 digits. Whole annotated fields rose from 151 to 154 out of 168. Both policies produced six wrong predictions equal to a visible neighboring digit. Switching the crop treatment only at test time reduced digit accuracy for both trained models. Matching training and test crop policies mattered more for digit accuracy than suppression alone. The adjacent-substitution count stayed the same.
A camera looking at a device display records a row of digits at once. A recognizer asked to identify one position may receive a crop with a small margin around it. The margin can preserve a stroke at the edge of a thin digit or capture useful information about the display and its illumination. It can also include part of a neighboring digit whose class is wrong for the target position. Jin et al. (2024) study visual recognition as part of a multi-perspective system for observing control panels. The question here lies earlier in that perception process. Given the location of the intended digit, does keeping pixels from genuine adjacent digits improve or harm recognition of the target, and how much does the answer change when the requirement is that every annotated digit in a field be correct?
One way to answer would be to make the crop smaller. That changes the apparent size of the digit after resizing, and may also remove a faint stroke from the annotation boundary. We instead compare two versions of the same window. One keeps the photographic context. In the other, we replace pixels from the annotated immediately adjacent digit boxes that fall within the margin, while protecting all pixels sampled inside the target annotation. The same target therefore appears at the same scale in both versions. Each preprocessing policy is evaluated with a classifier trained on crops built the same way. We also swap the test policy while holding the trained classifier fixed to see whether a change in input treatment at prediction time is consequential.
Real neighbors have labels that make one more comparison possible. If a model gets the target wrong, we can check whether the predicted class occurs among its visible adjacent digits. The event is interpretable at the character level, although it cannot identify which pixels caused the error. A stable estimate calls for using the same set of target positions for both policies and handling examples whose adjacent digits show the same class as the target. We define that denominator before measuring performance. This separates a common field-level failure from a specific error pattern and allows the total number of correct digits to be high even when many fields contain at least one wrong character.
Kanagarathinam and Sekar (2019) present the YUVA EB energy-meter photographs and a digit-level recognition setting. Laroca et al. (2019) explicitly separate counter detection and recognition in automatic meter reading. Salomon et al. (2020) show that even a dial-based display requires answers at different levels of its annotation. A separately released gas meter archive (Ebadi et al., 2023) and a word-wheel water meter archive (Zhao et al., 2026) demonstrate how meter benchmarks can track complete displays in addition to smaller components. The present experiment uses digit boxes supplied by annotation, so its results address conditional recognition. The task starts after a detector has already identified each digit’s location.
Several approaches learn to recognize a whole readout without treating individual labels as independent. Goodfellow et al. (2014) model multi-digit numbers in natural images, following the natural-image digit benchmark introduced by Netzer et al. (2011). Graves et al. (2006) formulate a sequence classification objective when alignment between inputs and target strings is unavailable. Shi et al. (2017) use sequence recognition for scene text, and Yang et al. (2019) adapt a sequence approach to water-meter numbers. Jaderberg et al. (2014) show how structured predictions can capture dependencies among characters. These approaches use context in a way that respects the currency of the entire output string. A small classifier trained to predict one class per annotated window has a different objective and no modeled agreement across adjacent positions. We assess that narrower case because it makes the crop policy independently testable.
The effect of context can go in either direction. Oliva and Torralba (2007) discuss how surrounding information influences object recognition. Mottaghi et al. (2014) show that local and global context contribute to recognition systems with varying effects. Geirhos et al. (2020) explain how a predictor may exploit a cue that works in its development distribution and is less dependable after a change in input. In a digit crop, genuine neighboring strokes are part of the observation. Whether they help a particular classifier depends on how the target box and surrounding display are represented, and on whether new data undergo the same processing as the training data.
Manual field checks also answer a different question from leaderboard accuracy in document OCR. Smith (2007) describes the Tesseract OCR engine, and LeCun et al. (1998) demonstrate learned document recognition. Karatzas et al. (2015) distinguish evaluation tasks in robust text reading. One recent display-specific method by Yenneti et al. (2023) predicts numeric sequences from seven-segment displays, while Xiang et al. (2026) investigate semi-supervised seven-segment recognition with a distinct acquisition setup. Our comparisons estimate what happens to one transparent supervised digit baseline under controlled access to known crops. They do not re-estimate the reported performance of any of these systems.
We used version 1 of the CC0 YUVA EB archive (Karthick & Kavaskar, 2019). Its source photographs were collected at consumer premises in Tamil Nadu, India, and the repository stores them in day light, night, tilted, and blurred folders. The source ZIP has 169 image files. The COCO format release contains 168 image entries and 977 digit bounding boxes. We map each annotated filename to the archive image number and check the stored pixel dimensions after decoding. The one archive image without a corresponding COCO entry is absent from the evaluation. We preserve all 977 boxes with annotated digits. Lin et al. (2014) introduce the COCO dataset and annotation convention. Here the publisher’s COCO-style records provide only the digit positions and classes needed for the analysis. The output preserves the annotation order by horizontal center, including leading zeros.
For each target, we create a rectangular sample extending left and right by 0.60 times the greater of the box width and 0.38 times its height, and vertically by 0.08 times its height above and below the box. We map the sample to a 48 by 48 grayscale grid with bilinear interpolation. The narrow-width floor leaves room for the margin beside a digit such as one. The annotated digit at the immediate left or right is a candidate neighbor if vertical intersection is at least 40% of the shorter box height. A neighbor is visible for the audit when its rectangle covers at least one sample point outside the target and within the source photograph. The cutoff and window geometry are the same in both experimental conditions.
The context crop is the unmodified grayscale sample. In its paired suppressed version, we replace the part of a visible adjacent annotation outside the target with the median intensity among sampled points that fall outside all digit boxes and stay within the source photograph. The same fallback median from the entire window is used if no such context pixels exist. Both copies use the same geometry and retain the original target. This is a spatial suppression experiment, not an evaluation of a separate lighting treatment. It removes the adjacent boxed pattern along with any background within that part of the box. A replacement of this kind may introduce an artificial boundary and leaves visible any adjacent material extending beyond the annotated rectangle. These are relevant limitations for causal interpretation of the masked pixels.
We fit a linear classifier using histograms of oriented gradients. The feature grid has eight-pixel cells, blocks of sixteen pixels, a stride of eight pixels, and nine orientation bins, corresponding to 900 values per crop. Dalal and Triggs (2005) describe the feature and its local contrast normalization. Cortes and Vapnik (1995) provide the support-vector classification framework. Here the fixed C value is 1.0 and each of the two classifiers within a fold sees exactly the same annotated positions from its training fields, processed its own way. Test results are reported for all four combinations of training and test crop policy. The two matched comparisons assess complete preprocessing pipelines, while a crossed comparison holds the fitted classifier fixed while changing which crop it receives.
The 168 annotated photographs are held out in five folds. We sort distinct annotated digit strings by a seeded hash and assign them cyclically across folds. Every crop from a photograph stays in the same fold, and different photographs with identical annotated sequences are kept together. This prevents a narrow form of repetition across folds. It does not ensure that new physical devices or premises are unseen, because those identifiers are unavailable. Roberts et al. (2017) show why grouped observations require a group-aware split. Baek et al. (2019) document comparability problems when scene-text methods use different benchmark choices. Torralba and Efros (2011) likewise show how visual dataset biases can affect comparisons. Our folds and both crop definitions are fixed across the reported results. The 168 annotations contain 117 distinct digit strings. Five photographs repeat another file's exact image bytes, and their labels agree, so the group split already keeps them together with their originals. We repeat the fits after retaining only the numerically first copy of each byte hash. The estimates refer to this photograph collection.
The first outcome is exact per-digit accuracy and the unweighted mean recall over ten digits, following the distinction between overall and balanced performance described by Brodersen et al. (2010) and Sokolova and Lapalme (2009). The second is the proportion of photographs in which all annotated characters are correct. A numeric value can have a decimal point or unit outside the released digit labels. Whole-field accuracy therefore refers to the exact released sequence of digits. The third outcome counts wrong predictions equal to any distinct visible adjacent digit. We report this count against the number of targets where that error was possible, with the number of errors in the same subset available as a secondary denominator. Nadeau and Bengio (2003) discuss shared training sets in cross-validation, so we describe paired held-out counts and avoid treating overlapping folds or individual characters as independent field trials.
Figure 1. Both crops use the same manually annotated target and output size. The test policy can preserve or suppress the boxes of visible neighbors. Whole-field accuracy requires every annotated digit to be correct. Adjacent substitutions are counted only where a visible neighbor offers a different label from the target.
With context present at both training and test, the classifier gets 953 of 977 digits right. Suppressing the visible neighbor at both stages raises that count to 956. The three-digit net gain comes from six errors corrected and three previously correct predictions turned into errors. On the 955 cases with an adjacent box sampled outside the target, accuracy moves from 97.49% to 97.80%. All 22 of the remaining crops are correctly classified under the two matched policies. The paired input versions of those 22 crops are pixel-identical by construction, though their two fitted classifiers still come from different training representations.
Table 1. Held-out recognition using the original annotated fields and positions.
| Training crop | Test crop | Correct digits | Digit accuracy | Balanced digit accuracy | Whole fields correct | Adjacent substitutions |
|---|---|---|---|---|---|---|
| Context present | Context present | 953/977 | 97.54% | 96.82% | 151/168 | 6/857 |
| Neighbors suppressed | Neighbors suppressed | 956/977 | 97.85% | 97.07% | 154/168 | 6/857 |
| Context present | Neighbors suppressed | 947/977 | 96.93% | 95.95% | 146/168 | 7/857 |
| Neighbors suppressed | Context present | 945/977 | 96.72% | 95.87% | 150/168 | 6/857 |
At the whole-field level, the matched comparison moves from 89.88% to 91.67%. Six fields are correct only after suppression and three only with context. A model can be above 97% on individual digits and still have more than 8% of complete fields contain one or more mistakes. There are four to eight annotated digits per image. The gap between digit and field accuracy is partly a consequence of scoring multiple predictions together and can reflect where errors fall. In the comparison of context-trained models, changing only test preprocessing loses six individually correct digits and five wholly correct fields. For suppression-trained classifiers the converse change loses eleven digits and four whole fields. The crossed runs both reduce digit accuracy relative to their own matching pipeline.
Suppression does not reduce the count of wrong labels that equal a visible adjacent digit in the matched comparison. There are six in each case among 857 positions with at least one different adjacent label available, with five specific target positions shared between the two sets. Among all eligible wrong predictions, these events account for six of 23 under context and six of 21 under suppression. The same numerator paired with slightly different error denominators supports a limited conclusion. An improvement in total accuracy can occur without a reduction in this particular error type. In crossed testing the corresponding counts are seven when swapping to suppression after context training, and six when swapping in the opposite direction. These low event counts caution against interpreting one changed substitution as a general pattern.
Retaining one photo per exact byte hash gives a check on whether identical source files determine the result. That sensitivity uses 163 photos and 949 annotated positions. With separately refitted classifiers in the original folds, context and suppression get 926 and 929 digits right and 147 and 150 entire fields right, respectively. They each make five substitutions matching a visible adjacent label across 831 eligible positions. The similar changes in the primary and duplicate-collapsed results point to a small difference on this archive independent of the five additional copies. Cases in the archive may still share hardware or capture conditions even if their encoded image bytes differ.
The character and field metrics differ because an error in any annotated position makes a field fail. A long field offers more opportunities for failure and its digit errors may be related. A recognizer might misread several digits after one poorly framed photograph, or a whole screen may be difficult to see. Pooling all crops hides that concentration. The crossed comparison also clarifies what kind of change a preprocessing experiment has tested. One comparison predicts with inputs processed like the training data. The other changes the test representation for an already-trained classifier. Those two quantities need not agree, even when they come from the same photos and report the same endpoint.
A prediction that matches the immediate neighbor’s label is useful when evaluating a local recognition system because it has a different operational interpretation from an arbitrary wrong digit. It is still possible for adjacent labels to coincide with common confusions. A mark in a digit can look like another digit that happens to sit next to it, and source positions such as leading zero can be predictable from the dataset’s value distribution. Masking all pixels inside the visible part of the adjacent box can also change contrast boundaries. The paired design identifies differences between the two exact processing rules on the retained image set. It cannot distinguish all reasons that a model gave one label or show that using a different background replacement would yield the same results.
For an inspection study, a detector-recall figure and a conditional recognition figure should carry different denominators. A detector can miss the last character entirely and a field would then be unreadable, while the present oracle-box experiment always passes a crop for that character. Conversely, testing a correctly localized field with boxes that preserve target scale can show how changes in local context affect the later classification stage. These distinctions help interpret a future end-to-end result without promising that an observed difference here will transfer to unseen meter types, a wider range of poses, or a live control environment.
The YUVA EB source release provides the original image archive and matching annotation file. The local reproduction record includes the repository’s file hashes, code for generating paired crops and grouped predictions, and the derivation of the aggregate measures. The figure uses model results and a diagram drawn for this study. It does not reproduce images of consumer premises or meter identifiers.