Unable to capture images in Linux OS

Asked by Priyanka

I have newely installed Sikuli in Linux OS. Tool was launching successfully. But, uable to capture images. If tried, it is displaying camera icon, instead of displaying the original picture.
Can you help me in this issue.
Also can you please mention required list of softwares and installation procedure once.

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

--- Also can you please mention required list of softwares
http://sikuli.org/download.shtml

... and many Q&A's here on different Linux versions

Come back if you installation is correct.

Revision history for this message
Priyanka (basanta49) said :
#2

Can we use sikuli to test applications developed using QT (c++).

Revision history for this message
RaiMan (raimund-hocke) said :
#3

Yes you can.

Revision history for this message
Priyanka (basanta49) said :
#4

Actually i have downloaded the below:

Linux

Linux version is a portable zip, no installation required. Just run sikuli-ide.sh in Sikuli-IDE/ to start it.
Make sure you have Java Runtime Environment (JRE) 6, wmctrl, and OpenCV 2.1 (libcv2.1, libcvaux2.1, libhighgui2.1) installed.

    Sikuli-X-1.0rc3 (r905)-linux-i686.zip (For 32bit Linux)

But I have installed higher versions of libcv2.1, libcvaux2.1, libhighgui2.1.

Is this correct or anything else should be installed. I am unable to capture images.

Revision history for this message
Priyanka (basanta49) said :
#5

Hi,

I am able to capture images now.

But tool is getting aborted when capturing big images.

Revision history for this message
RaiMan (raimund-hocke) said :
#6

relevant part of error message?

Revision history for this message
Priyanka (basanta49) said :
#7

 [info] locale: en_US
Error opening data file /tmp/sikuli/tessdata/eng.traineddata
Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your "tessdata" directory.
Failed loading language 'eng'
Tesseract couldn't load any languages!
vlog 1 Input
vlog 1 Canny
vlog 1 AdaptiveThresholded
vlog 1 LongLinesFound
vlog 1 LongLinesRemoved
vlog 1 NonEdgeRemoved
vlog 1 blobs-extracted
vlog 1 blobs-filtered
vlog 1 lineblobs
vlog 1 lineblobs-filtered
vlog 1 lineblobs-merged
vlog 1 paragblobs
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x85555b6d, pid=2428, tid=2317286208
#
# JRE version: 6.0_24-b24
# Java VM: OpenJDK Server VM (20.0-b12 mixed mode linux-x86 )
# Derivative: IcedTea6 1.11.4
# Distribution: Ubuntu 12.04 LTS, package 6b24-1.11.4-1ubuntu0.12.04.1
# Problematic frame:
# C [libtesseract.so.3+0x226b6d] tesseract::Classify::CharNormClassifier(TBLOB*, DENORM const&, INT_TEMPLATES_STRUCT*, ADAPT_RESULTS*)+0x61
#
# An error report file with more information is saved as:
# /home/votarytech/hs_err_pid2428.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)

Revision history for this message
RaiMan (raimund-hocke) said :
#8

check your Tesseract installation.

Tesseract 2.04 is needed, you might have Tesseract 3 on your machine.

Se other Q&A's on that.

Revision history for this message
j (j-the-k) said :
#9

libtesseract.so.3 looks defenitely like tesseract 3

If you run ubuntu, you can use "apt-get install sikuli" to install a version of sikuli that runs with tesseract 3.
If not, you can download it here http://code.google.com/p/tesseract-ocr/downloads/detail?name=tesseract-2.04.tar.gz&can=2&q=
and compile it yourself

Revision history for this message
Neal McBurnett (nealmcb) said :
#10

This seems to be a packaging bug, "in progress", with a workaround documented here:

Bug #979524 “Ubuntu 12: sikuli-ide crashes with Tesseract 3.0 --...” : Bugs : Sikuli
 https://bugs.launchpad.net/sikuli/+bug/979524

Can you help with this problem?

Provide an answer of your own, or ask Priyanka for more information if necessary.

To post a message you must log in.