Giter VIP home page Giter VIP logo

camera_time_series's Introduction

Whos is this for?

Just me and my brother. I don't think anyone else will find it useful. I'm just putting it here because I like the simplicity of the architecture.

Why

To help my brother analyze his footage

What

A script that scans XML files produced by a Sony camera to provide aggregate data on shoots

Start

Clone this repo, cd into build and run python generate_camera_report_version_0_0_4.py.

Architecture

  • Make it a single file deployable.
  • Keep it as simple as possible.
  • Use standard libraries when possible, and single file dependencies when not.

For example, as of now the only python dependency is bottle which is injected into the final script, and the only JS dependency is Apex Charts which is similarly injected into the final script.

There is a few line build script that takes the JS files, injects them as inline scripts into an html file, and injects that html file into a python string variable. The build scripts outputs a python file that contains bottle source code, the html string, and a small bottle app. The generated file can then be sent as a single file and run by anyone with python and a browser installed on their computer (easier than ever these days with python being added to the Windows app store). Now you have a UI with all the power a browser gives that can communicate fully with the OS, who needs electron anyway!

No Judgment Clause

I hacked this code together in a few hours. It's chock full of worst practices, global state, confusingly named variables, and - more than likely - juicy bugs .

I lay myself bare.

Screenies

Snazzy Filebrowser

Multiple Charts

Single Chart

Toggleable Clips

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.