I want to install SDK for Automatic License Plate Recognition on Raspberry Pi 3.
I have searched with Google but didn't find any instruction on how to install SDK for alpr.
Can anyone please show the procedure to install SDK on Raspberry Pi 3 for Automatic license plate recognition?
On Raspberry Pi 3 there are is no binary distribution for OpenALPR as far as I know. Hence, you need to build the library yourself. The openalpr project README contains fairly detailed build instructions for various platforms - Ubuntu Linux is the closest I'd say. There is also a blog article (Part 1 and Part 2) which describes the build on Raspberry 3 in detail, but part 1 is dated from 2016 and part 2 is dated 2017. So, it may be outdated. Another option may be to use Docker on Raspberry.
Another option is to the OpenALPR Cloud API. This way, the software on the raspberry will perform REST requests to let the cloud service perform the recognition. You can create a free account with a rate limit of 2000 recognitions per month. There is a Node-RED plugin which can be used to realize the REST client and the processing chain. There is a nice A-Z tutorial for getting things setup on Raspberry Pi 3 including all the hardware setup.
It should also be noted there is a commercial version of OpenALPR referred to as Commercial SDK. The documentation also included information how to obtain and install the package.
DTK LPR SDK support Raspberry Pi 3/4.
http://dtksoft.com/lprsdk
This SDK have linux arm64/armhf libraries what can be executed on rpi.
Related
I have python scripts for automated trading for currency and I want to deploy them by running on Jupter Lab on a cloud instance. I have no experience with cloud computing or linux, so I have been trying weeks to get into this cloud computing mania, but I found it very difficult to participate in it.
My goal is to set up a full-fledged Python infrastructure on a cloud instance from whichever provider so that I can run my trading bot on the cloud.
I want to set up a cloud instance on whichever provider that has the latest python
installation plus the typically needed scientific packages (such as NumPy and pandas and others) in combination with a password-protected and Secure Sockets Layer (SSL)-encrypted Jupyter
Lab server installation.
So far I have gotten no where. I am currently looking at the digital ocean website for setting jupter lab up but there are so many confusing terms.
What is Ubuntu or Debian? Is it like a sub-variant of Linux operating system? Why do I have only 2 options here? I use neither of the operating system, I use the windows operating system on my laptop and it is also where I developed my python script. Do I need a window server or something?
How can I do this? I tried a lot of tutorials but I just got more confused.
Your question raises several more about what you are trying to accomplish. Are you just trying to run your script on cloud services? Or do you want to schedule a server to spin up and execute your code? Are you running a bot that trades for you? These are just some initial questions after reading your post.
Regarding your specific question regarding Ubuntu and Debian, they are indeed Linux distributions which are popular option for servers. You can set up a Windows server on AWS or another cloud provider, but Linux distributions being much more popular are going to have lots of documentation, articles, stackoverflow posts around a Linux based server.
If you just want to run a script on a cloud on demand, you would probably have a lot of success following Wayne's comment around PythonAnywhere or Google Colab.
If you want your own cloud server, I would suggest starting small and slow with a small or free tier EC2 instance by following a tutorial such as this https://dataschool.com/data-modeling-101/running-jupyter-notebook-on-an-ec2-server/ Alternatively, you could splurge for an AWS AMI which will have much more compute power and be configured.
I have similar problem and the most suiteble solution to me is using docker container for jupyter notebooks. The instructions on how to install Docker can be found at https://docs.docker.com/engine/install/ubuntu/ There is ready to use Docker image docker pull jupyter/datascience-notebook for jupyter notebook python stack. The docker compose files und sone addional insruction you will fid at https://github.com/stefanproell/jupyter-notebook-docker-compose/blob/master/README.md.
I am currently learning Python as part of my job and was interested in the possibility of creating android applications using what I am learning. Unfortunately I only have access to a computed at work and the system is pretty locked down in that I cannot export work I create etc and the only device I have during my leisure time is my android phone.
I have heard about the possibility of using Kivy but have only seen reference to this being used on MacOS, Linux or Windows making me think my only choice would be running a virtual machine which would be less convenient than running a native tool. I have also seen that AIDE is a great tool for android app development on mobile but can only be used with C++/Java which would involve learning additional languages and PyDroid3 being a great python tool but don't know how this could be used to create android apps.
Any experience or knowledge in this area would be much appreciated. I understand the best scenario would be to either buy a laptop/pc and use PyCharm and/or Kivy or to learn Java and used the official Android development suite but in my current situation this is not possible.
Just download pydroid3 from play store and follow the steps to create an android app.
Install kivymd module using pip in pydroid3.
Watch kivymd tutorials on youtube to learn kivymd module , you can also refer to kivymd documentation on google.
Develop application using kivymd module in pydroid3.
Convert your python file to apk using kivy buildozer in google colab in chrome on your mobile phone.
I haven't used kivymd but I have used kivy in pyroid3 and it works really well on a phone. Also when you run the code it gives a really good indication of how the final app will look on the phone. But that said I have only used Buildozer to compile the .APK and this only works in Linux so for me that ment virtual Linux system.
First Post, so please be gentle.
I am trying to run a lux meter on a raspberry pi 3 B+. The lux meter is Ts2591, that according to adafruit can be run by installing circuit python files. I have been following the instructions and am having trouble with where to put the ts2591.mpy file. I assume .mpy stands for python module. The website states to place it in the lib file. I have placed in in the python 3.7 lib file and the raspberry pi lib file, but I keep getting a 'cannot find module' error. If it turns out it has to go to a root file system, I am not sure where that is. I don't see a way to ask adafruit directly.
Here is the phrasing from the web site:
Before continuing make sure your board's lib folder or root filesystem has the adafruit_tsl2591.mpy, and adafruit_bus_device files and folders copied over.
The Adafruit ts2591 library is meant to be used with CircuitPython, (which is like a fork of MicroPython). Both CircuitPython and MicroPython have built-in support for the hardware generally found on microcontrollers, like the UART, I2C and SPI communication buses and things like ADC's and switching hardware pins on and off.
Out of the box, this code won't work with "standard" python. For one thing, regular Python doesn't have built-in I2C support. The raspberry pi has Python modules to support its special hardware, but those are different (have a different API) from the ones in CircuitPython.
Basically you have a couple of options.
You can use the adafruit blinka compatibility layer and then the adafruit_tsl2591 module.
You can port the tsl2591 code to run on the raspberry Pi. Luckily, this has already been done: maxlklaxl/python-tsl2591. Download that from github or pypi.
In general, since you can read the CircuitPython code, porting that to another platform with another I2C library isn't too hard.
I need to compile the C++ source code of a version of Python DB API for IBM DB2:
I am new to this and according to the readme, I need to first download
Visual C++ 2003 (isnt it a too old version!?),
Platform SDK lastest version (i think its changed to Windows SDK and for I have Win10, i consider to download Windows 10 SDK),
.NET SDK Version 1.1
When I tried to download Win10 SDK, I saw that its 2.4GB!! Too heavy and I won't use it for more than these kind of compilations. Is there a lightweight core of it?
And is this .NET SDK means .NET Framework SDK?
If you need the windows 10 SDK. I recommend you use vs2017. MS's new licensing scheme makes it free for most of us mere mortals. :)
It installs in a bit less time than VS2013. It also includes some tools for python. And comes with the win10 SDK.
And no, MS does not provide any lite SDKs.
I finished scripting a a computer vision algorithm in python that rely heavily on opencv. I want to be able to deploy a standalone application to work under Mac OS that you don't have to preinstall any dependencies for.
After hours of searching the web I found people voting for py2app, however not many details on how to include opencv libraries for building.
If you successfully deploy a similar application, please tell me what did you do?