This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Lock GPU and MEM clocks to max MHz | |
# | |
# - benchmarking shows there is no need to override the MEM clock | |
# | |
echo | |
echo Locking GPU clock to max MHz for debugging porpoises... | |
# set to max |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
Builds epub book out of Paul Graham's essays: http://paulgraham.com/articles.html | |
Author: Ola Sitarska <ola@sitarska.com> | |
Copyright: Licensed under the GPL-3 (http://www.gnu.org/licenses/gpl-3.0.html) | |
This script requires python-epub-library: http://code.google.com/p/python-epub-builder/ | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv | |
import time | |
tolerance = 2 | |
webcam_stream = cv.CaptureFromCAM(0) | |
print cv.GetCaptureProperty(webcam_stream,cv.CV_CAP_PROP_FPS) | |
print cv.GetCaptureProperty(webcam_stream,cv.CV_CAP_PROP_FRAME_WIDTH) | |
print cv.GetCaptureProperty(webcam_stream,cv.CV_CAP_PROP_FRAME_HEIGHT) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
So the Beaglebone uses the file uEnv.txt to store settings as it doesn't have any NAND allocated to do it with, by | |
default the file is pretty empty save from the line: | |
optargs=run_hardware_tests quiet | |
You may have read a number of things about boot.scr etc - ignore it, it's not correct. | |
The bootcmd is hardwired in uboot to do the following (i've seperated it all out to make things clearer) - you can see it by | |
interrupting the bootsequence and performing a 'printenv'. | |
bootcmd= |
NewerOlder