image comparision using opencv in sikulix

Asked by SAMEENA FIRDOS on 2018-07-19

Hello ,Can any body help me in finding that how sikuli uses image recognition using opencv.I am trying to find this thing from sikuli code given but unable to find.Is there is any documentation or any thing.

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
2018-07-21
Last query:
2018-07-21
Last reply:
2018-07-20
RaiMan (raimund-hocke) said : #1

in SikuliX until version 1.1.3 the implementation is in C++ code, which is no longer publicly available (only the prebuilt libs in 1.1.1).
... and it does not make sense, to look at it, since it is based on OpenCV 2.4.

In SikuliX version 2, I implemented the OpenCV features at the Java API level based on OpenCV 3.x
(class com.sikulix.core.Finder in https://github.com/RaiMan/SikuliX2)
... this implementation also has a solution for partly transparent images to search for.

Currently I am backporting this implementation to SikuliX 1.1.4. (no support for transparency yet)
(class org.sikuli.script.Finder2 in https://github.com/RaiMan/SikuliX1in branch develop)

come back, if you need more information.

Thanku

sir i am trying to make jar file of whole folder from command prompt but it
is throwing exception.Is there any other way to make jar of this whole
sikuli folder.

On Thu, 19 Jul 2018 at 12:57, RaiMan <email address hidden>
wrote:

> Your question #670977 on Sikuli changed:
> https://answers.launchpad.net/sikuli/+question/670977
>
> Status: Open => Answered
>
> RaiMan proposed the following answer:
> in SikuliX until version 1.1.3 the implementation is in C++ code, which is
> no longer publicly available (only the prebuilt libs in 1.1.1).
> ... and it does not make sense, to look at it, since it is based on OpenCV
> 2.4.
>
> In SikuliX version 2, I implemented the OpenCV features at the Java API
> level based on OpenCV 3.x
> (class com.sikulix.core.Finder in https://github.com/RaiMan/SikuliX2)
> ... this implementation also has a solution for partly transparent images
> to search for.
>
> Currently I am backporting this implementation to SikuliX 1.1.4. (no
> support for transparency yet)
> (class org.sikuli.script.Finder2 in https://github.com/RaiMan/SikuliX1in
> branch develop)
>
> come back, if you need more information.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/sikuli/+question/670977/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/sikuli/+question/670977
>
> You received this question notification because you asked the question.
>

RaiMan (raimund-hocke) said : #4

--- of whole folder
not sure about what folder you are talking

--- trying to make jar file
what is your intention?
For what do you want to create a jar from what sources?

Actually i want to make some modifications in source code and want to use
that modified code for sikuli.

On Thu, 19 Jul 2018 at 16:03, RaiMan <email address hidden>
wrote:

> Your question #670977 on Sikuli changed:
> https://answers.launchpad.net/sikuli/+question/670977
>
> Status: Open => Needs information
>
> RaiMan requested more information:
> --- of whole folder
> not sure about what folder you are talking
>
> --- trying to make jar file
> what is your intention?
> For what do you want to create a jar from what sources?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/sikuli/+question/670977
>
> You received this question notification because you asked the question.
>

Best RaiMan (raimund-hocke) said : #6

What SikuliX version are we talking about?

The principal steps with 1.1.3 and 1.1.4:
- fork the github repo
- clone it locally with some IDE like Eclipse, Netbeans or Intellij
- be aware: it is a Maven project
- make and test your modification using a suitable test class

If you finally want to create the real SikjliX artefacts, you have to run setup in the project context.

Thanks RaiMan, that solved my question.