Posts

  • How to use OpenCV in Swift (1)

    Swift OpenCV Xcode
    I try to use OpenCV library in Swift today. Let’s convert an picture by camera to a black-and-white image. Environment iOS9.3.4 Xcode8.1 (Swift3.0.1) OpenCV (3.1.0.1) St... read more
  • Inductive Learning

    JavaScript MachineLearning
    I created a simple module to do an inductive learning. GitHub: Inductive Learning Inductive Learning is a very simple algorithm. It generates some patterns to match with trainin... read more
  • How to create Excel by Apache POI

    POI Java Excel
    I often use Apache POI to deal with Microsoft Office in these days. Today I introduce how to create Excel file by using Apache POI. Let’s create the following Excel file. Plea... read more
  • How to use Gulp "watch"

    Gulp JavaScript Sass SCSS
    Gulp has watch method as default. This method watches changes of specified files, and executes tasks which you want to do automatically. Usage is below. gulp.watch(['files you w... read more
  • Gulp first step

    Gulp JavaScript Sass SCSS
    Today I’ll introduce the first step of Gulp. As first step, let’s try to compile SCSS file by using Gulp. Step 1 First, create npm project. $ mkdir gulp-first-step $ cd gulp-fir... read more