These are chat archives for fieldpapers/fieldpapers

31st
Jul 2015
Kate Chapman
@wonderchook
Jul 31 2015 17:44
hey @mojodna we are trying to upload a scan to fieldpapers but it is failing
Seth Fitzsimmons
@mojodna
Jul 31 2015 17:44
@wonderchook: can you mail it to me so I can run it through locally (manually) to see what sort of errors crop up?
Kate Chapman
@wonderchook
Jul 31 2015 17:47
sure, Chris just sent it over
Seth Fitzsimmons
@mojodna
Jul 31 2015 17:47
thanks
Kate Chapman
@wonderchook
Jul 31 2015 17:47
we are doing a workshop at the North Portland library today :)
Seth Fitzsimmons
@mojodna
Jul 31 2015 17:48
cool!
Exception: could not process source image
not sure why yet
it picks up the QR code
Kate Chapman
@wonderchook
Jul 31 2015 17:53
I could try taking another picture of it
Seth Fitzsimmons
@mojodna
Jul 31 2015 17:54
$ docker run -it -v $(pwd):/opt/paper --rm quay.io/fieldpapers/paper:v0.5.0 /bin/bash
root@8c0188a594fd:/# cd /opt/paper/
root@8c0188a594fd:/opt/paper# cat snapshots/20150731_101430.jpg | ./read_qr_code
http://fieldpapers.org/atlases/1hu0s2w3/A1
root@8c0188a594fd:/opt/paper# cat snapshots/20150731_101430.jpg | ./process_snapshot.py > snapshots/whatever.tif
Raven is not configured (logging is disabled). Please see the documentation for more information.
http://fieldpapers.org/atlases/1hu0s2w3/A1
1hu0s2w3/A1 45.5649652735 -122.675228119 45.5608789999 -122.667696476 letter landscape full-page
Kept landscape full-page bounds at 45.564965, -122.675228, 45.560879, -122.667696
Traceback (most recent call last):
  File "./process_snapshot.py", line 78, in <module>
    print process_snapshot(sys.stdin)
  File "./process_snapshot.py", line 58, in process_snapshot
    raise Exception('could not process source image')
Exception: could not process source image
Kate Chapman
@wonderchook
Jul 31 2015 17:56
so taking a new picture with a different camera and uploading it didn't help
Seth Fitzsimmons
@mojodna
Jul 31 2015 17:57
i’m fiddling with the contrast in pixelmator
can you create a new atlas and print it?
it can’t find the control points
you seem to attract that problem somehow...
Kate Chapman
@wonderchook
Jul 31 2015 18:02
so it was printed at home by one of the other organizers
Seth Fitzsimmons
@mojodna
Jul 31 2015 18:02
hmm.
Kate Chapman
@wonderchook
Jul 31 2015 18:02
she mentioned she was able to fix upload issues previously simply by increasing the DPI
without taking a new picture
Seth Fitzsimmons
@mojodna
Jul 31 2015 18:03
that kinda makes sense
i’ve seen images that haven’t had their QR codes read because they were printed on inkjets and overly high resolution
trying a shrunk version now
no dice
Kate Chapman
@wonderchook
Jul 31 2015 18:06
here is the one she uploaded a week ago of the same atlas but a different printed page: http://fieldpapers.org/snapshots/4p8bpgdk#16/45.562760921418246/-122.67065123444992
Seth Fitzsimmons
@mojodna
Jul 31 2015 18:08
hmm.
looking into it, but i’m talking to cristiano right now about OAM and then have another meeting, so it’ll be a little bit.
Kate Chapman
@wonderchook
Jul 31 2015 18:10
sure no problem, let me know if I can help further
Seth Fitzsimmons
@mojodna
Jul 31 2015 18:10
(i’m also not particularly confident that i’ll be able to get this image to process, but i’m digging in since it’s a good repro case)
Kate Chapman
@wonderchook
Jul 31 2015 18:10
if this specific image doesn't process that is no big deal
Seth Fitzsimmons
@mojodna
Jul 31 2015 18:11
it’s symptomatic though!
Kate Chapman
@wonderchook
Jul 31 2015 18:11
true!
unrelated I'm in Seattle Tuesday until Saturday next week
Seth Fitzsimmons
@mojodna
Jul 31 2015 18:12
so am i! let’s get together