This gist contains the source code in my video series about Realtime Database triggers. You can watch the three parts here:
index.ts contains the Cloud Functions code, and dialog.ts contains the script to run
| """ | |
| Generate PDF reports from data included in several Pandas DataFrames | |
| From pbpython.com | |
| """ | |
| from __future__ import print_function | |
| import pandas as pd | |
| import numpy as np | |
| import argparse | |
| from jinja2 import Environment, FileSystemLoader | |
| from weasyprint import HTML |
| #!/bin/bash | |
| # SPACE MACHINE (v20140108) | |
| # Copyright (c) 2013-2014, Elmar Czeko | |
| # relevantcircuits.org - twitter @elmarczeko | |
| # This work is licensed under a Creative Commons Attribution 3.0 Unported License. | |
| # http://creativecommons.org/licenses/by/3.0/ | |
| # on Mac set first line as "/bin/bash" | |
| # on Diskstation NAS with IPKG installed use "/opt/bin/bash" |
| ''' | |
| Using OpenCV takes a mp4 video and produces a number of images. | |
| Requirements | |
| ---- | |
| You require OpenCV 3.2 to be installed. | |
| Run | |
| ---- | |
| Open the main.py and edit the path to the video. Then run: |
This gist contains the source code in my video series about Realtime Database triggers. You can watch the three parts here:
index.ts contains the Cloud Functions code, and dialog.ts contains the script to run