Corran/pexelvideos
收藏资源简介:
**Pexel Videos** *358,551 video urls, average length 19.5s, and associated metadata from pexels.com.* Data was extracted from their video sitemaps (pexels.com/robots.txt) on 01/08/2022. Data is stored in PexelVideos.parquet.gzip as a gzipped parquet To get this data ensure you have git installed and do !git lfs clone https://huggingface.co/datasets/Corran/pexelvideos/ In python the reccomended reading is by opening the file with pandas. !pip install pandas <br> import pandas <br> data=pd.read_parquet('PexelVideos.parquet.gzip') <br> Get a specific url and its metadata using data.iloc[0], read this like a python dict e.g to get the url for index i run url= df.iloc[i]["content_loc"] https://pandas.pydata.org/pandas-docs/version/1.1/getting_started/index.html#getting-started **Explore this dataset using Open-Clip** https://colab.research.google.com/drive/1m3_KfPKOC_oivqoruaseiNUlP-_MqqyX#scrollTo=bNngcd8UAOma **License** According to Pexels licensing, these videos are free to use for personal or commercial purposes, attribution is polite but not required however, -Identifiable people may not appear in a bad light or in a way that is offensive. <br> -Don't sell unaltered copies of a photo or video, e.g. as a poster, print or on a physical product without modifying it first. <br> -Don't imply endorsement of your product by people or brands on the imagery. <br> -Don't redistribute or sell the photos and videos on other stock photo or wallpaper platforms. <br> license https://www.pexels.com/license/
**Pexel 视频数据集** 本数据集包含358,551条视频链接,平均时长19.5秒,附带来自pexels.com的关联元数据。 本数据集于2022年8月1日从Pexels官方视频站点地图(pexels.com/robots.txt)中提取。 数据以gzip压缩的Parquet格式存储于`PexelVideos.parquet.gzip`文件中。 如需获取本数据集,请确保已安装Git,并执行如下命令: bash !git lfs clone https://huggingface.co/datasets/Corran/pexelvideos/ 在Python环境中,推荐使用Pandas库读取该数据集,示例代码如下: bash !pip install pandas python import pandas as pd data = pd.read_parquet('PexelVideos.parquet.gzip') 可通过`data.iloc[0]`获取单条数据的链接与元数据,其读取方式与Python字典一致。例如,若需获取索引为`i`的视频链接,可执行如下代码: python url = df.iloc[i]["content_loc"] Pandas官方入门文档:https://pandas.pydata.org/pandas-docs/version/1.1/getting_started/index.html#getting-started **使用 Open-Clip 探索本数据集** 可通过以下Colab笔记本探索本数据集: https://colab.research.google.com/drive/1m3_KfPKOC_oivqoruaseiNUlP-_MqqyX#scrollTo=bNngcd8UAOma **授权协议** 根据Pexels官方授权条款,本数据集内的视频可免费用于个人或商业用途,注明来源虽非强制要求,但为礼貌之举。但需遵守以下规则: - 不得恶意或冒犯性地呈现可识别的人物形象; - 不得直接售卖未修改的图片或视频副本,例如未经修改就将其用于海报、印刷品或实体产品; - 不得利用素材中的人物或品牌暗示对您的产品进行背书; - 不得将本数据集内的图片与视频重新分发或售卖至其他图库或壁纸平台。 完整授权协议:https://www.pexels.com/license/
数据集概述
数据集名称
Pexel Videos
数据集大小
- 包含358,551个视频URL
- 平均视频长度为19.5秒
数据集存储格式
- 存储于
PexelVideos.parquet.gzip文件中,采用gzipped parquet格式
数据集获取方式
- 使用Git LFS进行克隆:
!git lfs clone https://huggingface.co/datasets/Corran/pexelvideos/
数据集使用方法
- 推荐使用Python的Pandas库进行数据读取:
- 安装Pandas:
!pip install pandas - 读取数据:
import pandas; data=pd.read_parquet(PexelVideos.parquet.gzip) - 获取特定URL及其元数据:
url= df.iloc[i]["content_loc"]
- 安装Pandas:
数据集许可证
- 根据Pexels许可证,这些视频可免费用于个人或商业用途。
- 使用时需遵守以下条件:
- 不得以负面或冒犯性方式展示可识别的人物。
- 不得出售未经修改的副本,如海报、打印品或未经修改的物理产品。
- 不得暗示产品得到图像中人物或品牌的认可。
- 不得在其他股票照片或壁纸平台上重新分发或销售这些照片和视频。
许可证详情
- 访问链接:Pexels许可证




