# The screenshots I took, have resolutions 144x144
# The screenshots I took, have dimensions 2990x2080
# I combined all the front images and back images of PCB separately into 2 separate videos, each with framerate 8
ffmpeg -r 8 -f image2 -s 144x144 -i picf%04d.png -vcodec libx264 -crf 15 -pix_fmt yuv420p wf.mp4
ffmpeg -r 8 -f image2 -s 144x144 -i picb%04d.png -vcodec libx264 -crf 15 -pix_fmt yuv420p wb.mp4
# changed the resolutions
ffmpeg -i wf.mp4 -vf scale=2990:2080 -preset slow -crf 18 wfrs.mp4
ffmpeg -i wb.mp4 -vf scale=2990:2080 -preset slow -crf 18 wbrs.mp4
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
/* | |
This code is derived from the SEFR multi-class classifier algorithm developed by Alan Wang. | |
The original code can be found at https://github.com/alankrantas/sefr_multiclass_classifier. | |
The code is licensed under the MIT License. | |
https://opensource.org/licenses/mit-license.php | |
*/ | |
#include "SEFR.h" | |
uint8_t m_features; |
#A small guide to compile openFrameworks armv7 with driver OpenGL ES / ES2 sunxi for H3 / Mali GPU on ARMBIAN OS, compatible with orangepi and bananapi.
tested on: orangepi one banana pi M2
dependencies:
apt-get install libx11-dev libxext-dev xutils-dev libdrm-dev \
x11proto-xf86dri-dev libxfixes-dev x11proto-dri2-dev xserver-xorg-dev \
build-essential automake pkg-config libtool ca-certificates git cmake subversion
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
float t; | |
float size = 40; //50 | |
boolean makeGIF = true; | |
void setup(){ | |
//size(540, 540); | |
size(270,270); | |
} | |
void draw(){ |
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
#!/usr/bin/env python | |
import argparse | |
import matplotlib.pyplot as plt | |
import librosa | |
import numpy as np | |
import os | |
from progressbar import ProgressBar | |
parser = argparse.ArgumentParser( |
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
How to Completely Remove Android Studio | |
Execute these commands from the terminal | |
rm -Rf /Applications/Android\ Studio.app | |
rm -Rf ~/Library/Preferences/AndroidStudio* | |
rm ~/Library/Preferences/com.google.android.studio.plist | |
rm -Rf ~/Library/Application\ Support/AndroidStudio* | |
rm -Rf ~/Library/Logs/AndroidStudio* |
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
// Marius Watz - http://workshop.evolutionzone.com | |
// | |
// Window frame control: Disable frame decoration (see | |
// init() function), manipulate frame position (see | |
// keyPressed(), draw() ) | |
int framePosX=0; | |
int framePosY=0; |
Install ImageMagick for image conversion:
brew install imagemagick
Install tesseract for OCR:
brew install tesseract --all-languages
Or install without --all-languages
and install them manually as needed.
NewerOlder