Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ruoshiliu committed Feb 14, 2024
1 parent 8cc0008 commit 82452be
Show file tree
Hide file tree
Showing 29 changed files with 42 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
# paperbot
PaperBot: Learning to Design Real-World Tools Using Paper
# PaperBot: Learning to Design Real-World Tools Using Paper
### Arxiv 2024
### [Project Page](https://paperbot.cs.columbia.edu/) | [Paper](https://paperbot.cs.columbia.edu/assets/paperbot.pdf)

[PaperBot: Learning to Design Real-World Tools Using Paper](https://paperbot.cs.columbia.edu/)
[Ruoshi Liu](https://ruoshiliu.github.io/)<sup>1</sup>, [Junbang Liang](https://www.linkedin.com/in/junbangliang/)<sup>1</sup>,[Sruthi Sudhakar](https://sruthisudhakar.github.io/)<sup>1</sup>, [Huy Ha](https://www.cs.columbia.edu/~huy/)<sup>1,2</sup>, [Cheng Chi](https://cheng-chi.github.io/)<sup>1,2</sup>, [Shuran Song](https://shurans.github.io/)<sup>1,2</sup>, [Carl Vondrick](https://www.cs.columbia.edu/~vondrick/)<sup>1</sup> <br>
<sup>1</sup>Columbia University, <sup>2</sup>Stanford University

<p align="center">
<img width="100%" src="figures/teaser.jpg">
</p>
Binary file added figures/3v5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added figures/3v5.pdf
Binary file not shown.
Binary file added figures/adaptation-qualitative.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added figures/adaptation-qualitative.pdf
Binary file not shown.
Binary file added figures/adaptation.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added figures/adaptation.pdf
Binary file not shown.
Binary file added figures/biggest_force_reached.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added figures/biggest_force_reached.pdf
Binary file not shown.
27 changes: 27 additions & 0 deletions figures/convert.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import os
from tqdm import tqdm
from pdf2image import convert_from_path

# Ensure this script is run in the directory containing your PDF files

# Get all PDF files in the current directory
pdf_files = [f for f in os.listdir('.') if f.endswith('.pdf')]

# Set DPI for high quality. This still affects the output resolution but doesn't add margins.
dpi_setting = 300 # Adjust this value as needed

# tqdm
pdf_files = tqdm(pdf_files, desc="Converting PDFs")
for pdf_file in pdf_files:
# Convert each PDF to a list of images
# Use 'size' parameter only if you want to force a particular size.
# Omitting 'size' to keep the original aspect ratio without forcing dimensions.
images = convert_from_path(pdf_file, dpi=dpi_setting)

# Save each page as an image
for i, image in enumerate(images):
# Constructing image file name based on PDF file name and page number
image_file_name = f"{os.path.splitext(pdf_file)[0]}.jpg"
image.save(image_file_name, 'JPEG', quality=100)

print("Conversion completed.")
Binary file added figures/distance_vis.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added figures/distance_vis.pdf
Binary file not shown.
Binary file added figures/farthest_distance_reached.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added figures/farthest_distance_reached.pdf
Binary file not shown.
Binary file added figures/force_vis.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added figures/force_vis.pdf
Binary file not shown.
Binary file added figures/grasping.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added figures/grasping.pdf
Binary file not shown.
Binary file added figures/method.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added figures/method.pdf
Binary file not shown.
Binary file added figures/paper_tool.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added figures/paper_tool.pdf
Binary file not shown.
4 changes: 4 additions & 0 deletions figures/paperplane.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added figures/parameterization.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added figures/parameterization.pdf
Binary file not shown.
Binary file added figures/quantitative.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added figures/system.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added figures/system.pdf
Binary file not shown.
Binary file added figures/teaser.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 82452be

Please sign in to comment.