Transition from 1.1.0 to 2.0.4. Unexpected image search behavior
As title states i'm converting my Java application from Sikuli 1.1.0 to 2.0.4.
In 1.1.0 Following procedure was:
1. Create image from sprites sheet.
2. Crop to the spot of interest
3. Take focused window as region
4. Find all matches in that region.
final Region program = App.focusedWind
Final Image windowElements = Image.create(
Image titleTabStart = windowElements.
final Iterator<Match> titleStarts = program.
and then logic in iteration.
With 2.0.4 i'm getting following exception and errors:
1. [error] Finder2: makeMat: BufferedImage: type not supported: 0 --- please report this problem
2. Exception in thread "main" [error] Finder: __BufferedImage__: (18x21): conversion error --- find will fail
org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
At current moment, i'm stuck with debuging with what has changed, that old logic does not work any more. Any help appreciated.
Question information
- Language:
- English Edit question
- Status:
- Open
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Darius Tumas for more information if necessary.