March 2019
Intermediate to advanced
642 pages
22h 54m
English
Let's see how to compress an image using vector quantization:
import argparse import numpy as np from scipy import misc from sklearn import cluster import matplotlib.pyplot as plt
def build_arg_parser(): parser = argparse.ArgumentParser(description='Compress the input image \ using clustering') parser.add_argument("--input-file", dest="input_file", ...Read now
Unlock full access