Skip to main content

Data bundle for conformal-clip examples and tests

Project description

Textile Image Dataset

This package provides the simulated textile images used in
Megahed et al., 2025 for few-shot CLIP classification experiments.

These images were originally generated using the R script below and were previously released under an MIT License in our repository:

Dataset Summary

To systematically evaluate CLIP's performance on STS image classification, we used the spc4sts R package to create a controlled dataset of simulated textile fabric textures. This approach allowed us to precisely model both nominal and defective weave structures and to control defect type and severity.

Our dataset contains:

Class Description Count


Nominal Standard textile weave patterns 1,000 Local defects Localized disruptions in the weave 500 Global defects Systematic shifts in weave parameters 500

Each image is 250 × 250 px, generated using spc4sts recommended parameters:

  • Nominal images:
    Spatial autoregressive parameters ϕ₁ = 0.6, ϕ₂ = 0.35

  • Global defects:
    Both parameters reduced by 5%

  • Local defects:
    Generated using the package's defect-insertion functions

Citation

If you use this dataset, please cite:

Megahed et al., 2025
Adapting OpenAI's CLIP Model for Few-Shot Image Inspection in Manufacturing Quality Control: An Expository Case Study with Multiple Application Examples
arXiv:2501.12596

**Bui, A. T., & Apley, D. W. (2020)*. *spc4sts: Statistical process control for stochastic textured surfaces in R. Journal of Quality Technology, 53(3), 219–242.

License

These images were generated by the authors and are released under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

conformal_clip_data-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

conformal_clip_data-0.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file conformal_clip_data-0.1.0.tar.gz.

File metadata

  • Download URL: conformal_clip_data-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for conformal_clip_data-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1c77ae3ae1e2c6412345bd4302d4a324db13d8ad7ac31881642fc173044d00b0
MD5 3702ab7b8c8d2fa0a1a4ac82cf6fd7b4
BLAKE2b-256 aad3cca1a4c72f7fb2a8ce73ad28e82cfd02323f78359af83b17d9d2e64eed49

See more details on using hashes here.

File details

Details for the file conformal_clip_data-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for conformal_clip_data-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e0160802480c170851b2166849a359903bac49c659aa08df954ed505f3ffb963
MD5 7219c9cfe4a3c635fb7cc5e31aa1b0ef
BLAKE2b-256 472e0073a9e82a7fe244e213961b7ea4d220adb42a8f57bc5c5c5d8fbc04c0b2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page