Skip to content
cccskills
FreePublished on GitHub

easy12306

Routes easy12306 12306 captcha recognition tasks across pretrained inference, data preparation, text-model training, and image-model training workflows.

The English summary is being prepared. Showing the original description.

See how to install

Files included (31)

  • SKILL.md5.1 KB
  • references/label-vocabulary.md1.8 KB
  • references/model-artifacts.md4.0 KB
  • references/repo-provenance.md2.4 KB
  • references/repo-routing-metadata.json402 B
  • references/troubleshooting.md3.5 KB
  • scripts/check_environment.py2.5 KB
  • sub-skills/data-preparation/references/baidu-ocr-labeling.md1.9 KB
  • sub-skills/data-preparation/references/data-formats.md2.3 KB
  • sub-skills/data-preparation/references/hash-reference.md2.2 KB
  • sub-skills/data-preparation/references/troubleshooting.md2.8 KB
  • sub-skills/data-preparation/references/workflows.md4.3 KB
  • sub-skills/data-preparation/scripts/captcha_preprocess_diagnostic.py7.5 KB
  • sub-skills/data-preparation/scripts/hash_image_tiles.py7.2 KB
  • sub-skills/data-preparation/SKILL.md3.0 KB
  • sub-skills/image-modeling/references/api-reference.md5.2 KB
  • sub-skills/image-modeling/references/troubleshooting.md5.2 KB
  • sub-skills/image-modeling/references/workflows.md6.2 KB
  • sub-skills/image-modeling/scripts/inspect_image_training_assets.py11.7 KB
  • sub-skills/image-modeling/SKILL.md4.0 KB
  • sub-skills/inference/references/api-reference.md4.0 KB
  • sub-skills/inference/references/troubleshooting.md4.9 KB
  • sub-skills/inference/references/workflows.md4.3 KB
  • sub-skills/inference/scripts/check_inference_assets.py9.5 KB
  • sub-skills/inference/scripts/run_inference.py7.9 KB
  • sub-skills/inference/SKILL.md3.9 KB
  • sub-skills/text-modeling/references/api-reference.md7.1 KB
  • sub-skills/text-modeling/references/troubleshooting.md6.0 KB
  • sub-skills/text-modeling/references/workflows.md7.9 KB
  • sub-skills/text-modeling/scripts/inspect_text_training_assets.py15.7 KB
  • sub-skills/text-modeling/SKILL.md3.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

easy12306 repo skill

Use this repo skill when a task involves easy12306, the legacy Python/OpenCV/Keras project for recognizing 12306 captcha prompts and image tiles. It is a router: load the focused sub-skill that matches the user's goal, then use that sub-skill's bundled references and scripts instead of reopening source files from an original checkout.

Quick fit

Read this skill when the user asks about:

  • Running or adapting 12306 captcha recognition from model.h5, 12306.image.model.h5, texts.txt, and a captcha image.
  • Validating easy12306 image/model/label/data artifacts before running legacy Keras code.
  • Recreating prompt-text crops, eight image tiles, perceptual hashes, .npz datasets, or OCR-assisted labels.
  • Training or diagnosing the text prompt classifier or image-tile classifier.
  • Troubleshooting Keras/TensorFlow, OpenCV, missing model/data files, Baidu OCR credentials, or geometry/label mismatches for this repo.

Avoid this skill when the request is only generic CAPTCHA solving, modern object detection/OCR unrelated to easy12306 artifacts, or editing a different repository.

Compatibility baseline

The repository is a flat script collection rather than an installable Python package. The verified inspection baseline was:

Python 3.11 + TensorFlow/Keras 2.15-compatible APIs + OpenCV + NumPy + SciPy + scikit-learn + matplotlib + requests

Setup

Create a Python 3.11 environment, then install the legacy-compatible runtime dependencies explicitly:

python3 -m pip install \
  "tensorflow-cpu==2.15.1" "keras==2.15.0" \
  opencv-python-headless numpy scipy scikit-learn matplotlib requests

Use opencv-python instead of opencv-python-headless only when the task needs GUI/image-window features. The source dependency list used the deprecated sklearn package name; use scikit-learn in new environments.

Minimal verification command:

python scripts/check_environment.py

Keras 3 can break legacy imports because the image-model script imports keras.preprocessing.image.ImageDataGenerator. Use references/troubleshooting.md and scripts/check_environment.py before running model code in a new environment.

Route map

User taskLoad
Use pretrained artifacts for a full captcha or single image-tile prediction; validate image/model/label prerequisites; interpret row/column output.sub-skills/inference/SKILL.md
Prepare captcha data, prompt-text crops, eight object tiles, perceptual hashes, label vocabulary files, Baidu OCR labeling notes, or .npz data schemas.sub-skills/data-preparation/SKILL.md
Train, fine-tune, inspect, or troubleshoot the cropped prompt-text classifier and model.h5/model.v*.h5 artifacts.sub-skills/text-modeling/SKILL.md
Train, inspect, or troubleshoot the VGG16-based image-tile classifier and 12306.image.model.h5 artifact.sub-skills/image-modeling/SKILL.md

Shared references

Shared script

  • python scripts/check_environment.py checks that the active Python environment has the dependency imports and legacy Keras surface expected by easy12306. It does not read user model/data files.

Operating rules

  1. Start with validation scripts before model loading or training. Model files and datasets are not bundled with this skill.
  2. Treat network, credential, and long-training workflows as explicit user actions, not smoke tests. The 12306 download loop, Baidu OCR calls, VGG16 weight downloads, and 100/400-epoch training runs should not run automatically.
  3. Preserve OpenCV BGR assumptions, the 80-row label order, the 19x57 text crop, and eight 67x67 tile geometry unless the user explicitly asks to adapt the repo to a new captcha layout.
  4. Do not import credentialed OCR code during diagnostics; use the data-preparation reference for a safe credential pattern.
  5. Keep generated skill use self-contained. When source filenames are mentioned, treat them as provenance and artifact-name evidence; use the bundled scripts/references for actionable operations.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

3ddfa

Free

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

acme

Free

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill339Updated Sep 3, 2026

See all skills by VectorSpaceLab

Report a problem with this skill