{"notes":[{"id":"retail-product/deepaco","category":"retail-product","legacyPath":"retail-product/2206-deepaco","legacySlug":"2206-deepaco","legacyPaths":[],"title":"DeepACO","subtitle":"The Overhead Hunter","author":"Z. Yuan","paperDate":"2022","publishedOn":"2025-07-20","paperTitle":"DeepACO: A Robust Deep Learning-Based Automatic Checkout System","paperUrl":"https://openaccess.thecvf.com/content/CVPR2022W/AICity/html/Pham_DeepACO_A_Robust_Deep_Learning-Based_Automatic_Checkout_System_CVPRW_2022_paper.html","bibliography":{"title":"DeepACO: A Robust Deep Learning-Based Automatic Checkout System","authors":["Long Hoang Pham","Duong Nguyen-Ngoc Tran","Huy-Hung Nguyen","Tai Huu-Phuong Tran","Hyung-Joon Jeon","Hyung-Min Jeon","Jae Wook Jeon"],"url":"https://openaccess.thecvf.com/content/CVPR2022W/AICity/html/Pham_DeepACO_A_Robust_Deep_Learning-Based_Automatic_Checkout_System_CVPRW_2022_paper.html","pdfUrl":"https://openaccess.thecvf.com/content/CVPR2022W/AICity/papers/Pham_DeepACO_A_Robust_Deep_Learning-Based_Automatic_Checkout_System_CVPRW_2022_paper.pdf","codeUrl":null,"preprint":null,"publication":{"venue":"CVPR Workshops","year":2022,"kind":"workshop","url":"https://openaccess.thecvf.com/content/CVPR2022W/AICity/html/Pham_DeepACO_A_Robust_Deep_Learning-Based_Automatic_Checkout_System_CVPRW_2022_paper.html"},"citation":"@inproceedings{retailproductdeepaco2022,\n  title = {{DeepACO: A Robust Deep Learning-Based Automatic Checkout System}},\n  author = {Long Hoang Pham and Duong Nguyen-Ngoc Tran and Huy-Hung Nguyen and Tai Huu-Phuong Tran and Hyung-Joon Jeon and Hyung-Min Jeon and Jae Wook Jeon},\n  year = {2022},\n  booktitle = {CVPR Workshops},\n  url = {https://openaccess.thecvf.com/content/CVPR2022W/AICity/html/Pham_DeepACO_A_Robust_Deep_Learning-Based_Automatic_Checkout_System_CVPRW_2022_paper.html}\n}\n","citationPath":"/content/papers/citations/retail-product/deepaco.4a3ccc35e79a.bib"},"thumbnail":{"src":"/content/papers/assets/5b6b896270577817ebce085180d5b8bf4ea36cf60ecac67ecfaee350536872ee.jpg","width":1538,"height":740},"locale":"en","path":"/content/papers/en/retail-product/deepaco.dd245249e52d.md","headings":[{"id":"problem-definition","text":"Problem Definition","depth":2},{"id":"proposed-solution","text":"Proposed Solution","depth":2},{"id":"data-synthesis","text":"Data Synthesis","depth":3},{"id":"model-architecture","text":"Model Architecture","depth":3},{"id":"product-detection","text":"Product Detection","depth":3},{"id":"hand-estimation","text":"Hand Estimation","depth":3},{"id":"multi-object-tracking","text":"Multi-Object Tracking","depth":3},{"id":"product-counting","text":"Product Counting","depth":3},{"id":"discussion","text":"Discussion","depth":2},{"id":"test-data-and-evaluation-metrics","text":"Test Data and Evaluation Metrics","depth":3},{"id":"quantitative-results","text":"Quantitative Results","depth":3},{"id":"conclusion","text":"Conclusion","depth":2}],"anchorAliases":{},"guide":null,"relatedReading":[{"id":"retail-product/rpc","relation":"comparison","topic":"Recognition and counting for automated checkout"},{"id":"retail-product/dpsnet","relation":"comparison","topic":"Recognition and counting for automated checkout"},{"id":"retail-product/retail-product-recognition-review","relation":"comparison","topic":"Recognition and counting for automated checkout"}]},{"id":"retail-product/rpc","category":"retail-product","legacyPath":"retail-product/1901-rpc","legacySlug":"1901-rpc","legacyPaths":[],"title":"RPC Dataset","subtitle":"Check, Please!","author":"Z. Yuan","paperDate":"2019-01-22","publishedOn":"2025-07-07","paperTitle":"RPC: A Large-Scale Retail Product Checkout Dataset","paperUrl":"https://arxiv.org/abs/1901.07249","bibliography":{"title":"RPC: A Large-Scale Retail Product Checkout Dataset","authors":["Xiu-Shen Wei","Quan Cui","Lei Yang","Peng Wang","Lingqiao Liu"],"url":"https://arxiv.org/abs/1901.07249","pdfUrl":"https://arxiv.org/pdf/1901.07249","codeUrl":null,"preprint":{"id":"1901.07249","submittedOn":"2019-01-22","url":"https://arxiv.org/abs/1901.07249"},"publication":null,"citation":"@misc{retailproductrpc2019,\n  title = {{RPC: A Large-Scale Retail Product Checkout Dataset}},\n  author = {Xiu-Shen Wei and Quan Cui and Lei Yang and Peng Wang and Lingqiao Liu},\n  year = {2019},\n  eprint = {1901.07249},\n  archivePrefix = {arXiv},\n  url = {https://arxiv.org/abs/1901.07249}\n}\n","citationPath":"/content/papers/citations/retail-product/rpc.685bd79f0879.bib"},"thumbnail":{"src":"/content/papers/assets/5abf1228cb943116e0ba0fc6fbf8a2e2c2370a0aa61710dc3f38ef20c3cdfe3d.jpg","width":1084,"height":616},"locale":"en","path":"/content/papers/en/retail-product/rpc.040dba927a5b.md","headings":[{"id":"problem-definition","text":"Problem Definition","depth":2},{"id":"dataset-design-philosophy","text":"Dataset Design Philosophy","depth":2},{"id":"dataset-design","text":"Dataset Design","depth":2},{"id":"dataset-construction-process","text":"Dataset Construction Process","depth":2},{"id":"single-product-exemplar-images","text":"Single-Product Exemplar Images","depth":3},{"id":"checkout-image-construction-process","text":"Checkout Image Construction Process","depth":3},{"id":"evaluation-metrics","text":"Evaluation Metrics","depth":2},{"id":"checkout-accuracy-cacc","text":"Checkout Accuracy (cAcc)","depth":3},{"id":"average-counting-distance-acd","text":"Average Counting Distance (ACD)","depth":3},{"id":"mean-category-counting-distance-mccd","text":"Mean Category Counting Distance (mCCD)","depth":3},{"id":"mean-category-iou-mciou","text":"Mean Category IoU (mCIoU)","depth":3},{"id":"baseline-method-experiments","text":"Baseline Method Experiments","depth":2},{"id":"single","text":"Single","depth":3},{"id":"syn","text":"Syn","depth":3},{"id":"render","text":"Render","depth":3},{"id":"synrender","text":"Syn+Render","depth":3},{"id":"detailed-evaluation-table","text":"Detailed Evaluation Table","depth":3},{"id":"future-research-directions","text":"Future Research Directions","depth":2},{"id":"conclusion","text":"Conclusion","depth":2}],"anchorAliases":{},"guide":null,"relatedReading":[{"id":"retail-product/dpsnet","relation":"comparison","topic":"Recognition and counting for automated checkout"},{"id":"retail-product/deepaco","relation":"comparison","topic":"Recognition and counting for automated checkout"},{"id":"retail-product/retail-product-recognition-review","relation":"comparison","topic":"Recognition and counting for automated checkout"}]},{"id":"retail-product/dpsnet","category":"retail-product","legacyPath":"retail-product/2011-dpsnet","legacySlug":"2011-dpsnet","legacyPaths":[],"title":"DPSNet","subtitle":"Distillation on the Checkout Counter","author":"Z. Yuan","paperDate":"2021","publishedOn":"2025-07-06","paperTitle":"Iterative Knowledge Distillation for Automatic Check-Out","paperUrl":"https://doi.org/10.1109/tmm.2020.3037502","bibliography":{"title":"Iterative Knowledge Distillation for Automatic Check-Out","authors":["Libo Zhang","Dawei Du","Congcong Li","Yanjun Wu","Tiejian Luo"],"url":"https://doi.org/10.1109/tmm.2020.3037502","pdfUrl":"https://isrc.iscas.ac.cn/zhanglibo/pdfs/2020/IEEE_Transactions_on_Multimedia.pdf","codeUrl":null,"preprint":null,"publication":{"venue":"IEEE Transactions on Multimedia","shortVenue":"IEEE TMM","year":2021,"kind":"journal","url":"https://doi.org/10.1109/tmm.2020.3037502"},"citation":"@article{retailproductdpsnet2021,\n  title = {{Iterative Knowledge Distillation for Automatic Check-Out}},\n  author = {Libo Zhang and Dawei Du and Congcong Li and Yanjun Wu and Tiejian Luo},\n  year = {2021},\n  journal = {IEEE Transactions on Multimedia},\n  url = {https://doi.org/10.1109/tmm.2020.3037502},\n  doi = {10.1109/tmm.2020.3037502}\n}\n","citationPath":"/content/papers/citations/retail-product/dpsnet.3da4d3d4efee.bib"},"thumbnail":{"src":"/content/papers/assets/054b3451764fd6fb8748929f85e13cebee4c118717a86abdb290f1f89cbb779f.jpg","width":1556,"height":858},"locale":"en","path":"/content/papers/en/retail-product/dpsnet.bf89678ef78d.md","headings":[{"id":"problem-definition","text":"Problem Definition","depth":2},{"id":"solution","text":"Solution","depth":2},{"id":"data-augmentation","text":"Data Augmentation","depth":3},{"id":"dpsnet","text":"DPSNet","depth":3},{"id":"iterative-knowledge-distillation","text":"Iterative Knowledge Distillation","depth":3},{"id":"loss-function","text":"Loss Function","depth":3},{"id":"discussion","text":"Discussion","depth":2},{"id":"rpc-dataset-benchmark","text":"RPC Dataset Benchmark","depth":3},{"id":"ablation-study","text":"Ablation Study","depth":3},{"id":"conclusion","text":"Conclusion","depth":2}],"anchorAliases":{},"guide":null,"relatedReading":[{"id":"retail-product/rpc","relation":"comparison","topic":"Recognition and counting for automated checkout"},{"id":"retail-product/deepaco","relation":"comparison","topic":"Recognition and counting for automated checkout"},{"id":"retail-product/retail-product-recognition-review","relation":"comparison","topic":"Recognition and counting for automated checkout"}]},{"id":"retail-product/retail-product-recognition-review","category":"retail-product","legacyPath":"retail-product/2011-retail-product-recognition-review","legacySlug":"2011-retail-product-recognition-review","legacyPaths":[],"title":"RPR: Review","subtitle":"Retail Product Recognition","author":"Z. Yuan","paperDate":"2020","publishedOn":"2025-06-30","paperTitle":"Deep Learning for Retail Product Recognition: Challenges and Techniques","paperUrl":"https://doi.org/10.1155/2020/8875910","bibliography":{"title":"Deep Learning for Retail Product Recognition: Challenges and Techniques","authors":["Yuchen Wei","Son Tran","Shuxiang Xu","Byeong Kang","Matthew Springer"],"url":"https://doi.org/10.1155/2020/8875910","pdfUrl":null,"codeUrl":null,"preprint":null,"publication":{"venue":"Computational Intelligence and Neuroscience","shortVenue":"Comput Intell Neurosci","year":2020,"kind":"journal","url":"https://doi.org/10.1155/2020/8875910"},"citation":"@article{retailproductretailproductrecognitionreview2020,\n  title = {{Deep Learning for Retail Product Recognition: Challenges and Techniques}},\n  author = {Yuchen Wei and Son Tran and Shuxiang Xu and Byeong Kang and Matthew Springer},\n  year = {2020},\n  journal = {Computational Intelligence and Neuroscience},\n  url = {https://doi.org/10.1155/2020/8875910},\n  doi = {10.1155/2020/8875910}\n}\n","citationPath":"/content/papers/citations/retail-product/retail-product-recognition-review.8911b6384e86.bib"},"thumbnail":{"src":"/content/papers/assets/d60ead687be6a48025c98f365a675cf3f998c32517488a27f7a9a8cfde6c4043.jpg","width":1508,"height":580},"locale":"en","path":"/content/papers/en/retail-product/retail-product-recognition-review.6c37e292cf6f.md","headings":[{"id":"problem-definition","text":"Problem Definition","depth":2},{"id":"traditional-methods","text":"Traditional Methods","depth":2},{"id":"deep-learning-methods","text":"Deep Learning Methods","depth":2},{"id":"challenges-in-product-recognition","text":"Challenges in Product Recognition","depth":2},{"id":"challenge-1-large-number-of-categories","text":"Challenge 1: Large Number of Categories","depth":3},{"id":"challenge-2-domain-gap-in-data-distribution","text":"Challenge 2: Domain Gap in Data Distribution","depth":3},{"id":"challenge-3-high-intraclass-variation","text":"Challenge 3: High Intraclass Variation","depth":3},{"id":"challenge-4-insufficient-system-flexibility","text":"Challenge 4: Insufficient System Flexibility","depth":3},{"id":"technical-overview","text":"Technical Overview","depth":2},{"id":"cnn-based-approaches","text":"CNN-Based Approaches","depth":3},{"id":"data-augmentation","text":"Data Augmentation","depth":3},{"id":"fine-grained-classification","text":"Fine-Grained Classification","depth":3},{"id":"few-shot-learning","text":"Few-Shot Learning","depth":3},{"id":"public-datasets","text":"Public Datasets","depth":2},{"id":"on-shelf-image-datasets","text":"On-Shelf Image Datasets","depth":3},{"id":"checkout-image-datasets","text":"Checkout Image Datasets","depth":3},{"id":"practical-recommendations","text":"Practical Recommendations","depth":3},{"id":"future-research-directions","text":"Future Research Directions","depth":2},{"id":"conclusion","text":"Conclusion","depth":2}],"anchorAliases":{},"guide":null,"relatedReading":[{"id":"retail-product/rpc","relation":"comparison","topic":"Recognition and counting for automated checkout"},{"id":"retail-product/dpsnet","relation":"comparison","topic":"Recognition and counting for automated checkout"},{"id":"retail-product/deepaco","relation":"comparison","topic":"Recognition and counting for automated checkout"}]}],"text":"This is a paper from a CVPR workshop. Let’s take a look together.\n\n## Problem Definition\n\nIn recent years, the retail industry has been undergoing a profound transformation driven by artificial intelligence and computer vision technologies. Among them, **Automatic Checkout (ACO)** is regarded as one of the most revolutionary application scenarios.\n\nAn ideal ACO system should be able to, at the very moment a customer places items on the checkout counter:\n\n> **Instantly recognize all products and accurately output the shopping list without any human intervention throughout the entire process!**\n\nIs this really possible?\n\nIn reality, building such a system faces countless challenges:\n\n- **Product occlusion and motion blur**;\n- **Highly similar product appearances**;\n- **The real cost caused by miss-detection and misclassification**;\n- **A large variety of product categories with frequent restocking and replacement, making it difficult to collect training images that reflect real scenarios**.\n\nTraditional methods such as background subtraction, SIFT, HOG features combined with SVM or random forest classifiers cannot effectively handle occlusion and lighting variations, resulting in limited accuracy.\n\nEven with the advent of deep learning, models like Faster R-CNN, SSD, and YOLO series have made significant breakthroughs but still face many tough bottlenecks in practical deployment:\n\n- Single-image detection and video-level product counting need separate evaluation;\n- To enhance stability and consistency, it is necessary to introduce Multi-Object Tracking (MOT) techniques;\n\nHowever, MOT itself faces challenges of high computational cost, real-time performance, and difficulty maintaining object IDs, especially under online tracking-by-detection schemes.\n\nOn the other hand, the data requirements for ACO differ from typical detection tasks, as it heavily relies on real-world scenes with “multiple objects in one frame,” “severe occlusion,” and “drastic viewpoint and lighting changes.” Existing datasets include:\n\n- **RPC**: 80,000 static and checkout scene images covering 200 product categories;\n- **RP2K**: Over 2,000 product categories and 350,000 real photographed images focusing on fine-grained classification;\n- **AI City Challenge Checkout**: Synthetic data generated via 3D scanning simulating physical product display and lighting variations, producing 116,500 images.\n\nEven so, these datasets still struggle to fully cover the constantly updating product appearances in real retail environments.\n\nSo, faced with this **high occlusion, high confusion, high update frequency** extreme scenario, is it possible to build a **full-process ACO system capable of stable tracking and accurate counting**?\n\nThe authors of this paper intend to solve this problem.\n\n## Proposed Solution\n\n### Data Synthesis\n\nTo do a good job, one must first sharpen the tools.\n\nTherefore, solving the training data problem is the first step.\n\nFor an Automatic Checkout system (ACO), the core capability is:\n\n> **Accurately predicting the category and quantity of every product in any arbitrary combination.**\n\nHowever, if training relies solely on real checkout footage, it will face dual challenges of massive data scale and high maintenance cost: many product categories, short update cycles, and almost impossible coverage of all combinations and occlusion scenarios.\n\nTherefore, the authors adopt a more practical strategy here: **Using single-product scans captured under controlled conditions, they synthesize realistic checkout images via data augmentation to train the model.**\n\nThe specific workflow is illustrated below:\n\n\n\n![data synthesis](/content/papers/assets/04d292047b2a7f90ec14574fc930f88ff24cef5f6768e263a13525fe5cc7539d.jpg)\n\n\n\nThey first collect a \"single-sample\" dataset for each product $S = \\{(I_s, M_s, y_s)\\}$, where:\n\n- $I_s$: product image;\n- $M_s$: corresponding binary mask;\n- $y_s$: product category ID.\n\nThis study uses the `Saic` dataset provided by the 2022 AI City Challenge Track 4, covering:\n\n- A total of **116,500 images**;\n- From **116 product categories**;\n- All products captured by 3D scanning.\n\nUsing these exemplars, the system can generate a large number of synthesized checkout scene images $\\mathcal{G} = \\{g_i\\}$, constructed as follows:\n\n$$\ng_i = p(N, a, s, g, c)\n$$\n\nwhere the parameters mean:\n\n- $N = \\{(I_n, M_n, y_n)\\} \\subset Saic$: randomly selected $n$ exemplars;\n- $(a, s, g)$: augmentation parameters applied to each exemplar: rotation angle 0°–360°, scale ratio 0.8–1.2, and gamma adjustment 0.8–1.0;\n- $c$: clutter ratio 0.1–0.5, controlling the maximum IoU overlap among object boxes in the synthesis.\n\nThe complete process is:\n\n1. Perform bitwise-and on each exemplar to remove background according to $M_n$;\n2. Randomly apply data augmentation (rotation, scaling, brightness adjustment);\n3. Generate masks via inverse thresholding;\n4. Randomly paste these products onto background images extracted from real checkout video scenes;\n5. Control occlusion so object overlaps do not exceed the IoU threshold defined by parameter $c$, avoiding excessive overlap.\n\nThis pipeline can quickly generate a large number of checkout scene samples simulating various angles, occlusions, and complex backgrounds.\n\nThe figure below shows synthesized results at three clutter levels. These are examples; the experiments below are needed to judge how the generated data affects model performance.\n\n\n\n![data synthesis examples](/content/papers/assets/1d0fc34f8cd41a652ac4c6c85d61e5280d60706a85b6ba9ecb86a489c614c664.jpg)\n\n\nFrom left to right: synthesized results with low, medium, and high occlusion levels.\n\n\n\n\n\n### Model Architecture\n\n\n\n![model architecture](/content/papers/assets/5b6b896270577817ebce085180d5b8bf4ea36cf60ecac67ecfaee350536872ee.jpg)\n\n\n\nThe overall design of DeepACO is shown in the figure above. The system consists of three main components:\n\n1. **Detector**\n2. **Tracker**\n3. **Counter**\n\nAdditionally, to meet the specific requirements of the 2022 AI City Challenge Track 4, the system integrates a **Hand Estimator module** to enhance its ability to recognize products handled by customers.\n\n### Product Detection\n\nDeepACO employs a flexible detection framework that supports multiple object detection models (hot-pluggable), as long as they comply with the **batch input/output format**:\n\n- Input: RGB image sequence $I = \\{I_i | t \\leq i < t + B\\} \\in \\mathbb{R}^{B \\times C \\times H \\times W}$;\n- Output: one detection matrix $D_i\\in\\mathbb R^{P_i\\times F}$ per image, where $P_i$ is its number of detections and $F$ contains $[x_1,y_1,x_2,y_2,\\mathrm{cls},\\mathrm{conf}]$; the corresponding frame index is retained.\n\nIn this study, the authors select **Scaled-YOLOv4-P5** as the baseline, featuring:\n\n- Continuation of the YOLOv4 architecture with CSPNet design;\n- Support for different scales (P5, P6, P7); the paper cites **51.8%, 54.5%, and 55.5% mAP** on MS-COCO, respectively;\n- Deployable on cloud GPUs or low-power devices with good scalability.\n\nThe training data consists of 15,642 synthesized images generated as described previously, fine-tuning an MS-COCO pretrained model with an 8:2 train-test split.\n\nTraining setup includes:\n\n- Data augmentation: basic (rotation, translation, cropping); advanced (RandAugmentation, Mosaic);\n- Optimizer: SGD, trained for 50 epochs, selecting weights on what the paper calls the test split. This 20% synthetic split is therefore used for model selection rather than untouched final evaluation; it is distinct from the competition’s Test A and Test B.\n\nBoth synthesis and training apply augmentation strategies, forming a “double augmentation” effect that helps prevent overfitting and improves model robustness to scale and occlusion variations.\n\n### Hand Estimation\n\n\n\n![hand estimation](/content/papers/assets/ca4cffb62635cdf82aea713537fb282128d28ed97d4ddb60622e799413b7948e.jpg)\n\n\n\nTo meet competition requirements, DeepACO introduces a hand perception module to detect **customer-held products**, enhancing detection accuracy and semantic understanding. This module uses Google MediaPipe framework and involves two stages, as shown above:\n\n1. **Palm Detection**\n   Uses an SSD-based network to detect palms over the entire image. This outperforms directly detecting flexible hands because palms are rigid, less occluded, easier to handle, and allow a reduction of anchor points by 3–5 times using fixed square anchors.\n\n2. **Hand Landmark Regression**\n   Estimates 21 hand keypoints within detected palm regions, providing high-precision 3D landmark information. The method is robust to self-occlusion and partial occlusion, allowing tracking of hand regions frame-to-frame.\n\nThis module runs in parallel with the detector, and their results are cross-validated to effectively **filter out false positives of non-handheld products**. Users may disable this module as needed to maintain system flexibility.\n\n### Multi-Object Tracking\n\nStable recognition in video requires **tracking**, a key step.\n\nDeepACO uses **SORT** (Simple Online and Realtime Tracking) as an online multi-object tracker. It assigns unique IDs to each object and continuously tracks their movement within the ROI (Region of Interest), ensuring each product is detected and counted only once.\n\n- **SORT: Lightweight Tracking Solution**\n  Given the fixed overhead camera angle in the application (stable planar movement, controllable occlusion), SORT is chosen for its high computational efficiency and low memory usage. Compared to the heavier DeepSORT, SORT better fits practical deployment.\n\n  Core SORT workflow:\n\n  - Uses **Kalman Filter** for motion prediction;\n  - Uses **Hungarian Algorithm** for matching detections to existing tracks;\n  - Matching cost between predicted and current detection boxes is measured by **IoU distance**, with a matching threshold of IoU ≥ 0.3.\n\n  Each track’s state vector is $(u, v, s, r, \\dot{u}, \\dot{v}, \\dot{s})$:\n\n  - $(u, v)$: object center coordinates;\n  - $s$: bounding box area;\n  - $r$: aspect ratio;\n  - $(\\dot{u}, \\dot{v}, \\dot{s})$: corresponding velocities.\n\n  Using the Kalman filter’s linear motion model, DeepACO effectively predicts object positions per frame and maintains stable ID assignment.\n\n- **State Management and Counting Logic**\n\n\n\n  ![tracking state machine](/content/papers/assets/d0710e3b82e1b971494717a1784e2d70df3eebba6c048e53f8fcf7302de7f84d.jpg)\n\n\n\n  DeepACO extends the original SORT framework by adding a **tracking state machine**. Each tracked object changes state over time from entering the ROI to final counting, as shown in the state transition diagram above.\n\n  The most critical transition is from **“Counting” → “Counted”**. Only a **hand-handled product** qualifies for counting. The hand-handling decision is made by:\n\n  - Using the hand landmarks returned from the hand estimation module;\n  - Counting the landmarks inside the object bounding box and comparing that count with a threshold;\n  - Applying a **ray-casting algorithm** to test whether a point lies within the box polygon.\n\n  The state machine also checks whether the object has left the ROI or the track age reaches a threshold before transitioning from “Counting” to “Counted.” Hand keypoints inside the box are only part of the decision.\n\n### Product Counting\n\nTo satisfy the AI City Challenge evaluation criteria, DeepACO designs a simple yet effective counting module.\n\nFrom the moment each object enters the ROI, its state is continuously monitored:\n\n- When the object **fully enters the ROI** for the first time and is marked as “Confirmed,” the corresponding frame index is recorded;\n- Later, as the track is processed, its output time is calculated from that previously recorded frame index:\n\n$$\n\\text{Timestamp} = \\frac{\\text{frame index}}{60}\n$$\n\nThe divisor 60 is the source video’s frame rate, not the system’s inference throughput. Tracking state and hand-handling conditions still determine whether the product is counted; the timestamp calculation alone cannot prevent duplicates or omissions.\n\n## Discussion\n\nTo validate the practicality and performance of the DeepACO framework, this paper conducts comprehensive evaluations on the test set provided by the 2022 AI City Challenge Track 4, examining accuracy, latency, and implementation architecture.\n\nThe entire system was built and tested on the following environment:\n\n- CPU: Intel Core i7-7700\n- GPU: NVIDIA GeForce RTX 3090 24GB\n- RAM: 32GB\n\nThe development platform is based on **OpenCV, PyTorch, and MediaPipe**, implementing two processing pipelines:\n\n\n\n![processing pipeline](/content/papers/assets/62597f4058df64cd13b44f9b45b4ca7b4a2e1ba12293ea324acd012066943bde.jpg)\n\n\n\n- **Synchronous pipeline**: modules process sequentially;\n- **Asynchronous pipeline**: each module runs in an independent thread (4 CPU threads + 1 GPU thread), communicating via queues to reduce inter-module blocking.\n\nThe final competition version adopted the asynchronous pipeline, effectively improving overall performance, especially when multiple products appear simultaneously.\n\n### Test Data and Evaluation Metrics\n\nThis study uses five test videos provided by the AI City Challenge, each recorded by a fixed overhead camera simulating customers naturally performing checkout.\n\nThe evaluation metric is the **F1 score**, calculated as:\n\n$$\nF_1 = \\frac{TP}{TP + 0.5 \\times (FP + FN)}\n$$\n\n- **TP (True Positive)**: correctly recognized products;\n\n  - Defined as correct category, appearing within the ROI, and at the correct timing above the tray.\n\n- **FP (False Positive)**: detections incorrectly labeled as correct;\n- **FN (False Negative)**: true products not detected.\n\nThis metric balances precision and recall, providing a comprehensive measure of the ACO system’s practical performance.\n\n### Quantitative Results\n\n\n\n![challenge results](/content/papers/assets/c5b994ee4ca2bf938b2073ecd9ce98e268ff8dcdffb6aaf423cfcf6b5704be15.jpg)\n\n\n\nThe abstract, Table 3, and conclusion report **Test A F1 = 0.4783**, ranked second at that time. Section 5.3 instead states 0.4745; we use the value repeated in the table and other sections and disclose the discrepancy. This is not the later Test B award ranking.\n\nThe reported recall is **0.5238**. The authors suggest that differences between actions and the definition of a scan, or timestamp errors, may contribute. Recall alone cannot identify how much each cause contributes.\n\nThese results show that the system can detect, track, and count products on this test set, while leaving a considerable gap before reliable checkout deployment.\n\nBeyond accuracy, **real-time processing capability** is a key design consideration.\n\nPerformance tests were conducted under the following conditions:\n\n- GPUs: NVIDIA RTX 3090 and RTX A6000;\n- Models: Scaled-YOLOv4-P5 / P7;\n- Settings: P5 uses 448×448 input and P7 uses 896×896; the tables compare several batch sizes and queue sizes.\n\nFor P5 at 448×448, batch size 16 and queue size 1, the RTX 3090 rises from 20.54 FPS synchronously to 32.97 FPS asynchronously; the RTX A6000 rises from 18.06 to 34.03 FPS. The paper summarizes the improvements across configurations as about 10 FPS. These tables support throughput under the tested hardware and settings.\n\n## Conclusion\n\nThis paper proposes a plug-and-play detect-and-track pipeline supporting multiple model combinations, enhanced by a hand perception module to improve recognition accuracy in physical interaction scenarios. A data synthesis pipeline generates a large variety of checkout images to alleviate the shortage of real data.\n\nOn the Test A leaderboard reported in the paper for the 2022 AI City Challenge Track 4, DeepACO was temporarily second with F1 = 0.4783. Its measured processing throughput reached around 30 FPS in the tested configurations.\n\nFor engineers interested in automatic checkout or retail vision applications, this work provides a valuable reference case.\n\n\n> [!NOTE]\n> \n> Did this paper’s ending leave you puzzled?\n> \n> What? Not puzzled? Maybe you didn’t look closely enough. 💢\n> \n> Go back to Table 3: Team 16 has a perfect **F1 = 1.0**, while DeepACO (Team 94) has 0.4783. That perfect score is striking, but it belongs to the public **Test A** leaderboard in the paper. The final award order requires a separate source.\n> \n> The organizers evaluated submitted code on the reserved **Dataset B**, and award eligibility also required a workshop paper and public code. The [**official Track 4 results**](https://www.aicitychallenge.org/2022-challenge-winners/) name Team 9 CyberCore the winner and Team 117 GRAPH@FIT the runner-up. They say Team 55 was ineligible because it did not submit a paper, but give no explanation for Team 16’s absence from the final chart. We cannot infer that Team 16 failed a code requirement.\n> \n> The official Dataset B chart reports Team 9 at **F1 = 0.0105** and DeepACO at **F1 = 0.0047**, fifth among the six teams shown. [**Team 9’s paper**](https://arxiv.org/pdf/2207.05422) discusses learning without forgetting for retail checkout. The much lower Dataset B scores show why the public Test A rank was a poor guide to the final results; the published chart does not isolate camera placement, product mix, or lighting as causes. The [**2022 evaluation rules**](https://www.aicitychallenge.org/2022-data-and-evaluation/) use inference efficiency as a tie-breaker, not a multiplier that lowered these F1 scores.\n> \n> So when you see a competition leaderboard, check which test set and evaluation stage it describes.\n> \n> They mean very different things!\n","imageSizes":{"/content/papers/assets/04d292047b2a7f90ec14574fc930f88ff24cef5f6768e263a13525fe5cc7539d.jpg":{"width":1224,"height":404},"/content/papers/assets/1d0fc34f8cd41a652ac4c6c85d61e5280d60706a85b6ba9ecb86a489c614c664.jpg":{"width":1224,"height":260},"/content/papers/assets/5b6b896270577817ebce085180d5b8bf4ea36cf60ecac67ecfaee350536872ee.jpg":{"width":1538,"height":740},"/content/papers/assets/ca4cffb62635cdf82aea713537fb282128d28ed97d4ddb60622e799413b7948e.jpg":{"width":1096,"height":1080},"/content/papers/assets/d0710e3b82e1b971494717a1784e2d70df3eebba6c048e53f8fcf7302de7f84d.jpg":{"width":720,"height":536},"/content/papers/assets/62597f4058df64cd13b44f9b45b4ca7b4a2e1ba12293ea324acd012066943bde.jpg":{"width":1020,"height":948},"/content/papers/assets/c5b994ee4ca2bf938b2073ecd9ce98e268ff8dcdffb6aaf423cfcf6b5704be15.jpg":{"width":596,"height":404}}}
