Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PAWLS Export Function #198

Open
sanjanachin opened this issue Jan 30, 2023 · 2 comments
Open

PAWLS Export Function #198

sanjanachin opened this issue Jan 30, 2023 · 2 comments

Comments

@sanjanachin
Copy link

sanjanachin commented Jan 30, 2023

Hi! I'm trying to use PAWLS to collect PDF annotations, and in the documentation, I see that I'm supposed to use the command pawls export <labeling_folder> <labeling_config> <output_path> <format> to export an annotated PDF. I'm trying to understand what <labeling_folder>, <labeling_config>, and <format> are supposed to be?

Thank you!

@JSv4
Copy link
Contributor

JSv4 commented Mar 10, 2023

What format are you looking for @sanjanachin ? I love PAWLS, but I needed a much more robust and modular backend. I built OpenContracts using some of the PAWLS code on the frontend. It's definitely still a work in progress, but you can annotate and export docs in multiple formats.

@MikeG112
Copy link

To export pdf annotations, from the default layout of the repository in the main branch as it stands today, I was able to run:

pawls export skiff_files/apps/pawls/papers/ api/config/configuration.json coco_labels.json coco

So consistency with the cli documentation here seems to suggest that, with the default config, the <labeling_folder> means the papers folder, <labeling_config> means the api configuration json ref'd above, and <format> means either coco or token.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants