ean-product-dataset
收藏资源简介:
该数据集名为“EAN 产品数据集”,旨在将条形码(EAN/GTIN)映射到产品名称、描述、产品图片、零售商以及安全数据表链接,数据收集自丹麦的网店。产品文本为丹麦语。数据集包含两个子集:products配置包含产品信息,如EAN、产品名称、描述、图片SHA256、零售商、数据表链接等字段;images配置包含产品图片,以字节形式存储,字段包括图片二进制数据、格式(jpg、png、webp、avif、gif)、占位符标记等。两个子集通过ean字段连接。每个产品最多有三张图片,占位符图片会被标记。数据规模约953,913条产品记录,其中755,025条有描述,818,050条有图片URL,771,996条有已获取的图片,26,980条有数据表,48,078条被评估为化学品,905,695条被评估为非化学品,140条未评估,涉及151家商店。关键字段包括is_chemical(布尔值或null)、ean(经过校验位验证)。数据来源为2026年至今从零售商公开产品页面抓取,用于研究和帮助正确分类化学废物。
This dataset is named EAN Product Dataset and aims to map barcodes (EAN/GTIN) to product names, descriptions, product images, retailers, and safety data sheet links. The data is collected from Danish online stores. Product text is in Danish. The dataset contains two subsets: the products configuration includes product information such as EAN, product name, description, image SHA256, retailer, data sheet link, etc.; the images configuration includes product images stored as bytes, with fields including image binary data, format (jpg, png, webp, avif, gif), placeholder flag, etc. The two subsets are connected via the ean field. Each product has up to three images, and placeholder images are flagged. The dataset size is approximately 953,913 product records, of which 755,025 have descriptions, 818,050 have image URLs, 771,996 have fetched images, 26,980 have data sheets, 48,078 are evaluated as chemicals, 905,695 as non-chemicals, 140 unevaluated, covering 151 stores. Key fields include is_chemical (boolean or null) and ean (validated by check digit). The data is scraped from retailers public product pages from 2026 onwards, intended for research and building tools to help correctly classify chemical waste.
EAN product dataset 数据集概述
基本信息
- 数据集名称:EAN product dataset
- 语言:丹麦语(da)、英语(en)
- 许可证:其他(other)
- 标签:ean、gtin、products、denmark、images
- 来源:从丹麦网商公开产品页面抓取
数据内容
数据包含商品条码(EAN/GTIN)、产品名称、描述、产品图片、零售商信息和安全数据表链接。产品文本为丹麦语。
数据配置
数据集包含两个配置:
- products(默认):主数据文件
data/ean_products.parquet - images:图片数据文件
images/*.parquet
图片处理特点
- 图片以字节形式存储,而非URL链接,避免零售商CDN变更导致数据失效
- 图片未经任何处理:保持原始格式和分辨率,不进行重新编码或缩小
format列标识实际图片格式(jpg、png、webp、avif、gif)- 使用Pillow仅判断文件是否为图片及类型,格式由内容决定而非Content-Type
- 文件名使用内容SHA256哈希,相同图片只存一份
- 每个商品最多3张图片,通过
ean字段关联(一个商品可对应多行) - AVIF格式需安装
pillow-avif-plugin才能解码 placeholder: true表示同一图片出现于至少25个不同商品,为"图片待更新"占位图标,已标记但未删除
数据统计
| 指标 | 数量 |
|---|---|
| 商品总数 | 958,461 |
| 含描述商品 | 758,335 |
| 含图片URL商品 | 822,424 |
| 含已获取图片商品 | 774,684 |
| 含安全数据表商品 | 26,985 |
| 已评估化学品 | 48,093 |
| 评估非化学品 | 906,879 |
| 未评估商品 | 3,489 |
| 商店数量 | 151 |
字段说明
- is_chemical:取值为
true/false/null,null表示未评估(不等同于"无危害"),评估与产品名称分离进行,未评估到的商品为null - ean:每个EAN码均经过校验位验证,仅统计页面上明确标注为EAN/GTIN/条码的13位数字,避免将电话号码或表单占位符误判
来源与权利
- 数据抓取时间:2026年至今
- 记录字段:
source(来源)、product_url(产品页链接)、harvested_at(抓取时间) - 数据集按原样发布,用于研究和构建化学品分类相关工具
- 产品名称、描述和照片版权归各零售商和制造商所有
- 权利方可发起讨论要求移除特定行或图片





