Skip to content

Error - dont know why #12

@mpl1337

Description

@mpl1337
Server version:   2.9.5
System:           Windows
Operating System: Windows (Windows 11 24H2)
CPUs:             Intel(R) Core(TM) Ultra 5 245K (Intel)
                  1 CPU x 14 cores. 14 logical processors (x64)
GPU (Primary):    Intel(R) Graphics (2 GiB) (Intel Corporation) 
                  Driver: 32.0.101.5869
System RAM:       31 GiB
Platform:         Windows
BuildConfig:      Release
Execution Env:    Native
Runtime Env:      Production
Runtimes installed:
  .NET runtime:     9.0.0
  .NET SDK:         9.0.101
  Default Python:   Not found
  Go:               Not found
  NodeJS:           Not found
  Rust:             Not found
Video adapter info:
  Intel(R) Graphics:
    Driver Version     32.0.101.5869
    Video Processor    Intel(R) Graphics Family
System GPU info:
  GPU 3D Usage       2%
  GPU RAM Usage      0
Global Environment variables:
  CPAI_APPROOTPATH = <root>
  CPAI_PORT        = 32168
Module 'License Plate Reader' 3.3.4 (ID: ALPR)
Valid:            True
Module Path:      <root>\modules\ALPR
Module Location:  Internal
AutoStart:        True
Queue:            alpr_queue
Runtime:          python3.9
Runtime Location: Local
FilePath:         ALPR_adapter.py
Start pause:      3 sec
Parallelism:      0
LogVerbosity:     
Platforms:        all,!windows-arm64
GPU Libraries:    installed if available
GPU:              use if supported
Accelerator:      
Half Precision:   enable
Environment Variables
   AUTO_PLATE_ROTATE            = True
   CROPPED_PLATE_DIR            = <root>\Server\wwwroot
   MIN_COMPUTE_CAPABILITY       = 6
   MIN_CUDNN_VERSION            = 7
   OCR_OPTIMAL_CHARACTER_HEIGHT = 60
   OCR_OPTIMAL_CHARACTER_WIDTH  = 30
   OCR_OPTIMIZATION             = True
   PLATE_CONFIDENCE             = 0.7
   PLATE_RESCALE_FACTOR         = 2
   PLATE_ROTATE_DEG             = 0
   REMOVE_SPACES                = true
   ROOT_PATH                    = <root>
   SAVE_CROPPED_PLATE           = true
Status Data:  {
  "inferenceDevice": "CPU",
  "inferenceLibrary": "",
  "canUseGPU": "false",
  "successfulInferences": 0,
  "failedInferences": 741,
  "numInferences": 741,
  "averageInferenceMs": 0
}
Started:      29 Dez. 2024 11:16:55  Mitteleuropäische Zeit
LastSeen:     29 Dez. 2024 11:03:59  Mitteleuropäische Zeit
Status:       Started
Requests:     741 (includes status calls)



Installation Log
2024-12-28 12:38:42:              Installing CodeProject.AI Analysis Module                
2024-12-28 12:38:42: ======================================================================
2024-12-28 12:38:42:                    CodeProject.AI Installer                           
2024-12-28 12:38:42: ======================================================================
2024-12-28 12:38:42: Fehlender Operator
2024-12-28 12:38:42: Fehlender Operator
2024-12-28 12:38:42: 809.809Gb of 953Gb available on keine (Windows 11 x86_64 - windows)
2024-12-28 12:38:42: General CodeProject.AI setup                                          
2024-12-28 12:38:42: Checking for VC++ Redist...v14 Present.
2024-12-28 12:38:43: Creating Directories...done
2024-12-28 12:38:43: GPU support                                                           
2024-12-28 12:38:43: CUDA Present...No
2024-12-28 12:38:43: ROCm Present...No
2024-12-28 12:38:43: Checking for .NET 9.0...Checking runtimes...All good. Found .NET aspnetcore 9
2024-12-28 12:38:44: Reading ALPR settings.......done
2024-12-28 12:38:44: Installing module License Plate Reader 3.3.4 (Internal)               
2024-12-28 12:38:44: Installing Python 3.9
2024-12-28 12:38:53: Downloading Python 3.9 interpreter...Expanding...done.
2024-12-28 12:38:58: Creating Virtual Environment (Local)...done
2024-12-28 12:38:58: Confirming we have Python 3.9 in our virtual environment...present
2024-12-28 12:39:00: Downloading ALPR models...Expanding...done.
2024-12-28 12:39:00: Copying contents of ocr-en-pp_ocrv4-paddle.zip to paddleocr...done
2024-12-28 12:39:01: Checking CPU compatibility...All good
2024-12-28 12:39:01: Installing Python packages for License Plate Reader
2024-12-28 12:39:01: �[0;Installing GPU-enabled libraries: If available
2024-12-28 12:39:02: Ensuring Python package manager (pip) is installed...done
2024-12-28 12:39:07: Ensuring Python package manager (pip) is up to date...done
2024-12-28 12:39:07: Python packages specified by requirements.txt
2024-12-28 12:39:12:   - Installing NumPy, a package for scientific computing...(✅ checked) done
2024-12-28 12:39:31:   - Installing PaddelPaddle, the Deep Learning platform...(✅ checked) done
2024-12-28 12:40:33:   - Installing PaddleOCR, the OCR toolkit based on PaddlePaddle...(✅ checked) done
2024-12-28 12:40:37:   - Installing imutils, the image utilities library...(✅ checked) done
2024-12-28 12:40:37:   - Installing OpenCV, the Computer Vision library for Python...Already installed
2024-12-28 12:40:48:   - Installing the CodeProject.AI SDK...(✅ checked) done
2024-12-28 12:40:48: Scanning modulesettings for downloadable models...No models specified
2024-12-28 12:40:48: Executing post-install script for License Plate Reader
2024-12-28 12:40:48: Applying PaddleOCR patch
2024-12-28 12:40:48:         1 Datei(en) kopiert.
2024-12-28 12:41:12: Self test: Self-test passed
2024-12-28 12:41:12: Module setup time 00:02:28.79
2024-12-28 12:41:12: Setup complete                                                        
2024-12-28 12:41:12: Total setup time 00:02:30.13

22:12:22:Response rec'd from License Plate Reader command 'alpr' (...718d5e) 22:12:22:License Plate Reader: [AttributeError] : Traceback (most recent call last): File "C:\Program Files\CodeProject\AI\modules\ALPR\ALPR_adapter.py", line 53, in process result = await detect_platenumber(self, self.opts, image) File "C:\Program Files\CodeProject\AI\modules\ALPR\ALPR.py", line 78, in detect_platenumber pillow_image.save(image_buffer, format='JPEG') # 'PNG' - slow AttributeError: 'NoneType' object has no attribute 'save'

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions