ORIGINAL RESEARCH article

Front. Manuf. Technol., 28 October 2026

Sec. Digital Manufacturing

Volume 6 - 2026 | https://doi.org/10.3389/fmtec.2026.1875591

A vision-based observation layer framework for manufacturing digital twins: detection, tracking, and zone analytics from ceiling-mounted production video

  • 1. Faculty of Information Technology and Artificial Intelligence, Al-Farabi Kazakh National University, Almaty, Kazakhstan

  • 2. School of Data Science, Fudan University, Shanghai, China

  • 3. Faculty of Information Technology, Almaty Technological University, Almaty, Kazakhstan

Abstract

Introduction:

Manufacturing digital twins require reliable observations of evolving production‐floor state, yet many camera-based studies stop at detection or tracking and do not formalize how video becomes twin‐ready state variables.

Methods:

This study presents a vision-based observation-layer framework that links video acquisition, detection, tracking, spatial semantics, observation-variable extraction, and a digital twin interface. The framework was evaluated on a real food‐production floor recorded by a ceiling‐mounted camera. A time‐separated design kept the final production hour fully held out for detector and tracker evaluation.

Results:

The selected detector (YOLO11x, freeze depth 22) reached mAP50 = 0.939 and mAP50‐95 = 0.754 on the primary held‐out set; ByteTrack reached HOTA = 0.783 at 27.6 frames/s on two manually reviewed tracking clips. The resulting stack produced zone occupancy, entries, exits, and dwell-time summaries over a 60 min held-out recording.

Discussion:

These results support the proposed component as an observation layer for a manufacturing digital twin. The study does not claim to implement a complete twin with simulation, prediction, bidirectional synchronization, or closed-loop control.

1 Introduction

Manufacturing digital twins require state variables that reflect the evolving production floor. ISO 23247–1 defines a manufacturing-oriented digital twin framework around a digital representation of an observable manufacturing element and the exchange of information between physical and digital domains (International Organization for Standardization, 2021). Broader Industry 4.0 and Industry 5.0 research situates such architectures within resilient and human-centered manufacturing (Aheleroff et al., 2022). In this paper, the term manufacturing digital twin follows that broader systems meaning; the implemented contribution is limited to the vision-based observation component that supplies structured state estimates to such a twin.

This boundary separates four related concepts. Video monitoring displays or alerts on camera output. An observation layer transforms sensor data into typed, time-stamped state variables. Modeling and simulation represent system behavior and support prediction or what-if analysis. A full digital twin combines synchronized observations with a digital model and, where required, decision or feedback mechanisms. The present study implements the second element and prepares its outputs for integration with the remaining elements; it does not treat online video by itself as a digital twin.

Food-manufacturing research already uses computer vision, deep learning, IoT, and digital-twin technologies for quality assurance, traceability, and process support (Guo et al., 2025; Zhu et al., 2021; Song et al., 2025). Most camera-based studies still concentrate on the product itself. Production managers also need evidence about movement, staging, loading, service activity, residence time in operational areas, and the spatial concentration of work. A digital twin cannot infer those states from raw video alone; the video must be converted into entities, trajectories, events, and region-level summaries.

Food-domain computer vision already proves that camera systems can support real production constraints. Reviews by Zhu et al., Song et al., and related food-manufacturing studies show strong results for quality control, process monitoring, and industrial deployment under changing environmental conditions (Zhu et al., 2021; Song et al., 2025; Zhou et al., 2026). Recent studies extend these methods to nutrient estimation, freshness and adulteration detection, spectral process monitoring, 3D food printing monitoring, and surrogate modeling of complex food processes (Ghosh and Datta, 2023; Kaushal et al., 2024; Abd Elfattah et al., 2025; Pérez-Calabuig et al., 2025; Zhao et al., 2025; Borugadda and Kalluri, 2026; Ju et al., 2026; Zhang et al., 2026a). More focused studies report strong performance for foreign-object detection in factory lines and traceability through product-specific visual signatures (Chuang et al., 2026; Liao et al., 2025). Those results establish the value of food-industry vision systems. They do not yet define a reusable framework for scene-level observation on the production floor.

The same gap appears in the digital-twin literature. Food-industry reviews describe sensing, computer vision, and cloud systems as sources of operational evidence, while implemented systems often emphasize telemetry, product recognition, process models, or supply-chain optimization (Guo et al., 2025; Semercioz-Oduncuoglu and Luning, 2025; Sun et al., 2026). Related studies have addressed individual elements of such systems, including digital twin simulation and behavior modeling (Amirkhanov et al., 2025; Amirkhanov et al., 2026), secure IIoT telemetry pipelines (Amirkhanova et al., 2026), and federated optimization of agri‐food supply chains (Xuan et al., 2026). Reference architectures such as Digital Twin as a Service clarify the physical, communication, information, functional, and service layers required for broader integration (Aheleroff et al., 2021). What remains less developed is the operational path from production-floor video to state variables that can enter those architectures.

Ceiling-mounted production cameras offer a practical route to that missing link. Top-view surveillance reduces frontal occlusion, preserves privacy better than face-rich side views, and gives a natural geometric basis for zone-based monitoring (Li and Lo, 2025; Ohno et al., 2024). Li and Lo show that top-view surveillance has matured into a substantial research area for detection, tracking, and behavior analysis, but their review also highlights persistent gaps in datasets, viewpoint adaptation, and overhead-specific appearance modeling (Li and Lo, 2025). Chiang et al. show that overhead and fisheye geometries distort object appearance enough to challenge standard detectors (Chi et al., 2021). These studies explain why production-floor overhead video still needs explicit benchmark and adaptation logic.

The challenge is industrial and geometric. Large pretraining datasets mostly contain frontal or oblique natural images, while a ceiling-mounted production camera records elongated, partially occluded, and context-dependent objects from above. This mismatch makes domain adaptation central to any practical observation layer. Related niche-domain studies show that selective freezing and constrained transfer often outperform deeper retraining when the target dataset remains limited and the viewpoint departs sharply from the source domain (Shubhasree et al., 2025; Zhang et al., 2026b; Yang et al., 2024; Çelik et al., 2024).

Tracking introduces a second requirement. Accurate detections do not describe production behavior over time; identity continuity is needed to estimate zone occupancy, entries, exits, and dwell time. Existing studies address general-purpose multi-object tracking, stationary-camera tracking, public-space digital twins, and specialized industrial tracking under different scene assumptions (Wang et al., 2021; Liu et al., 2025; Sun et al., 2026; Wong et al., 2026). These studies provide useful methods but do not define an observation-layer workflow for an overhead food-production scene.

The scientific gap therefore has two parts. Food-manufacturing computer vision lacks a framework-oriented treatment of scene-level observation from production video, and digital-twin research lacks a reproducible method for converting that video into benchmarked, structured observation variables. Table 1 summarizes the closest strands of work and shows where the present study is positioned.

TABLE 1

StudyTechnology/settingStrengthRemaining gapRef.
Zhu et al.Food-processing machine vision reviewBroad account of deep learning for food inspectionFocuses mainly on product quality; no floor-level state-variable pipeline(Zhu et al., 2021)
Chuang et al.Factory-line foreign-object detectionIndustrial validation of visual inspectionDetection is product/line centered; no tracking or zone semantics(Chuang et al., 2026)
Liao et al.Visual feature tracking for meat traceabilityConnects vision with traceabilityTracks product features rather than production-floor entities and activities(Liao et al., 2025)
Li and LoTop-view detection and tracking reviewSynthesizes overhead-view methods and geometryCenters on public spaces; manufacturing integration is not addressed(Li and Lo, 2025)
Sun et al.Tracking-enabled digital twin for public-space assessmentShows how trajectories can support higher-level state estimatesPublic-space/evacuation setting; no food-production observation layer(Sun et al., 2026)
Aheleroff et al.Industry 4.0 DTaaS reference architectureProvides scalable architectural context for digital-twin servicesDoes not operationalize ceiling-video observations for a manufacturing twin(Aheleroff et al., 2021)
Present studyDetection, tracking, zones, and twin-ready variablesBenchmarks each perception layer on held-out food-production videoSingle camera/site and no bidirectional control or simulation—

Representative studies and the gap addressed by the present work.

Rather than proposing a new detector or a new tracking algorithm, the study formulates a reusable framework with six linked layers: video acquisition, detection, tracking, spatial semantics, observation-variable extraction, and a digital twin interface layer. The framework is then evaluated through a real production implementation with a time-separated split, a held-out production recording, manually annotated tracking clips, and long-horizon zone aggregation.

The study makes five contributions. First, it defines a framework that converts production video into state variables suitable for digital twin integration. Second, it instantiates that framework on a real food-production floor with a ceiling-mounted camera and a time-separated evaluation design. Third, it compares detector scale and transfer depth on a held-out production recording. Fourth, it compares two tracker choices on manually annotated 30 s clips from the same facility. Fifth, it shows that the selected stack produces operational variables such as occupancy, entries, exits, dwell time, and long-horizon spatial activity summaries over a 60 min recording.

The remainder of the paper follows that logic. Section 2 defines the observation layer framework. Section 3 describes the implementation case and experimental setup. Section 4 reports detector, tracker, and observation layer results. Section 5 discusses what the framework contributes, what remains scene-specific, and where the implementation still fails. Section 6 concludes the paper.

2 Methods: observation layer framework

2.1 Framework objective

The proposed framework converts ceiling-mounted production video into state variables suitable for digital twin integration. The objective is not frame-level recognition alone. The objective is a structured observation layer that reports which entities are present, where they move, how long they remain in operational regions, and how activity is distributed across the production floor.

The framework comprises six linked layers: video acquisition, detection, tracking, spatial semantics, observation-variable extraction, and a digital twin interface layer. Figure 1 illustrates the information flow from raw video to state variables, reports, and monitoring outputs. The real production implementation serves as a validation case, but the framework itself is not tied to a specific camera identifier or a specific floor plan.

FIGURE 1

2.2 Layered architecture

The video-acquisition layer ingests monocular production footage from a ceiling-mounted camera. The detection layer localizes operational entities in each frame. In the present implementation, the entity classes are person and vat because they carry most of the visible operational movement in the production scene. The tracking layer preserves identity across frames so that detections become trajectories rather than isolated boxes. The spatial-semantics layer maps each tracked entity to one of the predefined operational zones. The observation-variable layer then aggregates tracks into occupancy, entries, exits, dwell time, and spatial activity summaries. The digital twin interface layer consumes those summaries as state variables rather than as raw video.

Within the DTaaS reference-architecture perspective, the proposed stack occupies the sensing and information-processing path between the physical production element and higher-level twin services (Aheleroff et al., 2021). The interface output can be consumed by dashboards, models, or control services, but those downstream services are outside the scope of the present validation.

The framework treats detector and tracker selection as explicit design choices rather than hidden implementation details. The detector family is compared under a fixed split policy and a fixed resolution so that model scale remains the main changing variable. The tracker layer is then selected on the same scene with fixed detector outputs so that association quality and runtime can be compared directly. This logic keeps the framework reproducible and ties the digital twin claim to measured evidence rather than to a hand-picked pipeline.

2.3 Detector and tracker candidate space

The detector benchmark holds the architecture family constant and varies model scale. YOLO11n, YOLO11s, YOLO11m, YOLO11l, and YOLO11x are the nano, small, medium, large, and extra-large variants of the same Ultralytics YOLO11 detector family. Their parameter counts in the tested weights are 2.59, 9.41, 20.03, 25.28, and 56.83 million, respectively. This controlled comparison isolates the trade-off between model capacity, runtime, and held-out generalization. YOLO11x produced the strongest held-out accuracy, while YOLO11l and YOLO11s defined the principal lighter trade-off points.

The tracking benchmark compares two association strategies that matter for a static overhead production view. ByteTrack represents a motion-first tracker with lightweight association logic. BoT-SORT adds a heavier association stack and aims to preserve identity under more difficult re-identification conditions. In the current implementation, ByteTrack provides the stronger quality-speed trade-off on the annotated production clips.

2.4 Formal definition of observation variables

Let frame index refer to one time step in a sequence of frames. Let denote the detector output at frame , where is a predicted bounding box, is the class label, and is the confidence score. The tracking layer converts those detections into track states , where preserves identity across frames.

Each operational zone is represented by a polygon . For every track , the framework tests whether the reference point falls inside polygon . In the current implementation, is the bounding-box center. Let denote the indicator function, equal to one when the enclosed condition is true and 0 otherwise. The zone-membership function is defined as follows (Equation 1):

This indicator yields the main observation variables. Dwell time of track k in zone z is computed as follows (Equation 2):

Average occupancy of zone z over the sequence is computed as follows (Equation 3):

Occupied-time ratio of zone z is computed as follows (Equation 4):

Entry count into zone z is computed as follows (Equation 5):

Exit count is defined analogously by the reverse transition. Together, these variables form the observation layer delivered to the digital twin.

2.5 Evaluation metrics and decision criteria

The detector layer uses intersection over union to compare each predicted box with its reference annotation (Equation 6):

Precision and recall are defined as follows (Equation 7):

Mean average precision summarizes class-wise average precision across classes (Equation 8):

The study reports both mAP50 and mAP50-95 because the first reflects detection success at a fixed IoU threshold of 0.50, whereas the second penalizes weak localization more strongly across a range of thresholds.

The tracking layer uses HOTA, MOTA, IDF1, ID switches, and runtime. The compact formulation of HOTA is as follows (Equation 9):

This metric suits the framework because it combines detection quality and association quality in one score. The final stack should not be optimized for one metric in isolation. The decision criterion is a balanced observation layer that preserves held-out detection quality, stable short-horizon association, and usable runtime on real production footage.

2.6 Statistical interpretation and uncertainty

The comparisons are descriptive benchmarks on fixed, time-separated evaluation units rather than population-level hypothesis tests. No p-values or claims of statistical significance are used. Detector candidates are evaluated on the same 150-frame primary test set (593 boxes) and the same 60-frame secondary set (231 boxes). Tracker candidates are evaluated on the same 360 frames containing 1,953 labeled instances and 12 unique identities. Identical evaluation sets and settings make within-study comparisons direct, but one camera, one date, and one facility do not support statistical generalization to other sites. Repeated recordings across days, cameras, and facilities are required for inferential uncertainty estimates.

2.7 Framework scope and reusability

The reusable contribution lies in the layered mapping from production video to observation variables for digital twin integration. The real production deployment serves as the implementation case used to test whether this mapping remains valid under a time-separated split, a held-out production recording, and long-horizon zone aggregation. Accordingly, the selected detector, the selected tracker, and the final zone layout are implementation decisions within the framework rather than the framework itself.

2.8 Observation versus real-time monitoring

Observation refers to estimating structured state variables from sensor data, whether the computation is online or offline. Real-time monitoring additionally requires continuous acquisition, bounded end-to-end latency, and an operational display or alerting service. The present implementation demonstrates observation on recorded production video and reports component runtime; it does not validate a continuously deployed real-time monitoring service. We therefore use observation-layer terminology throughout and reserve real-time claims for future deployment testing.

3 Implementation case and experimental setup

3.1 Real production setting

The implementation case uses footage from a ceiling-mounted camera installed on a real food-production floor. The camera recorded four hourly video files on 23 March 2026 at a spatial resolution of 1280 × 1920 pixels and a nominal frame rate of 6 frames/s. The scene includes workers, vats, racks, a central machine, and active loading and staging regions (Figure 2). This geometry makes the scene suitable for an observation layer study because it contains both stationary operational regions and repeated short-horizon movement across those regions.

FIGURE 2

3.2 Temporal split policy

The implementation uses time-based separation instead of random frame-level mixing. Footage from 14:00 and 15:00 forms the main training pool. Footage from 16:00 forms the validation pool. Footage from 17:00 remains fully held out for detector testing, secondary held-out evaluation, and tracking assessment. This split reduces leakage from near-duplicate frames and tests whether the selected stack remains valid on a later production recording instead of memorizing local appearance patterns.

The held-out production recording yields three evaluation assets. The first is a primary detector test set of 150 manually reviewed frames. The second is a secondary 60-frame detector subset extracted from the same recording with a different sampling phase to provide an independent additional evaluation pool. The third consists of two short tracking clips of 180 frames each. Clip A starts at 17:10:00 and Clip B starts at 17:42:00. Each clip covers 30 s of motion at 6 frames/s.

3.3 Dataset construction and annotation

The implementation recognizes two object classes: person and vat. OpenCV extracted JPEG frames at the native 1280 × 1920 resolution from four 6 frames/s HEVC recordings. The first scouting pass sampled 30 evenly spaced frames from each hourly video at the midpoint of each sampling interval. The second round used the same interval spacing with a phase offset of 0.25 to avoid reusing first-round frames. The held-out 17:00 test and secondary sets used 150 and 60 frames with phase offsets of 0.50 and 0.20, respectively.

The second round added 60 training and 30 validation frames. The seed detector generated drafts at confidence 0.20, and all label files were subsequently reviewed and rewritten before merging. The final detector dataset contained 120 training images with 433 boxes and 60 validation images with 231 boxes. The primary held-out set contained 150 manually reviewed frames with 593 boxes; the secondary set contained 60 reviewed frames with 231 boxes. A single annotator performed the correction workflow, so inter-annotator agreement was not estimated; this is retained as a reproducibility limitation.

The tracking benchmark uses manually annotated identities on the held-out clips. Clip A contains 1054 labeled instances with 7 unique identities. Clip B contains 899 labeled instances with 5 unique identities. Identity assignment preserves one label per physical object while visibility remains continuous.

3.4 Detector protocol

All detector candidates start from pretrained YOLO11 weights and use the same temporal split. Training used 80 epochs, image size 1280, batch size 4, initial learning rate 0.001, final learning-rate factor 0.01, five warm-up epochs, and freeze depth 22 for the size comparison. Augmentation settings were mosaic 0.3 (disabled for the final 10 epochs), hue 0.015, saturation 0.4, value 0.3, rotation ±8°, translation 0.08, scale 0.25, and horizontal-flip probability 0.5. Ultralytics preserved aspect ratio through its standard letterbox preprocessing. Evaluation used image size 1280 and batch size 4 on the fixed held-out lists.

The implementation also tests three adaptation depths for YOLO11x: freeze depth 22, freeze depth 10, and full unfreezing. This ablation addresses a practical question that matters for small industrial datasets with strong viewpoint bias: should the detector preserve more of the pretrained representation, or should it adapt more deeply to the target domain? The held-out detector benchmark answers that question on unseen production footage rather than on validation data alone.

3.5 Tracking protocol

The tracking benchmark fixes the detector to the strongest domain-adapted YOLO11x configuration and compares ByteTrack with BoT-SORT under identical inference settings. Both trackers use a confidence threshold of 0.25, an IoU threshold of 0.5, and image size 1280. This protocol isolates the tracker layer by keeping detector outputs and clip content unchanged.

The benchmark reports HOTA, MOTA, IDF1, ID switches, and runtime in frames/s. This metric set captures both association quality and runtime cost. The framework needs both because a digital twin cannot rely on a tracker that only preserves identity in short clips while failing operational runtime constraints.

3.6 Spatial semantics and zone design

The implementation defines five production zones: left transit lane, rack buffer area, machine service area, front vat staging area, and right loading area (Figure 3). These polygons cover the main floor regions where workers and vats queue, cross, or remain during operations. The machine service area carries the strongest operational importance because it covers the central machine and the surrounding service footprint. The front vat staging area captures vat parking and worker-vat interaction near the foreground lane.

FIGURE 3

The current zone-membership rule uses the bounding-box center. This rule provides a reproducible baseline for both tracked classes and works reasonably well for vats. The rule is less precise for workers because floor contact is better approximated by the bottom-center point. This limitation is important because it affects how the observation layer interprets zone occupancy and dwell time.

3.7 Observation runs

The implementation validates the observation layer at two scales. The short-horizon validation uses the two annotated clips to test whether the zone layout produces interpretable entries, exits, occupancy, and dwell-time patterns. The long-horizon validation uses the full 60 min held-out production recording to test whether the selected detector-tracker stack can sustain observation output beyond short benchmark clips.

The 60 min run matters because the framework aims to support digital-twin monitoring beyond benchmark reporting. A short clip can show that tracking works. A long-horizon run shows whether the observation layer still produces useful state variables as activity accumulates over operational time.

4 Results

4.1 Detector development across annotation rounds

The first validation step tested whether the framework could adapt a pretrained detector to the production floor with limited labeled data. The seed YOLO11x model reached mAP50 = 0.856 and mAP50-95 = 0.413 on the first validation split. After the second annotation round and dataset merge, the same detector family reached mAP50 = 0.927 and mAP50-95 = 0.591 (Figure 4). The second round therefore added useful variation rather than redundant near-duplicate frames.

FIGURE 4

The class-level pattern stayed uneven. The vat class already reached mAP50 = 0.952 in the seed round, while the person class remained at mAP50 = 0.760. After the second round, vat rose to mAP50 = 0.978 and person to mAP50 = 0.876. Person detection remained the limiting part of the perception layer throughout the detector study.

4.2 Detector selection on the held-out production recording

The main detector comparison used the held-out 17:00 production recording rather than validation data from the annotation pool. On the primary 150-frame held-out test set, YOLO11x achieved the strongest detection result with mAP50 = 0.939 and mAP50-95 = 0.754 (Figure 5). YOLO11l followed with mAP50 = 0.928 and mAP50-95 = 0.645, while YOLO11s reached mAP50 = 0.901 and mAP50-95 = 0.603. YOLO11n remained the fastest detector at 2.2 ms/frame, but its recall dropped to 0.780.

FIGURE 5

The same ranking held on the secondary 60-frame held-out subset. YOLO11x again ranked first with mAP50 = 0.936 and mAP50-95 = 0.821. YOLO11l and YOLO11m both reached mAP50 = 0.927, but YOLO11l preserved stronger localization quality with mAP50-95 = 0.697 compared with 0.657 for YOLO11m. YOLO11s remained the strongest compact alternative with mAP50 = 0.912, mAP50-95 = 0.667, and 4.2 ms/frame. These results support the selection of YOLO11x for the detector layer while preserving YOLO11l and YOLO11s as the main trade-off baselines.

The held-out evaluation also showed where the framework still struggles (Figure 6). On the primary held-out test set, the final YOLO11x model reached mAP50 = 0.891 and mAP50-95 = 0.658 for person, whereas vat reached mAP50 = 0.988 and mAP50-95 = 0.851. The perception layer generalizes well to unseen production footage, but person detection still limits the framework more than vat detection.

FIGURE 6

4.3 Effect of transfer depth

The transfer-depth ablation showed a clear split between validation success and true held-out generalization. Freeze depth 22 produced the strongest unseen-hour performance, with mAP50 = 0.939 and mAP50-95 = 0.754 on the primary held-out test set and mAP50 = 0.936 and mAP50-95 = 0.821 on the secondary held-out subset.

Freeze depth 10 reached the strongest in-split validation result, mAP50 = 0.954, but dropped to mAP50 = 0.894 and mAP50-95 = 0.603 on the primary held-out test set. Full unfreezing degraded further, reaching mAP50 = 0.836 and mAP50-95 = 0.523 on the primary held-out test set and mAP50 = 0.791 and mAP50-95 = 0.540 on the secondary held-out subset. The framework therefore benefits from constrained adaptation rather than deeper retraining on the current dataset scale.

4.4 Tracking-layer selection

The tracking benchmark validated the temporal layer of the framework on two manually annotated production clips (Figure 7). Clip A contained 1054 labeled instances with 7 unique identities. Clip B contained 899 labeled instances with 5 unique identities. All tracker runs used the same domain-adapted detector and identical inference settings.

FIGURE 7

At the combined level, ByteTrack reached HOTA = 0.783, MOTA = 0.718, IDF1 = 0.787, 15 identity switches, and 27.6 frames/s. BoT-SORT reached HOTA = 0.767, MOTA = 0.719, IDF1 = 0.786, 17 identity switches, and 17.0 frames/s. MOTA stayed nearly identical, but ByteTrack preserved a small advantage in association quality and a clear runtime advantage. These results support the selection of ByteTrack for the implementation case.

The clip-level breakdown showed where the difficulty sits. Clip A concentrated all observed identity switches and separated the trackers more clearly. Clip B behaved as the easier sequence and gave both trackers zero identity switches. The framework therefore solves short-horizon association reasonably well in easy production motion and still faces its harder association cases in the denser and more interaction-heavy clip.

4.5 Short-horizon validation of observation variables

The short-clip zone analysis tested whether the spatial-semantics layer yields meaningful observation variables before the long-horizon run. On Clip A, the front vat staging area dominated the scene, with 7 entries, 5 exits, average occupancy 2.34, and total dwell time 70.3 s. The rack buffer area and machine service area remained active but secondary, with total dwell times of 41.7 s and 30.7 s.

Clip B reinforced the same pattern. The front vat staging area reached average occupancy 3.11 and total dwell time 93.2 s, while the right loading area followed with average occupancy 1.68 and total dwell time 50.3 s. The left transit lane remained inactive in both clips under the current bounding-box-center rule. These results show that the framework already produces interpretable operational variables before the long-horizon stage.

4.6 Full-horizon observation output

The full-horizon run validated the final observation layer on the held-out production recording (Figure 8). The selected YOLO11x and ByteTrack stack was applied to the full 60 min recording. The machine service area emerged as the dominant operational zone with 276 entries, 172 exits, average occupancy 1.36, occupied-time ratio 95.2%, and total dwell time 4911.8 s. The front vat staging area ranked second with 204 entries, 112 exits, average occupancy 1.11, occupied-time ratio 68.9%, and total dwell time 4001.3 s.

FIGURE 8

The remaining zones carried much weaker activity. The rack buffer area accumulated 1572.0 s of total dwell, the right loading area accumulated 1029.0 s, and the left transit lane accumulated 550.0 s. The observation layer therefore separated the production floor into two dominant zones and three peripheral zones. The principal framework-level result is that the selected pipeline yields operational state variables in addition to object detections and trajectories.

The same run also exposed the long-horizon limit of the current implementation. The tracker produced 639 unique track identities over the 60 min sequence. This number reflects fragmentation rather than physical object count. The framework still yields usable occupancy and dwell summaries at this timescale, but it does not yet support exact long-horizon object continuity.

4.7 Consolidated validation of the framework

The results support one consistent framework instantiation. YOLO11x provides the strongest held-out detector layer. Freeze depth 22 provides the strongest transfer setting. ByteTrack provides the strongest quality-speed trade-off in the temporal layer. The spatial-semantics layer then converts tracks into occupancy, entries, exits, and dwell-time summaries that expose the operational importance of the machine service area and the front vat staging area on the production floor.

5 Discussion

5.1 What the framework contributes

The contribution of the study is methodological rather than architectural. The proposed framework explains how a ceiling-mounted production camera can support a manufacturing digital twin through structured observation variables. At the framework level, the main reusable elements are the detector-selection logic, the tracker-selection logic, and the mapping from tracks to operational variables such as occupancy, entries, exits, and dwell time.

This distinction matters. A narrow case study would stop at scene-specific results. The present study instead separates the transferable part of the contribution from the scene-specific part. The transferable part is the layered logic from video to state variables. The scene-specific part is the selected detector, the selected tracker, and the final polygon layout on the current production floor.

5.2 Why constrained transfer worked better

The transfer-depth ablation showed that a stronger validation score did not predict stronger held-out behavior. Freeze depth 10 reached the best in-split mAP50, but lost a large share of that gain on the unseen production recording. Full unfreezing degraded further. Freeze depth 22 preserved the strongest held-out detector layer on both the primary held-out test set and the secondary held-out subset.

The explanation is practical rather than mysterious. The current dataset remains small and strongly biased toward one ceiling-view geometry. Deeper adaptation fits the annotation pool more tightly, but weakens the general visual priors inherited from pretraining. For this implementation case, the framework benefits from constrained transfer because the target domain differs sharply from common natural-image datasets while still lacking the volume needed for deeper retraining (Shubhasree et al., 2025; Zhang et al., 2026b; Yang et al., 2024; Çelik et al., 2024).

5.3 Why detector scale still matters after adaptation

Domain adaptation did not erase the effect of model scale. YOLO11x stayed ahead on the held-out production recording and on the secondary held-out subset, and the advantage became most visible in mAP50-95, where tighter localization matters more. YOLO11l stayed close enough to remain the strongest lighter alternative. YOLO11s stayed strong enough to remain the best compact alternative.

This result yields a practical selection rule for similar industrial settings. The current implementation can be read as a three-point trade-off: YOLO11x for maximum quality, YOLO11l for a lighter high-quality setting, and YOLO11s for a speed-oriented configuration. This is a framework-level contribution because it provides an explicit rule for detector selection under comparable constraints.

The class-level gap also points to the next data priority. Vat detection is already stable. Person detection still limits the framework because workers appear under more varied pose, occlusion, and machine interaction conditions. Future annotation effort should therefore target person cases first.

5.4 Why ByteTrack was the better temporal layer

The tracking benchmark did not reward the heavier default BoT-SORT configuration. ByteTrack preserved slightly stronger HOTA and IDF1 while running much faster. The hardest sequence, Clip A, separated the trackers more clearly and still favored ByteTrack. Clip B behaved as the easier sequence and narrowed the difference.

The scene explains that outcome. The camera stays fixed. The viewpoint stays overhead. The benchmark does not require long-range appearance-based re-identification across multiple cameras. Under those conditions, the framework gains little from heavier association logic and gains more from runtime headroom. That does not prove that richer tracking is unnecessary in general. It shows that the current implementation case does not justify the extra complexity of default BoT-SORT (Wang et al., 2021; Zhou et al., 2022; Csönde et al., 2022; Wong et al., 2026; Lurbur et al., 2026).

5.5 Why the observation layer is relevant to a digital twin

The implementation is relevant to a digital twin because it converts physical-floor observations into typed state variables that a synchronized digital representation can consume. It does not, by itself, constitute the complete twin. The validated contribution ends at the interface that exports occupancy, entries, exits, dwell time, and activity concentration; simulation, prediction, data fusion with other sensors, and feedback to the physical process remain downstream responsibilities.

This distinction is stronger than treating online footage as a digital twin. Raw video is a sensor stream, monitoring presents the stream or derived indicators, and the proposed observation layer estimates structured production state. A full twin requires the additional synchronized digital model and service or control layers described in manufacturing standards and reference architectures (Aheleroff et al., 2021; Aheleroff et al., 2022; International Organization for Standardization, 2021). The present results validate one enabling layer, not the complete closed-loop system.

5.6 What still limits the framework

The first limitation comes from camera and zone geometry. The study validates one fixed ceiling camera at 1280 × 1920 and 6 frames/s. Transfer to another camera depends on field of view, mounting height and angle, lens distortion, illumination, motion blur, and the pixel size of the smallest target. Camera intrinsics and mounting height were not available in the archived metadata, which limits exact geometric replication. A new site therefore requires a pilot sequence, camera-specific polygon calibration, and held-out validation before deployment. The bounding-box-center membership rule is also less suitable for workers than for vats; a footpoint rule is the clearest next improvement.

The second limitation is long-horizon identity fragmentation. The 60 min run produced 639 track identities, far more than the number of physical entities. Occupancy and aggregate dwell remain useful as demonstrational state estimates, but event counts that depend on persistent identity should not be treated as exact over the full hour. Re-identification or trajectory stitching is required for identity-stable long-horizon analytics.

The third limitation is domain scope. The current classes, zones, and appearance model are specific to workers and vats in one food-production facility. Other foods and operating conditions can introduce different containers, product geometry, reflective surfaces, steam, condensation, protective clothing, crowding, cleaning cycles, and lighting variation. Adaptation criteria should therefore include target-class coverage, minimum target size, occlusion frequency, lighting range, camera geometry, and a held-out operating period. Cross-day and cross-facility validation is needed before claiming wider industrial generality.

5.7 What other researchers can reuse

Researchers can reuse the framework in several ways. The layer structure from video to variables suitable for digital twin integration can be transferred directly. The detector and tracker selection logic can be reused in settings that prioritize held-out production behavior over in-split validation. The observation-variable formalization can also be reused to link tracks with occupancy, entries, exits, dwell time, and spatial activity concentration.

Taken together, these elements provide a reproducible path from production video to manufacturing-state variables. The present implementation validates that path on a real food-production floor. Future studies can retain the framework while replacing the detector family, the tracker family, the zone design, or the production scene.

6 Conclusion

This study shows how production video can supply an observation layer for a manufacturing digital twin when detection, tracking, spatial semantics, and observation variables are formalized within one framework. The implementation validates this layer on a ceiling-mounted camera and a held-out 60 min food-production recording; it does not implement a complete digital twin.

The selected implementation uses YOLO11x with freeze depth 22 and ByteTrack. This combination produced the strongest held-out detector result and the best tracking quality-speed trade-off, then generated zone-level occupancy, entries, exits, and dwell-time summaries. The machine service area and front vat staging area emerged as the dominant regions, while the long run also exposed substantial identity fragmentation.

The contribution is a reproducible path from ceiling-mounted production video to twin-ready state variables. Its present limits include one annotator, one camera and site, camera-specific zone geometry, bounding-box-center membership, and unstable long-horizon identity. Simulation, prediction, bidirectional synchronization, and control remain future integration work.

Statements

Data availability statement

The data supporting the conclusions of this article are available from the corresponding author upon reasonable request, subject to the confidentiality restrictions of the production facility.

Author contributions

GA: Visualization, Data curation, Formal Analysis, Writing – review and editing, Conceptualization, Funding acquisition. AA: Formal Analysis, Data curation, Writing – original draft, Conceptualization, Supervision, Writing – review and editing, Methodology. BA: Formal Analysis, Writing – review and editing, Supervision, Visualization, Conceptualization, Investigation. YFa: Project administration, Data curation, Software, Writing – original draft. YFu: Writing – original draft, Formal Analysis, Software, Resources, Data curation. MZ: Writing – review and editing, Formal Analysis, Data curation, Software, Resources.

Funding

The author(s) declared that financial support was received for this work and/or its publication. The article was supported by the project from the Ministry of Science and Higher Education of the Republic of Kazakhstan, No. BR24992975 «Development of a digital twin of a food processing enterprise using artificial intelligence and IIoT technologies» (2024–2026).

Conflict of interest

The author(s) declared that this work was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Generative AI statement

The author(s) declared that generative AI was used in the creation of this manuscript. During the preparation of this work, the authors used ChatGPT (model GPT-5, OpenAI) to assist with language polishing and structural formatting of the manuscript. After using this tool, the authors thoroughly reviewed and edited the content, and take full responsibility for the factual accuracy, originality, and final content of the publication.

Publisher’s note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

References

  • 1

    Abd ElfattahM.EweesA. A.DarwishA.HassanienA. E. (2025). Detection and classification of meat freshness using an optimized deep learning method. Food Chem.489, 144783. 10.1016/j.foodchem.2025.144783

  • 2

    AheleroffS.XuX.ZhongR. Y.LuY. (2021). Digital twin as a service (DTaaS) in industry 4.0: an architecture reference model. Adv. Eng. Inf.47, 101225. 10.1016/j.aei.2020.101225

  • 3

    AheleroffS.HuangH.XuX.ZhongR. Y. (2022). Toward sustainability and resilience with industry 4.0 and industry 5.0. Front. Manuf. Technol.2, 951643. 10.3389/fmtec.2022.951643

  • 4

    AmirkhanovB.KunelbayevM.AdilzhanovaS.ZhaisanovaD.TyulepberdinovaG.AmirkhanovA. (2025). Dynamic systems simulation using digital twins: approaches, technologies, and applications. Proc. SPIE - Int. Soc. Opt. Eng.13649, 136490V. 10.1117/12.3065298

  • 5

    AmirkhanovB.KunelbayevM.AmirkhanovaG.AmirkhanovA.RaevaA.NurgazyT. (2026). Comparison of neural network architectures for modeling complex system behavior in digital twins: analysis based on bearing data. Lect. Notes Netw. Syst.1628, 236–249. 10.1007/978-3-032-05545-3_19

  • 6

    AmirkhanovaG.IsmailovS.AmirkhanovA.AdilzhanovaS.ZhasuzakovaM.ChenS. (2026). A lightweight, end-to-end encrypted data pipeline for IIoT: an AES-GCM implementation for ESP32, MQTT, and raspberry Pi. Information17 (1), 33. 10.3390/info17010033

  • 7

    BorugaddaP.KalluriH. K. (2026). A comprehensive analysis of artificial intelligence, machine learning, deep learning and computer vision in food science. J. Future Foods6 (6), 971–987. 10.1016/j.jfutfo.2025.07.002

  • 8

    ÇelikM. T.ArslankayaS.YildizA. (2024). Real-time detection of plastic part surface defects using deep learning based object detection model. Measurement.

  • 9

    ChiangS.-H.WangT.ChenY.-F. (2021). Efficient pedestrian detection in top-view fisheye images using compositions of perspective view patches. Image Vis. Comput.

  • 10

    ChuangP.-T.ChengM.-H.ChiC.-H.KuH.-H. (2026). Deep learning for extraneous material detection in a rice processing factory. Food control.171, 111804. 10.1016/j.foodcont.2025.111804

  • 11

    CsöndeG.SekimotoY.KashiyamaT. (2022). Online real-time pedestrian tracking from medium altitude aerial footage with camera motion cancellation. Comput. Vis. Image Underst.217, 103386. 10.1016/j.cviu.2022.103386

  • 12

    GhoshD.DattaA. (2023). Deep learning enabled surrogate model of complex food processes for rapid prediction. Chem. Eng. Sci.270, 118515. 10.1016/j.ces.2023.118515

  • 13

    GuoM.LvX.WangD.ChenH.WeiF. (2025). Innovative integration of computer vision, IoT, and digital twin in food quality and safety assessment. Trends Food Sci. and Technol.152, 105176. 10.1016/j.tifs.2025.105176

  • 14

    International Organization for Standardization (2021). ISO 23247-1:2021 Automation Systems and Integration — Digital Twin Framework for Manufacturing — Part 1: Overview and General Principles. Geneva: ISO.

  • 15

    JuE.SeolJ.KimS.KimS.KimS.-J.SonH. I. (2026). Comparison of deep learning models for 3D food printing monitoring system. J. Food Eng.409, 112903. 10.1016/j.jfoodeng.2025.112903

  • 16

    KaushalS.TammineniD. K.RanaP.SharmaM.SridharK.ChenH. H. (2024). Computer vision and deep learning-based approaches for detection of food nutrients/nutrition: new insights and advances. Trends Food Sci. and Technol.

  • 17

    LiH.LoJ. T. Y. (2025). A review on the use of top-view surveillance videos for pedestrian detection, tracking and behavior recognition across public spaces. Accid. Analysis Prev.

  • 18

    LiaoQ.GardnerB.BarlowR.McMillanK.MooreS.FitzgeraldA.et al (2025). Improving traceability and quality control in the red-meat industry through computer vision-driven physical meat feature tracking. Food Chem.

  • 19

    LiuX.LiuH.WangK.ZhaoB.MiaoQ. (2025). Stronger Center: enhancing TransCenter for robust multi-object tracking. Neurocomputing.

  • 20

    LurburM.WilsonK. C.YochumN. (2026). Towards automated bycatch monitoring: optimizing and evaluating multi-object tracking of salmon in pollock trawls. Ecol. Inf.83, 103674. 10.1016/j.ecoinf.2026.103674

  • 21

    OhnoM.UkyoR.AmanoT.RizkH.YamaguchiH. (2024). Privacy-preserving pedestrian tracking with path image inpainting and 3D point cloud features. Pervasive Mob. Comput.100, 101914. 10.1016/j.pmcj.2024.101914

  • 22

    Pérez-CalabuigA. M.Pradana-LópezS.CancillaJ. C.MenaM. L.TorrecillaJ. S. (2025). AI-powered optical quality control of yogurt: detecting melamine adulteration and monitoring shelf-life. Appl. Food Res.5 (1), 101510. 10.1016/j.afres.2025.101510

  • 23

    Semercioz-OduncuogluA. S.LuningP. A. (2025). Industry 4.0 technologies in quality and safety control systems in food manufacturing: a systematic techno-managerial analysis on benefits and barriers. Trends Food Sci. and Technol.163, 105144. 10.1016/j.tifs.2025.105144

  • 24

    ShubhasreeA. V.SankaranP.RaghuC. V. (2025). Fine-tuned deep models for niche datasets: people detection in UAV building images to aid rescue operations. Int. J. Appl. Earth Observation Geoinformation.

  • 25

    SongZ.LiY.ZhaoH.LiuX.DingH.DingQ.et al (2025). Application of computer vision techniques to fermented foods: an overview. Trends Food Sci. and Technol.154, 104982. 10.1016/j.tifs.2025.104982

  • 26

    SunH.DingY.FanR.ZhangY.ZhangT.HuangX.et al (2026). Deep learning-driven digital twin system for pedestrian tracking and evacuation load assessment in public spaces. Eng. Appl. Artif. Intell.174, 114440. 10.1016/j.engappai.2026.114440

  • 27

    WangZ.LiM.LuY.BaoY.LiZ.ZhaoJ. (2021). Effective multiple pedestrian tracking system in video surveillance with monocular stationary camera. Expert Syst. Appl.

  • 28

    WongL. N. Y.YuS.WongK. Y. P. (2026). Intelligent and autonomous pipeline deposit tracking based on a multi-object tracking framework. Tunn. Undergr. Space Technol.171, 107463. 10.1016/j.tust.2026.107463

  • 29

    XuanL.ZhaoB.ZhengD.MansurovaM.BelgibaevB.AmirkhanovaG.et al (2026). Multi-objective optimization and federated learning for agri-food supply chains via dynamic heterogeneous graph neural networks. Sustainability18 (3), 1426. 10.3390/su18031426

  • 30

    YangD.PengX.WuX.HuangH.LiL.ZhongW. (2024). Domain perceptive-pruning and fine-tuning the pre-trained model for heterogeneous transfer learning in cross domain prediction. Expert Syst. Appl.

  • 31

    ZhangD.XingZ.ChenJ.ChenY.ZhaoY.ZengM.et al (2026a). A deep learning-assisted SMART label for food freshness monitoring and prediction under variable lighting conditions. Chem. Eng. J.532, 174300. 10.1016/j.cej.2026.174300

  • 32

    ZhangT.XieH.LiuL.WangH.LiJ. (2026b). DTA-YOLO: a small sample transfer learning method for substation cabinet screw status detection. Electr. Power Syst. Res.

  • 33

    ZhaoS.AdadeS. Y.-S. S.WangZ.JiaoT.OuyangQ.LiH.et al (2025). Deep learning and feature reconstruction assisted vis-NIR calibration method for on-line monitoring of key growth indicators during kombucha production. Food Chem.463, 141411. 10.1016/j.foodchem.2024.141411

  • 34

    ZhouX.JiaY.BaiC.ZhuH.ChanS. (2022). Multi-object tracking based on attention networks for smart city system. Sustain. Energy Technol. Assessments52, 102216. 10.1016/j.seta.2022.102216

  • 35

    ZhouW.ZhangM.TangT.BhandariB.LiC. (2026). Smart food comminution using deep learning and machine vision: progress and prospects. Food Bioprod. Process.156, 560–573. 10.1016/j.fbp.2026.02.012

  • 36

    ZhuL.SpachosP.PensiniE.PlataniotisK. N. (2021). Deep learning and machine vision for food processing: a survey. Curr. Res. Food Sci.

Summary

Keywords

ceiling-mounted video, food manufacturing, manufacturing digital twin, multi-object tracking, object detection, observation layer, zone analytics

Citation

Amirkhanova G, Amirkhanov A, Amirkhanov B, Faruzkyzy Y, Fu Y and Zhasuzakova M (2026) A vision-based observation layer framework for manufacturing digital twins: detection, tracking, and zone analytics from ceiling-mounted production video. Front. Manuf. Technol. 6:1875591. doi: 10.3389/fmtec.2026.1875591

Received

08 May 2026

Revised

25 August 2026

Accepted

02 September 2026

Published

28 October 2026

Volume

6 - 2026

Edited by

Chih-Hsing Chu, National Tsing Hua University, Taiwan

Reviewed by

Shohin Aheleroff, SUEZ Smart Solutions, New Zealand

Linqiong Qiu, Queensland University of Technology, Australia

Updates

Copyright

*Correspondence: Meiramkul Zhasuzakova,

Disclaimer

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.

Outline

Figures

Cite article

Copy to clipboard


Export citation file


Share article

Article metrics