Git Product home page Git Product logo

Comments (18)

scizors avatar scizors commented on May 27, 2024 1

yes can you email [email protected] I'll send you an appoinment in teams

from deep-license-plate-recognition.

danleyb2 avatar danleyb2 commented on May 27, 2024

@scizors What is the output from docker ps

from deep-license-plate-recognition.

scizors avatar scizors commented on May 27, 2024

Hi @danleyb2 ,
Thank you for fast reply

# docker ps
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES
# docker image ls
REPOSITORY                          TAG       IMAGE ID       CREATED        SIZE
platerecognizer/alpr-raspberry-pi   latest    d3881dcc37b5   29 hours ago   1.31GB

from deep-license-plate-recognition.

danleyb2 avatar danleyb2 commented on May 27, 2024

@scizors I don't see PORTS column listed, So i don't think you ran the correct command, The output should be something of this sort
2021-05-07_02-12

from deep-license-plate-recognition.

scizors avatar scizors commented on May 27, 2024

Yes you are right please find the command below which I used to run the docker

# docker image ls
REPOSITORY                          TAG       IMAGE ID       CREATED        SIZE
platerecognizer/alpr-raspberry-pi   latest    d3881dcc37b5   47 hours ago   1.31GB
# docker run --rm -t -p 8080:8080 -v license:/license -e TOKEN=bc44e48030a5735cdd428e7a231dca19b3d33d03 -e LICENSE_KEY=xxxxxxxx platerecognizer/alpr-raspberry-pi
PlateRecognizer v1.20.0
Starting online registration
You have used 1/2 license(s).
License Key: xxxxxxxxx
Usage since 2021-04-12: 0/2500 calls.
Loading...
# docker ps
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES
# sudo docker ps -a
CONTAINER ID   IMAGE                               COMMAND        CREATED        STATUS                    PORTS     NAMES
22a6c5d21f95   platerecognizer/alpr-raspberry-pi   "./start.sh"   21 hours ago   Exited (1) 21 hours ago             strange_moore

from deep-license-plate-recognition.

danleyb2 avatar danleyb2 commented on May 27, 2024

@scizors Are you able to run a different service that listens on a PORT on the host like the hello-world container

from deep-license-plate-recognition.

scizors avatar scizors commented on May 27, 2024

Hi @danleyb2,
yes I can run other services and hallo-world:

# docker run hello-world

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
    (arm32v7)
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
 https://hub.docker.com/

For more examples and ideas, visit:
 https://docs.docker.com/get-started/

my docker version:

# docker -v
Docker version 20.10.2, build 20.10.2-0ubuntu1~20.04.2
# docker version
Client:
 Version:           20.10.2
 API version:       1.41
 Go version:        go1.13.8
 Git commit:        20.10.2-0ubuntu1~20.04.2
 Built:             Tue Mar 30 21:35:24 2021
 OS/Arch:           linux/arm
 Context:           default
 Experimental:      true

Server:
 Engine:
  Version:          20.10.2
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.13.8
  Git commit:       20.10.2-0ubuntu1~20.04.2
  Built:            Mon Mar 29 19:10:09 2021
  OS/Arch:          linux/arm
  Experimental:     false
 containerd:
  Version:          1.4.4-0ubuntu1~20.04.2
  GitCommit:
 runc:
  Version:          spec: 1.0.2-dev
  GitCommit:
 docker-init:
  Version:          0.19.0
  GitCommit:

ubuntu service in my machine:

# docker container ls
CONTAINER ID   IMAGE     COMMAND   CREATED          STATUS          PORTS     NAMES
5be8fbfb7723   ubuntu    "bash"    21 seconds ago   Up 18 seconds             musing_wiles

from deep-license-plate-recognition.

danleyb2 avatar danleyb2 commented on May 27, 2024

@scizors This doesn't look like an issue with the platerecognizer/alpr image but an issue with your docker installation.
That's why i am asking if you are able to run a different container and confirm it's accesible. So let's try the getting-started container

docker run -d -p 8000:80 docker/getting-started

Then visit localhost:8000 in your browser

from deep-license-plate-recognition.

scizors avatar scizors commented on May 27, 2024

Hi,
Thank you for your reply I don't have browser I have only CLI -Command Line Interface
GUI , web browser is not available in my ARM device.

Do you have any other alternative solution?

# docker run -d -p 8000:80 docker/getting-started
Unable to find image 'docker/getting-started:latest' locally
latest: Pulling from docker/getting-started
docker: no matching manifest for linux/arm/v7 in the manifest list entries.
See 'docker run --help'.

from deep-license-plate-recognition.

danleyb2 avatar danleyb2 commented on May 27, 2024

@scizors You can try curl to the url or telnet.
@marcbelmont is docker networking done differently on arm ? We are not able to get a service to publish a port

from deep-license-plate-recognition.

marcbelmont avatar marcbelmont commented on May 27, 2024

I suspect the docker networking is not configured well on your machine. I would try adding --network=host to your docker run command. With that it will use the host's network directly.

from deep-license-plate-recognition.

scizors avatar scizors commented on May 27, 2024

Hi @marcbelmont .

 # docker run --rm -t -p 8080:8080 -v license:/license -e TOKEN=bc44e48030a5735cdd428e7a231dca19b3d33d03 -e LICENSE_KEY=xxxxxx platerecognizer/alpr-raspberry-pi --network=host
docker: Error response from daemon: OCI runtime create failed: container_linux.go:367: starting container process caused: exec: "--network=host": executable file not found in $PATH: unknown.

from deep-license-plate-recognition.

marcbelmont avatar marcbelmont commented on May 27, 2024

That parameter has to come before the image name. Try that instead:
docker run --network=host --rm -t -p 8080:8080 -v license:/license -e TOKEN=bc44e48030a5735cdd428e7a231dca19b3d33d03 -e LICENSE_KEY=xxxxxx platerecognizer/alpr-raspberry-pi

from deep-license-plate-recognition.

scizors avatar scizors commented on May 27, 2024
# docker run --network=host --rm -t -p 8080:8080 -v license:/license -e TOKEN=bc44e48030a5735cdd428e7a231dca19b3d33d03 -e LICENSE_KEY=xxxxx platerecognizer/alpr-raspberry-pi
WARNING: Published ports are discarded when using host network mode
PlateRecognizer v1.20.0
License Key: xxxxxx
Usage since 2021-04-12: 0/2500 calls.
Loading...
~# curl -o /tmp/car.jpg https://app.platerecognizer.com/static/demo.jpg
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  297k  100  297k    0     0   367k      0 --:--:-- --:--:-- --:--:--  367k
~# curl -F 'upload=@/tmp/car.jpg' http://localhost:8080/v1/plate-reader/
curl: (7) Failed to connect to localhost port 8080: Connection refused

from deep-license-plate-recognition.

marcbelmont avatar marcbelmont commented on May 27, 2024

Is the container still running? Can you share the output of docker ps and docker logs id_of_container?
Are you able to open http://localhost:8080 or http://127.0.0.1:8080 in a web browser?

from deep-license-plate-recognition.

scizors avatar scizors commented on May 27, 2024

In my previous post "WARNING: Published ports are discarded when using host network mode" after including --network=host

no the container is not running
I don't have browser I have only CLI -Command Line Interface also with internet
GUI , web browser is not available in my ARM device.

Do you have any other alternative solution?

# docker ps
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES

from deep-license-plate-recognition.

marcbelmont avatar marcbelmont commented on May 27, 2024

What's the full output of the docker run command.
What do you see after Usage since 2021-04-12: 0/2500 calls. Loading... ?
If it just stays waiting, open another terminal and try calling the API.

Ping me on Skype: marc-belmont if you want to chat live.

from deep-license-plate-recognition.

marcbelmont avatar marcbelmont commented on May 27, 2024

This hardware is currently not supported.

from deep-license-plate-recognition.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.