--- language: - en pipeline_tag: image-classification library_name: pytorch tags: - industrial-vision - factoryvision-ai - casting-defect-detection - transfer-learning - mobilenetv3 - education ---
FactoryVision AI MobileNetV3-Small casting inspection

Educational prototype  |  Transfer learning and binary image classification  |  Human review required

Model overview

ModelTaskFrameworkWeights
FactoryVision AI MobileNetV3-SmallCasting defect classificationPyTorch / torchvisionmodel.pth

Held-out test results

MetricReported result
Accuracy0.9944
Macro precision0.9932
Macro recall0.9948
Macro F10.9940
Mean inference latency0.395 ms

Confusion matrix — rows are true labels, columns are predictions; class order: def_front, ok_front.

[[450, 3],
 [  1, 261]]

Metrics are from the saved training output, not independently reproduced. Latency is environment-specific and is not a deployed CPU benchmark. The test split did not determine architecture selection; the selection metric was validation macro F1.

Purpose and limitations

Educational transfer-learning binary casting inspection (def_front, ok_front). Human review is required. This is not a validated or certified automated quality acceptance system.

Model details

Training data

Real-Life Industrial Dataset of Casting Product by Ravirajsinh Dabhi (Kaggle dataset). The source README identifies CC BY-NC-ND 4.0 dataset restrictions, including non-commercial and no-derivatives clauses. Rights to redistribute trained model weights remain to be confirmed; do not redistribute source images.

Inference and dependencies

Use the model-loader and preprocessors from src/quality.py in the original GitHub project. The checkpoint is a PyTorch artifact, not a drop-in Hugging Face Transformers model. Avoid loading untrusted serialized checkpoints.

Licensing and distribution

The source code's MIT licence is distinct from trained-weight rights. Keep private until the casting dataset conditions and weight publication rights are clarified. No public checkpoint licence is asserted.


Credits and attribution

RoleContributor
Original Developer & Model AuthorTheivanth Rajamohan
Technical Reviewer, Code Contributor & Publication SupportSwapin Vidya
Project ContributorRajah Shanmugasundaram
Publishing OrganisationTechSphere Consultancy Services Private Limited

Project provenance: FactoryVision AI was originally developed by Theivanth Rajamohan. Swapin Vidya contributed technical review, detection-metrics improvements, testing, model publication preparation and documentation. The models are being prepared for publication under TechSphere Consultancy Services Private Limited's Hugging Face namespace, with the original developer's permission.