Skip to content

Face processing fails to start #2

@drcmputr

Description

@drcmputr

Area of Concern

  • Server
  • Behaviour of one or more Modules [provide name(s), e.g. ObjectDetectionYolo]
  • Installer
  • Runtime [e.g. Python3.7, .NET]
  • Module packages [e.g. PyTorch)
  • Something else

Describe the bug
Face processing fails to start. I get the following error in the logs:

08:35:49:Started Face Processing module
08:35:50:face.py: Using PIL for image manipulation (Either OpenCV or numpy not available for this module)
08:35:50:face.py: GPU in use: NVIDIA GeForce RTX 4090
08:35:50:face.py: Traceback (most recent call last):
08:35:50:face.py: File "C:\Program Files\CodeProject\AI\modules\FaceProcessing\intelligencelayer\face.py", line 37, in
08:35:50:face.py: from process import YOLODetector
08:35:50:face.py: File "C:\Program Files\CodeProject\AI\modules\FaceProcessing\intelligencelayer.\process.py", line 2, in
08:35:50:face.py: import cv2
08:35:50:face.py: ModuleNotFoundError: No module named 'cv2'
08:35:51:Module FaceProcessing has shutdown

Your System (please complete the following information):

  • CodeProject.AI Server version: 2.9.4
  • OS: Windows 11
  • System RAM 64GB
  • GPU (if available) GeForce RTX 4090
  • GPU RAM (if available) 24GB

Additional context
I only have Object Detection (YOLOv8) and Face Processing installed. Does the Face Processing module need something else installed to work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions