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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
license: mit
|
| 5 |
+
task_categories:
|
| 6 |
+
- text-classification
|
| 7 |
+
- question-answering
|
| 8 |
+
- summarization
|
| 9 |
+
- text-retrieval
|
| 10 |
+
tags:
|
| 11 |
+
- computer-vision
|
| 12 |
+
- paper
|
| 13 |
+
- cvpr
|
| 14 |
+
- ocr
|
| 15 |
+
- pdf
|
| 16 |
+
- research
|
| 17 |
+
size_categories:
|
| 18 |
+
- 100K<n<1M
|
| 19 |
---
|
| 20 |
+
|
| 21 |
+
# CVPR Papers
|
| 22 |
+
|
| 23 |
+
<p align="center">
|
| 24 |
+
<img src="images/cvpr.jpeg" alt="CVPR Papers" width="800"/>
|
| 25 |
+
</p>
|
| 26 |
+
|
| 27 |
+
<p align="center">
|
| 28 |
+
<a href="https://github.com/paperAbstract/CVPR_Papers"><img src="https://img.shields.io/badge/GitHub-CVPR_Papers-181717?style=for-the-badge&logo=github" alt="GitHub"></a>
|
| 29 |
+
<a href="https://huggingface.co/datasets/choucsan/CVPR_Papers"><img src="https://img.shields.io/badge/%F0%9F%A4%97_HuggingFace-Dataset-yellow?style=for-the-badge" alt="Hugging Face"></a>
|
| 30 |
+
<a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-green?style=for-the-badge" alt="License"></a>
|
| 31 |
+
</p>
|
| 32 |
+
|
| 33 |
+
Since 2013, deep learning has revolutionized computer vision, with CVPR (IEEE Conference on Computer Vision and Pattern Recognition) serving as the premier venue documenting this transformative journey. From AlexNet's breakthrough to the rise of Transformers, CVPR papers chronicle the complete trajectory of computer vision advancement.
|
| 34 |
+
|
| 35 |
+
**CVPR Papers** is a comprehensive dataset containing all papers from CVPR 2013 to present, including metadata and PDF files. It is designed for literature review, trend analysis, citation network construction, and various research tasks in computer vision.
|
| 36 |
+
|
| 37 |
+
---
|
| 38 |
+
|
| 39 |
+
## Pipeline
|
| 40 |
+
|
| 41 |
+
The dataset is constructed through a systematic multi-stage pipeline:
|
| 42 |
+
|
| 43 |
+
1. **Web Scraping**: Extract paper listings from CVF Open Access repository
|
| 44 |
+
2. **Metadata Extraction**: Parse HTML to extract titles, authors, PDF links, and BibTeX citations
|
| 45 |
+
3. **Abstract Retrieval**: Fetch abstracts from individual paper detail pages
|
| 46 |
+
4. **PDF Download**: Concurrently download all paper PDF files
|
| 47 |
+
5. **Data Validation**: Verify data integrity and format consistency
|
| 48 |
+
|
| 49 |
+
---
|
| 50 |
+
|
| 51 |
+
## Dataset Structure
|
| 52 |
+
|
| 53 |
+
```
|
| 54 |
+
CVPR_Papers/
|
| 55 |
+
├── 2013/
|
| 56 |
+
│ ├── pdf/ # PDF files for all papers
|
| 57 |
+
│ │ ├── paper1.pdf
|
| 58 |
+
│ │ ├── paper2.pdf
|
| 59 |
+
│ │ └── ...
|
| 60 |
+
│ └── meta.jsonl # Metadata
|
| 61 |
+
│
|
| 62 |
+
├── 2014/
|
| 63 |
+
│ ├── pdf/
|
| 64 |
+
│ └── meta.jsonl
|
| 65 |
+
└── ...
|
| 66 |
+
```
|
| 67 |
+
|
| 68 |
+
---
|
| 69 |
+
|
| 70 |
+
## Dataset Overview
|
| 71 |
+
|
| 72 |
+
- **Total Papers**: 471 (continuously expanding)
|
| 73 |
+
- **Data Format**: JSONL for metadata, PDF for full papers, organized by year
|
| 74 |
+
- **Source**: [CVF Open Access](https://openaccess.thecvf.com)
|
| 75 |
+
|
| 76 |
+
| Field | Type | Description |
|
| 77 |
+
|-------|------|-------------|
|
| 78 |
+
| `title` | string | Paper title |
|
| 79 |
+
| `authors` | string | Comma-separated list of authors |
|
| 80 |
+
| `abstract` | string | Paper abstract |
|
| 81 |
+
| `pdf_path` | string | Relative path to PDF file |
|
| 82 |
+
| `bibtex` | string | BibTeX citation string |
|
| 83 |
+
|
| 84 |
+
**Example Entry:**
|
| 85 |
+
```json
|
| 86 |
+
{
|
| 87 |
+
"title": "Deformable Spatial Pyramid Matching for Fast Dense Correspondences",
|
| 88 |
+
"authors": "Jaechul Kim, Ce Liu, Fei Sha, Kristen Grauman",
|
| 89 |
+
"abstract": "We introduce a fast deformable spatial pyramid (DSP) matching algorithm for computing dense pixel correspondences...",
|
| 90 |
+
"pdf_path": "2013/pdf/Kim_Deformable_Spatial_Pyramid_2013_CVPR_paper.pdf",
|
| 91 |
+
"bibtex": "@InProceedings{Kim_2013_CVPR,author = {Kim, Jaechul and Liu, Ce and Sha, Fei and Grauman, Kristen},title = {Deformable Spatial Pyramid Matching for Fast Dense Correspondences},booktitle = {Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},month = {June},year = {2013}}"
|
| 92 |
+
}
|
| 93 |
+
```
|
| 94 |
+
|
| 95 |
+
---
|
| 96 |
+
|
| 97 |
+
## Quick Start
|
| 98 |
+
|
| 99 |
+
### Installation
|
| 100 |
+
|
| 101 |
+
```bash
|
| 102 |
+
pip install huggingface_hub
|
| 103 |
+
```
|
| 104 |
+
|
| 105 |
+
### Download Dataset
|
| 106 |
+
|
| 107 |
+
Download a specific year from Hugging Face:
|
| 108 |
+
|
| 109 |
+
```python
|
| 110 |
+
from huggingface_hub import snapshot_download
|
| 111 |
+
|
| 112 |
+
# Download a specific year (e.g., 2013)
|
| 113 |
+
year = "2013"
|
| 114 |
+
snapshot_download(
|
| 115 |
+
repo_id="choucsan/CVPR_Papers",
|
| 116 |
+
repo_type="dataset",
|
| 117 |
+
local_dir="CVPR_Papers",
|
| 118 |
+
allow_patterns=[f"{year}/*"],
|
| 119 |
+
)
|
| 120 |
+
```
|
| 121 |
+
|
| 122 |
+
### Load Data
|
| 123 |
+
|
| 124 |
+
```python
|
| 125 |
+
import json
|
| 126 |
+
|
| 127 |
+
# Load metadata for a specific year
|
| 128 |
+
year = "2013"
|
| 129 |
+
papers = []
|
| 130 |
+
with open(f'CVPR_Papers/{year}/meta.jsonl', 'r', encoding='utf-8') as f:
|
| 131 |
+
for line in f:
|
| 132 |
+
papers.append(json.loads(line))
|
| 133 |
+
|
| 134 |
+
print(f"Loaded {len(papers)} CVPR {year} papers")
|
| 135 |
+
|
| 136 |
+
# View first paper
|
| 137 |
+
first_paper = papers[0]
|
| 138 |
+
print(f"Title: {first_paper['title']}")
|
| 139 |
+
print(f"Authors: {first_paper['authors']}")
|
| 140 |
+
print(f"Abstract: {first_paper['abstract'][:200]}...")
|
| 141 |
+
```
|
| 142 |
+
|
| 143 |
+
### Access PDF Files
|
| 144 |
+
|
| 145 |
+
```python
|
| 146 |
+
import os
|
| 147 |
+
|
| 148 |
+
# List all PDF files for a specific year
|
| 149 |
+
year = "2013"
|
| 150 |
+
pdf_dir = f"CVPR_Papers/{year}/pdf"
|
| 151 |
+
pdf_files = [f for f in os.listdir(pdf_dir) if f.endswith('.pdf')]
|
| 152 |
+
print(f"Found {len(pdf_files)} PDF files")
|
| 153 |
+
|
| 154 |
+
# Read a specific paper
|
| 155 |
+
paper = papers[0]
|
| 156 |
+
pdf_path = os.path.join("CVPR_Papers", paper['pdf_path'])
|
| 157 |
+
print(f"PDF path: {pdf_path}")
|
| 158 |
+
```
|
| 159 |
+
|
| 160 |
+
---
|
| 161 |
+
|
| 162 |
+
## Applications
|
| 163 |
+
|
| 164 |
+
### PDF Files
|
| 165 |
+
- **Full Text Analysis**: Extract text from PDFs for detailed content analysis
|
| 166 |
+
- **Figure Extraction**: Extract figures, tables, and equations from papers
|
| 167 |
+
- **Layout Analysis**: Analyze paper structure and formatting patterns
|
| 168 |
+
- **OCR Processing**: Optical character recognition for scanned documents
|
| 169 |
+
|
| 170 |
+
### Research Applications
|
| 171 |
+
- **Literature Review**: Rapid retrieval of papers in specific domains for comprehensive literature review
|
| 172 |
+
- **Trend Analysis**: Analyze research hotspots and development trends in computer vision over the past decade
|
| 173 |
+
- **Citation Networks**: Build and analyze paper citation networks based on BibTeX data
|
| 174 |
+
- **Knowledge Graphs**: Construct knowledge graphs connecting papers, authors, institutions, and concepts
|
| 175 |
+
- **Recommendation Systems**: Build paper recommendation systems based on content similarity
|
| 176 |
+
|
| 177 |
+
---
|
| 178 |
+
|
| 179 |
+
## Download
|
| 180 |
+
|
| 181 |
+
- **Hugging Face**: [datasets/choucsan/CVPR_Papers](https://huggingface.co/datasets/choucsan/CVPR_Papers)
|
| 182 |
+
|
| 183 |
+
---
|
| 184 |
+
|
| 185 |
+
## Contact
|
| 186 |
+
|
| 187 |
+
[choucisan@gmail.com](mailto:choucisan@gmail.com)
|