# jzxocrcode **Repository Path**: zailushang/jzxocrcode ## Basic Information - **Project Name**: jzxocrcode - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-03-09 - **Last Updated**: 2026-03-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 集装箱号识别项目 基于PaddleOCR的集装箱号自动识别系统 ## 项目概述 - 使用PaddleOCR预训练模型进行微调 - 支持11位集装箱号识别 - 输入:集装箱图片 - 输出:11位标准集装箱号(格式:4字母+7数字) ## 数据集 - 约1000张集装箱图片 - 使用Label Studio标注 - 标注格式需转换为PaddleOCR训练格式 ## 技术方案 **推荐方案:微调已有模型** - 使用PaddleOCR提供的中文/英文检测和识别预训练模型 - 在集装箱数据集上进行fine-tuning - 训练速度快,识别准确率高 ## 项目结构 ``` . ├── data/ # 数据目录 │ ├── images/ # 原始图片 │ ├── train/ # 训练数据 │ └── test/ # 测试数据 ├── models/ # 模型文件 │ ├── det/ # 检测模型 │ └── rec/ # 识别模型 ├── configs/ # 配置文件 ├── scripts/ # 脚本文件 ├── outputs/ # 训练输出 └── infer.py # 推理脚本 ``` ## 使用方法 ```bash # 1. 准备数据 python scripts/prepare_data.py # 2. 训练检测模型 python tools/train.py -c configs/det_config.yml # 3. 训练识别模型 python tools/train.py -c configs/rec_config.yml # 4. 推理 python infer.py --image_path test.jpg ``` ## 集装箱号格式 标准集装箱号:11位字符 - 前4位:字母(ISO国家代码) - 第5-6位:字母(箱主代码) - 第7-11位:数字(顺序号) - 示例:ABCD1234567