zbar package name for Amazon Linux 2? - zbar

According to https://repology.org/project/zbar/versions, the zbar version for Amazon Linux 1 was simply zbar, but Amazon Linux 2 seems to be missing. It's not zbar since I get the error
No package zbar available
when running yum install zbar on Amazon Linux 2

Related

EasyOCR disables Cuda GPU when installed

Hello after installing EasyOCR via pip install easyocr via Anaconda Prompt (base) I receive this error.
OpenCV(4.5.4)
D:\a\opencv-python\opencv-python\opencv\modules\core\include\opencv2/core/private.cuda.hpp:106: error: (-216:No CUDA support) The library is compiled without CUDA
support in function 'throw_no_cuda'
Before installing easyocr, cuda is active and working with my GPU, but is disabled after installing EasyOCR.
I complied my build via Cmake using opencv4.5.4 and opencv-contrib4.5.4 with Cuda 11.3.1 and Cudnn 8.4.0 as well as uprading tot he most recent numpy 1.22.3.
It seems that after installing eascyOCR is changes my opencv build from whatever I am using to "opencv-python-headless-4.5.4.60" and that is I believe where the issues is at.
This is the version of easyocr installed.
Downloading opencv_python_headless-4.5.4.60-cp39-cp39-win_amd64.whl (35.0 MB)
Successfully installed easyocr-1.4.2 opencv-python-headless-4.5.4.60 python-bidi-0.4.2
Any idea or help on how I can get easyocr working with Cuda and my GPU?
Solved,
Have to install EasyOCR first
Then build OPENCV

Ubuntu 14.04 + IOS 11.2.5 Unhandled Lockdown error (-3)

good morning,
i have an issue with my phone I want to plug in my phone so i can use it inside a virtualmachine (Mac os)but when I plug it while I'm still in my main system
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
I get this error
Unhandled Lockdown error (-3) I have tried to follow instructions mentioned in here and in every other tutorial that I could find on the internet but nothing works
if there is a solution to this probleme or an alternative way to use my phone inside my virtualbox I would be thankful
PS: I'm using Oracle VM VirtualBox 5.1.18-114002
and I already added the extension pack
The version of libimobiledevice that ships with Ubuntu 14.04 is outdated. The handshake protocol (the way the software running on your computer authenticates with the iPhone or iPad) has changed in the latest couple of version of libimobiledevice and you need a new version of libimobiledevice.
Your best bet is to compile and install the following software from source:
libplist
libusbmuxd
usbmuxd
libimobiledevice
For each of the repositories, you'll need to git clone the repository, run ./autogen.sh, make and then sudo make install
If you don't want to compile from source, and upgrading to Ubuntu 16.04 is an option, we maintain an Ubuntu PPA with up-to-date and precompiled versions of libimobiledevice at https://launchpad.net/~quamotion/+archive/ubuntu/ppa.

F# code porting from windows to ubuntu

I am windows developer and trying to write a program on ubuntu in F#
I have ubuntu 16.04 and I am following video https://channel9.msdn.com/Events/Build/2016/T661
I have installed dotnet-dev-1.0.0-preview2.1-003177
Now I am able to do a small hello world program in C#
But when I follow steps from above video I get error when I do 'dotnet run'
"
The specified framework 'Microsoft.NETCore.App', version '1.0.0' was not found.
- Check application dependencies and target a framework version installed at:
/usr/share/dotnet/shared/Microsoft.NETCore.App
- The following versions are installed:
1.1.0
- Alternatively, install the framework version '1.0.0'.
"
Also one thing I observed is I don't have 'Nuget.config' like the video shows.
I have below questions:
How to resolve above query
Is there any tutorial available for development of f# on ubuntu either using .net core or mono as finally I would like to port my Actor model akka.net code from windows to ubuntu.
Regards,
Amit Bhagwat

Is OpenCV supported on Python 3 yet?

I already have part of a program running in Python 3 but I need OpenCV (or SimpleCV), for a robotic vehicle, but I haven't found any install commands that seem to work, other than for Python 2.7.
If it is compatible could you please include instructions (/links to) for installation of the module?
I am using Ubuntu 14.
Maybe a little late to answer, but it's actually supported on OpenCV version 3 (in alpha state nowadays). I have successfully managed to install it, on MacOS, but I guess it would be similar on Ubuntu.
Now you have separated options for python2 and python3 when using Cmake. So you'll have to set those to make it work. That's all I needed to set:
BUILD_opencv_python3
PYTHON3_LIBRARY
PYTHON3_INCLUDE_DIR
PYTHON3_INCLUDE_DIR2
PYTHON3_NUMPY_INCLUDE_DIRS
...
Here you can find more detailed description: Link
Luigolas is correct that OpenCV 3.0 supports Python 3.x bindings. It was in release candidate status since April and the production version was released on 4 June 2015. Unfortunately for some reason the downloadable installation program on the OpenCV site does not contain a Python 3.x-compatible cv2.pyd file.
OP asked about Ubuntu but for those requiring a Windows installer, use Christoph Gohlke's site, which maintains Windows binaries for many Python packages, including OpenCV 3.0 with Python 3.x bindings. Visit:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv
To install, just download the 64-bit or 32-bit .whl file appropriate for your system, then run pip install [filename]. Then the instruction import cv2 should work in your Python 3.x interpreter.

installing opencv 2.2 in a different directory

I had already installed opencv 2.4.2 on my ubuntu 12.04 lts system. But now I have such a situation that I should install opencv 2.2.0 also. I would like to keep opencv 2.4.2. Is it possible?
Reason: I should use econ ECAM32 usb web cam to take images using opencv program but opencv 2.4.2 is not supporting this cam. But opencv 2.2 is supporting this cam.
I would like to hear how we can install opencv 2.2 on system in any other directory, I would prefer on folder in home directory,so that installation should not damage opencv 2.4.2.
I don't see why not. ubuntu 12.04 has opencv 2.3 in it's repository therefore I'm assuming you have installed from the source. when you compile the source you should check ./configure --help first which would probably give you an option for installation directory. It usually looks like:
./configure --prefix=$HOME/opencv2.2
let me know how you proceed..

Resources