bieber / qrportrait Goto Github PK
View Code? Open in Web Editor NEWA set of scripts to automate portrait photography with QR codes.
License: GNU General Public License v3.0
A set of scripts to automate portrait photography with QR codes.
License: GNU General Public License v3.0
If you use the latter naming format, you can throw both thumbnails and originals into the same directory. The similar naming structure will make it easier to navigate the photos using a file browser. It's similar to how LightRoom sidecars XMP files when exporting RAWs.
For existing photos rename "s/thumb(.*)\.jpg/\1_thumb.jpg/" *
(untested regex) would easily swap the naming scheme.
Obviously the web viewer would need to be updated as well.
Short version:
if Zbar doesn't recognize any barcodes, sortphotos.py returns a cryptic error relating to line 146.
This case should be handled with an error message.
Background (in case my process is part of the problem)
I shot 250+ portraits last night after testing out your system and getting it working on my machine. Today I processed them all in Lightroom and exported them (IMG_0001_2.jpg is handled fine BTW).
The bardcodes filled the middle 1/3 of the frame and were originally 5616x3744, I'm guessing somewhere in the downsizing to 500x500 the code got too small to read. After some debugging, I cropped them and re-ran sortphotos.py and it worked.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.