A Python module to access the Chicago Face Database
python3 module to index, pre-process, and supply facial data from the Chicago Face Database (CFD).
A convenient way to load data from the Chicago Face Database, wrapped in
numpy arrays, to feed to your neural network.
From a terminal, run the command:
[sudo -H] pip3 install cfd-reader
In your Python (3.5+) script or interpreter session, run (suggested syntax):
import cfd_reader as cfdr
load face data
where options include:
True: provides 3 channel BGR output
False: provides single channel grayscale output
x: real-valued variable between 0 and 1.
xproportion of all data will be supplied as training data, and 1-x data will be supplied as test data
False: keeps images in their original resolution
(x,y): tuple of integers to resize the image to
numpy array of shape
(n, x, y, c) where
n are the total number of images in that particular set (train/test),
(x,y) is the 2D image shape, and
c is the number of channels. In other words,
(x,y,c) is the image shape.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size cfd_reader-0.2.1-py3-none-any.whl (11.0 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size cfd-reader-0.2.1.tar.gz (9.3 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for cfd_reader-0.2.1-py3-none-any.whl