Python 3.6x 64-bit from https://www.python.org/.
Package and modules:
from keras.preprocessing.image import load_img
from keras.preprocessing.image import img_to_array
import matplotlib.pyplot as plt
import keras
import numpy as np
from keras.preprocessing.image import ImageDataGenerator
from keras.models import model_from_json
from keras.models import load_model
import numpy as np
import scipy.misc
from PIL import Image
import time
from textblob import TextBlob
Program: GitHub Chapter15/CRL-MM-Chabot.py.
Check out the following video to see the code in action: