Skip to content

Instantly share code, notes, and snippets.


Santi Iglesias ianholing

View GitHub Profile
ianholing / GenerateVideoFunc.dart
Last active May 26, 2022
AvatART App realtime video encoding with flutter ffmpeg
View GenerateVideoFunc.dart
Future<String> generateVideo(String videoPath, List<StyleChangeRecord> videoChangeRecords, Function(data.Stack<ProgressItem> progress) callback) async {
await _checkDirs();
_pushProgress(ProgressItem("Transformation Step", 1, 4, "Clean folder.."), callback);
List<Future> futures = <Future>[];
new Directory('$basePath/$_framesFolder').listSync().forEach((frame) async {
if (FileSystemEntity.typeSync(frame.path) == FileSystemEntityType.file) {
futures.add((frame as File).delete());
ianholing / EdgeTPU problem.ipynb
Created Apr 27, 2020
Edge TPU compiler error?
View EdgeTPU problem.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
ianholing /
Created Mar 1, 2019
Create video or gif image with your GAN generator in Keras
from keras.models import load_model
import keras.backend as K
from PIL import Image
import numpy as np
import uuid
import os, time
from random import randint
import constants as P
GENERATOR_MODEL = 'model.h5'
ianholing / simpletest_raspicam.cpp
Created Jun 12, 2018
First attempt for detecting bright points
View simpletest_raspicam.cpp
#include <ctime>
#include <fstream>
#include <iostream>
#include <sstream>
#include <stdlib.h>
#include <unistd.h>
#include <raspicam/raspicam.h>
#include <signal.h>
//#include <stdlib.h>