Files
karung-counting-feedmill-se…/archive/archivedREADME.md
T
andrew 6d980b73ce
ci / smoke (push) Canceled after 0s
docs: add archive/archivedREADME.md with categorization
Catalog all 25 archived files: reference implementations, calibration
utilities, one-time DB migration/fix scripts, model export/debug tools,
and the rpo_iki experiment variant (+ recovery instructions).
2026-09-17 12:59:59 +07:00

2.9 KiB
Raw Blame History

Archive — Retired Experiments & One-Off Scripts

Moved here via git mv to preserve history. Do not resurrect without asking.

Production entrypoint is predict.py (repo root). Shared library is src/. Canonical config is config.yaml + zones.json + cfg/tracker.yaml.

Categories

Reference Implementations (full pipeline variants, pre-config.yaml)

File Purpose Date
predict_new.py Experimental multi-model pipeline (40 KB, dual-model batching) 2026-08-28
ini.py Early prototype with hardcoded constants (96 KB) 2026-08-24
simple_predict.py Minimal single-model baseline (Ryzen-tuned) 2026-07-28
backup.py Full-pipeline backup copy (60 KB) 2026-08-24

Calibration Utilities (zone / frame setup)

File Purpose Date
get_coordinates.py Interactive zone-polygon picker (8.8 KB) 2026-07-28
get_calib_frame.py Capture calibration frame from RTSP 2026-07-28
capture_frame_native.py OpenCV native frame-capture helper 2026-07-30

Database Migration / Fix Scripts (one-time, already applied)

File Purpose Date
migrate_jetson_db.py Schema migration (box-counting columns) 2026-08-24
merge_batches_20_23.py Merge batch IDs 20–23 (data correction) 2026-08-21
merge_batches_28_35.py Merge batch IDs 28–35 (data correction) 2026-08-21
update_batches.py Batch metadata updates (with backup) 2026-08-20
dump_db.py SQLite → stdout dump helper 2026-08-20
check_20_aug.py Data-validation query (Aug batch) 2026-08-21
check_20_23.py Data-validation query (batches 20–23) 2026-08-21
check_all_after.py Data-validation query (post-fix check) 2026-08-21

Model Export / Debug

File Purpose Date
export_v4.py TensorRT export for v4 models (use export_model.py in root now) 2026-08-18
diagnose_truck_jetson.py Truck-detection diagnostics on Jetson 2026-07-30
test_bytetrack.py ByteTrack tracker smoke test 2026-07-30
test_track_crash.py Tracker crash reproduction 2026-07-30

RPO Iki Experiment (separate pipeline variant)

Path Description Date
rpo_iki/count.py Standalone counting script (60 KB) 2026-08-24
rpo_iki/predict_rpo_iki.py RPO-Iki prediction entrypoint 2026-07-21
rpo_iki/configs/ 9 JSON configs (area_truk*.json, cameras.json, counting_params*.json, model_registry.json, telegram.json) 2026-08-24
rpo_iki/__pycache__/ Stale bytecode — safe to delete 2026-07-21

Recovery

To inspect any archived file without restoring it:

git show HEAD:archive/<filename> > /tmp/<filename>

To restore (requires explicit approval):

git mv archive/<filename> ./