Skip to content

Instantly share code, notes, and snippets.

@iwatake2222
iwatake2222 / convJpeg2Movie.bat
Created November 6, 2017 05:38
Combine JPEG files to a MPEG file using FFMPEG
rem @echo off
setlocal ENABLEDELAYEDEXPANSION
set FFMPEG="C:\\asd\\tool\\ffmpeg-20170827-ef0c6d9-win64-static\\bin\\ffmpeg"
set /a FPS = 7
rem set OPTION=-vf vflip
set OPTION = ""
cd /d %~dp1
@iwatake2222
iwatake2222 / openmp.c
Created October 21, 2017 03:36
OpenMP sample for Visual Studio
#include "stdafx.h"
#include "omp.h"
/*
* DO NOT FORGET TO ENABLE OPEN MP
* right click on project -> Properties -> C/C++ -> Language
* Open MP Support = Yes
*/
@iwatake2222
iwatake2222 / matplotlib_animation.py
Created October 18, 2017 12:59
Several ways for matplotlib heatmap animation
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
main.py
"""
__author__ = "take-iwiw"
__copyright__ = "Copyright 2017, take-iwiw"
__date__ = "18 Oct 2017"
import numpy as np
@iwatake2222
iwatake2222 / matplotlib_animation_draw_artist.py
Created October 18, 2017 12:56
Fast matplotlib heatmap animation
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
main.py
"""
__author__ = "take-iwiw"
__copyright__ = "Copyright 2017, take-iwiw"
__date__ = "18 Oct 2017"
import logging