How to convert a group of images into a single data_test.npz file?
问题 I am building a self driving RC car. I have 100s of images taken from pi camera and each one of them are named as direction.jpg . How do I convert these images into single .npz file so that I can train a Neural net. The code below is a simple python script that enables my car to move on key press and snaps photos every second. #!/usr/bin/env python """Interactive control for the car""" import time import io import pygame import pygame.font import picamera import configuration import helpers