text_plain_output_1.png
from PIL import Image

import numpy as np # linear algebra

import os

import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from PIL import Image
import tensorflow as tf
import keras
import os
os.listdir('/kaggle/input/')
import cv2

real = '/kaggle/input/real-and-fake-face-detection/real_and_fake_face/training_real/'
imagePaths = os.listdir(real)

for pic in imagePaths:
    path = real + pic
    pic = Image.open(path)
    real_pictures = np.array(pic)
print(real_pictures.shape)