Face detection using Python/OpenCV on Raspberry Pi, display on ST7789 LCD using Luma.LCD.
Last exercise ILI9488 SPI LCD on Raspberry Pi/Python using Luma.LCD display images on 3.5 inch 480x320 ILI9488 SPI LCD , run on Raspberry Pi 4B/Raspberry Pi OS 64-bit (bookworm), using Python + PIL + Luma.LCD. This exercise introduce using OpenCV to read images, convert OpenCV ndarray to PIL Image, then display on 2.4 inch TFT Module 240×320 ST7789V using Luma.LCD. Also implement face detection. Connection between ST7789 and Raspberry Pi, follow last exercise, same GPIO pins (for sure, the pin order on display module hanged). Also other setup , create Python virtual environment and install luma.lcd. Read last exercise . To use OpenCV (cv2) in this exercise we have to install opencv-python in Python virtual environment: With Python virtual environment activated, run the command: pip install opencv-python Exercise code: luma_st7789_cv2_image_show.py , read a single jpg image using cv2, convert OpenCV ndarray to PIL...