https://github.com/philips/paper-bidsheets
System to create paper auction bidsheets with Google Sheets and scan them using Ollama
https://github.com/philips/paper-bidsheets
Last synced: 11 months ago
JSON representation
System to create paper auction bidsheets with Google Sheets and scan them using Ollama
- Host: GitHub
- URL: https://github.com/philips/paper-bidsheets
- Owner: philips
- Created: 2024-11-13T16:18:32.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-13T17:18:52.000Z (over 1 year ago)
- Last Synced: 2025-04-08T18:54:34.534Z (about 1 year ago)
- Language: Go
- Size: 2.93 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# paper-bidsheets
This is a system to create paper auction bidsheets with Google Sheets and scan
them using Ollama.
## Data Preparation
1. Scan the bidsheets. Using a mobile device works fine.
- [iOS](https://support.apple.com/en-us/108963)
- [Android](https://support.google.com/drive/answer/3145835?hl=en&co=GENIE.Platform%3DDesktop)
2. Convert PDF to individual images with ImageMagick. Using 76px/in seems to be more than sufficient.
```
convert -density 76 input.pdf output-%d.png
```
3. Run the script over the files
```
for i in `seq 1 5`; do go run main.go prompt.txt output-$i.png ; done
```
# TODO
- Experiment with lower density
- Experiment with llava
- Link to bidsheet template
- Add sample PDF and PNGs