codeproject / CodeProject.AI-Server

CodeProject.AI Server is a self contained service that software developers can include in, and distribute with, their applications in order to augment their apps with the power of AI.
Other
565 stars 135 forks source link

Raspberry Pi ALPR #75

Closed kyle4269 closed 7 months ago

kyle4269 commented 8 months ago

I was wondering if there was any progress on installing the ALPR module on a raspberry pi? It appears Paddleocr is the issue. Which I've tried installing to no succes.

Thank you


23:08:25:Preparing to install module 'ALPR'
23:08:25:Downloading module 'ALPR'
23:08:25:Installing module 'ALPR'
23:08:26:ALPR: Hi Docker! We will disable shared python installs for downloaded modules
23:08:27:ALPR: No schemas installed
23:08:27:ALPR: (No schemas means: we can't detect if you're in light or dark mode)
23:08:27:ALPR:              Installing CodeProject.AI Analysis Module                
23:08:27:ALPR: ======================================================================
23:08:27:ALPR:                    CodeProject.AI Installer                           
23:08:27:ALPR: ======================================================================
23:08:27:ALPR: 17.01 GiB  available
23:08:27:ALPR: Checking GPU support                                                  
23:08:27:ALPR: CUDA Present...No
23:08:27:ALPR: Allowing GPU Support: Yes
23:08:27:ALPR: Allowing CUDA Support: Yes
23:08:27:ALPR: General CodeProject.AI setup                                          
23:08:28:ALPR: Setting permissions...Done
23:08:28:ALPR: Processing SDK                                                        
23:08:43:ALPR: Adding toolchain repo... Done
23:08:51:ALPR: Checking for installed dependencies (from gcc-4.9 apt-utils)...Done
23:08:56:ALPR: W: https://packages.cloud.google.com/apt/dists/coral-edgetpu-stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
23:08:59:ALPR: E: Unable to locate package gcc-4.9
23:08:59:ALPR: E: Couldn't find any package by glob 'gcc-4.9'
23:08:59:ALPR: E: Couldn't find any package by regex 'gcc-4.9'
23:08:59:ALPR: Installing missing dependencies: gcc-4.9...Done
23:09:04:ALPR: Upgrading libstdc... Done
23:09:26:ALPR: Checking for installed dependencies (from  ca-certificates gnupg libc6-dev libfontconfig1 libgdiplus libjpeg-dev zlib1g-dev)...Done
23:09:26:ALPR: All dependencies already installed.
23:09:50:ALPR: Checking for installed dependencies (from ffmpeg libsm6 libxext6 mesa-utils curl rsync unzip wget)...Done
23:09:50:ALPR: All dependencies already installed.
23:09:51:ALPR: Checking for .NET >= 7.0...All good. Current .NET is 7.0.401, requested was 7.0
23:09:51:ALPR: Installing module ALPR 2.6                                            
23:09:51:ALPR: Unable to install PaddleOCR on Raspberry Pi, Orange Pi or Jetson. Quitting.
23:09:51:ALPR: Installing Server SDK support:
23:09:51:ALPR: Checking for CUDA...Not found
23:09:55:ALPR: Installing PIP... Done
23:09:56:ALPR: Ensuring PIP compatibility... Done
23:09:56:ALPR: Updating PIP... Done
23:09:56:ALPR: /app/SDK/Scripts/utils.sh: line 1124: pushd: /app/modules/ALPR/bin/linux/python38/venv/bin: No such file or directory
23:09:57:ALPR: Installing setuptools... Done
23:09:57:ALPR: Choosing packages from requirements.txt
23:09:57:ALPR: /app/SDK/Scripts/utils.sh: line 1141: /app/modules/ALPR/bin/linux/python38/venv/bin/python3.8: No such file or directory
23:09:57:ALPR: Installing Packages into Virtual Environment... Success
23:09:57:ALPR: /app/SDK/Scripts/utils.sh: line 1246: popd: directory stack empty
23:09:57:ALPR:                 Setup complete                                        
23:09:57:Module ALPR installed successfully.
23:09:57:Unable to start newly installed Module ALPR.
23:09:57:Installer exited with code 0
23:09:57:Call to Install on module ALPR has completed.
SeanECP commented 8 months ago

Try the latest version, 2.3.2: https://hub.docker.com/r/codeproject/ai-server/tags and see if that works better

kyle4269 commented 8 months ago

Try the latest version, 2.3.2: https://hub.docker.com/r/codeproject/ai-server/tags and see if that works better

Thank you! Does the License Plate Reader work with just a google coral and not GPU?

MikeLud commented 8 months ago

Try the latest version, 2.3.2: https://hub.docker.com/r/codeproject/ai-server/tags and see if that works better

Thank you! Does the License Plate Reader work with just a google coral and not GPU?

@kyle4269 it is the opposite the License Plate Reader does not work with google coral and works with CPUs or Nvidia GPUs.

kyle4269 commented 8 months ago

Try the latest version, 2.3.2: https://hub.docker.com/r/codeproject/ai-server/tags and see if that works better

Thank you! Does the License Plate Reader work with just a google coral and not GPU?

@kyle4269 it is the opposite the License Plate Reader does not work with google coral and works with CPUs or Nvidia GPUs.

Thank you for the clarification!