Extract data from Agisoft Metashape PDF reports and create CSV from it.
There are two workflows available:
- Manual execution via command line
- As a (dockerized) webservice
pdftotext(poppler-utils)- Perl 5
- Have your PDF file following the right format ready as
somename.pdf - Extract plain text from PDF via
pdftotext:pdftotext somename.pdf > somename.txt - Invoke the extractor perl script:
perl meta-extrakt.pl somename.txt > somename.csv
- Install dependencies via
cpanm -nq --installdeps . - Run the webservice via
hypnotoad webservice.pl - Navigate to that page with your browser and upload your PDF file! It's usually
http://localhost:8080/.
The webservice can be stopped with hypnotoad -s webservice.pl.
The webservice can also be run in docker using standard procedures:
$ docker build -t metaex-web .
$ docker run -d -p 3000:3000 metaex-web
(c) 2022-2023 Mirko Westermeier, Service Center for Digital Humanities
Licensed under the MIT license, see LICENSE for details.