Yumi's Blog

Extract series of JPEG files from iPhone 6S video

In this blog, I will show how to extract image (.png) from video recorded using iphone.

Preparation

I recorded a 10 minutes and 21 second video using my iphone 6s. In my current directory, I have IMG7367.MOV file with:

  • Size: 639.3 MB
  • Dimensions: 1280 × 720

You need cv2

If you do not have cv2, please make sure to pip install it as:

Color gray scale images and manga using deep learning

In this blog post, I will try to create a deep learning model that can color a gray scale image. I follow this great blog post Colorizing B&W; Photos with Neural Networks.

I will consider two example data to train a model:

  • Flickr8K data
  • Hunter x Hunter anime data

Flickr8K data is a famous public data in computer vision community, and it was also previously analyzed in my blog. The downloading process is described at Develop an image captioning deep learning model using Flickr 8K data

Color space definitions in python, RGB and LAB

In this blog post, you will learn color spaces that are often used in image processing problems. More specifically, after reading the blog, you will be familiar with using

Let's first load two example images using keras.preprocessing.image.load_img. The list dir_data contains the path to two jpg images.