May 2020
Beginner to intermediate
430 pages
10h 39m
English
In this section, we will read the CSV file as X and Y data, where X is the image corresponding to each filename, and Y has 32 values for 16 key-points coordinate. We will then slice the Y data into 16 Yx and Yy coordinates for each of the key-points. The detailed steps are shown as follows:
train_path = 'faceimagestrain/trainimgface.csv'test_path = 'faceimagestrain/testimgface.csv'train_data = pd.read_csv(train_path) test_data = pd.read_csv(test_path)