joprovost / calbum Goto Github PK
View Code? Open in Web Editor NEWAn unattended calendar-based photo organiser
License: Apache License 2.0
An unattended calendar-based photo organiser
License: Apache License 2.0
On some routers, there's a button that basically says "let the next guy in" ; saving the user the trouble of entering a bunch of hexadecimal characters.
I think there should be such an option along with calbum, the purpose being to recognize a source's date-time offset.
By knowing that the picture was taken between two moments
(t0: the moment the command was entered; and
t1: the moment it was received on the NAS),
the date-time offset of this source can be determined (~interpolated) and saved to a cfg file.
calbum/sources/image.py
def timestamp(self):
The way I understand it, this is definitely the way to go: an image able to determine its own timestamp (ts). For some image sources (eg phone with regularly corrected timezone, date and time) this might be as trivial as converting some part of the metadata to a usable ts. For other sources (eg never-used out-of-sync camera) this might be more involved, requiring some manipulation.
For this reason, I suggest that before an image determines its ts, it determines its precise source. Sources are basically config files telling c-album what to do. Example:
Bob's GoPro
date -1
time +5
If an image comes in and its source is unknown, a file should be created for it, with defaults written down (+0 +0), and warnings should be logged. This way, if at a later date the source is discovered to have some offset, this offset can be written to one file, and all pictures can be re-sorted.
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.