OWL VIZ error in Protege 4.2 - protege4

I have built my Arabic ontology using Protege 4.2 the latest version published in Protege website,
but when I tried to view VIZ graph using OWL VIZ tab ,it raised the following error
TokenMgrError: Lexical error at line 1, column 195. Encountered: "\u062a" (1578), after : "\"
Is there any way to overcome this problem ? I need to show the Viz Gaph for my Arabic Ontology
Note : the version of GraphViz 2.28

I had the same problem. Fixed it by deleting the existing GraphViz installation (2.30.1) and installing GraphViz 2.26.3. Make sure you update the location of dot in the GraphViz options in Protege so it will find it in the new location. After that it worked.
See also
http://protege-ontology-editor-knowledge-acquisition-system.136.n4.nabble.com/can-t-start-OWLViz-in-Protege-4-1-with-GraphViz-2-30-td4657364.html
Steve

Related

Texpad do not find chapter image on Mac

I am using a latex template I found on Overleaf (link). Using directly Overleaf, I do not have any problem when compiling. Same when using Sublime Text. However, when using Texpad, I got the following error:
LaTeX Warning: File `chapter_head_1.pdf' not found on input line 100.
./main.tex:100: Package pdftex.def Error: File `chapter_head_1.pdf' not found:
using draft setting.
In the beginning, I thought the problem was related to Sandboxing, but I granted already accessibility to the whole folder, so it does not make sense to me that Texpad cannot find the file.
As additional information: I am using the latest version of Texpad v1.8.15 for macOS Catalina v.10.15.6.
I really like some features offered on Texpad, so I would appreciate it very much if you could let me know how to solve this problem. Thanks!
Update: <Sept. 30th, 2020> Find the .log in this link.

How to use openCV in Xamarin?

I am creating a Xamarin project to detect some objects in images .
I want to use openCV library , but I can't wrap it to the xamarin .
I wrapped it to an windows form application but I can not wrap it to Xamarin (I got errors in compatibility)
I have tried to install EMGU.cv but I got error : unable to find version 3.4.3
also I can't update it .
I also tried to wrap the openCV to xamarin by downloading the openCV from here https://opencv.org/releases/
but I didn't find the the .jar file to add it the my project .
so how can I use openCV in xamarin please ?
also is object detection applicable with openCV or not ?
Luckily there is some work done by people before you. You can already use the wrapper that's created for Android, but for iOS you'll have to try to create the wrapper yourself
Edit from 2022: For Android you can also take a look at this GitHub sample, amongst many others

Trying to adapt mergevec to work with the new OpenCV (2.4.5)

So like the title says I've been following this tutorial which seems to be the go to tutorial for how to handle haar feature training using the OpenCV.
Mergevec is a utility that merged together vec files so that you could generate a large number of samples from relatively few images. Anyway, he has an exe but it appears to be for 32-bit OpenCV 2.4.3 while I have 64-bit version 2.4.5. Any help would be appreciated!
My version is built using cmake and Visual Studio 10 as the compiler
Figured it out! Hopefully others can make use of this too!
Basically you want to:
First add mergevec.cpp to the folder \opencv\apps\haartraining then add the following to CMakeLists.txt
# -----------------------------------------------------------
# mergevec
# -----------------------------------------------------------
add_executable(opencv_mergevec mergevec.cpp)
set_target_properties(opencv_performance PROPERTIES
DEBUG_POSTFIX "${OPENCV_DEBUG_POSTFIX}"
OUTPUT_NAME "opencv_mergevec")

cannot setup Opencv 2.4.6 , opencv_core231d.lib Not Found Error

Hello everyone;
i had opencv 2.2 on my vs2010, and i wanted to update so i went to opencv site and:
i've downloaded OpenCV for Windows (ver 2.4.6)
i've extracted it to c:\opencv2.4
i've set the Environment Variable as doc said here: http://docs.opencv.org/doc/tutorials/introduction/windows_install/windows_install.html#windowssetpathandenviromentvariable
( i didnt know what is "PATH EDITOR" so i've just changed Environment variables)
i made property sprite sheets as opencv doc said here: http://docs.opencv.org/doc/tutorials/introduction/windows_visual_studio_Opencv/windows_visual_studio_Opencv.html#windows-visual-studio-how-to
5.but Doc Was Old, and there was no "include" folder in OpenCV2.4/opencv/build/x64/vc10 so I did set include Directory to OpenCV2.4/opencv/build/include in My property sprite sheet.
everything seems true and VS detect include libraries But
VS2010 throw following error when i want to Build the solution:
1>LINK : fatal error LNK1104: cannot open file 'opencv_core231d.lib'
Strange thing is there is no "opencv_core231d.lib" File in c:\opencv2.4 at all!!!
:(
what is the problem?
This is a Linker error, so make sure you are trying to link the correct libraries.
I would suggest to use CMake, which definitely simplifies configuring projects, specially those having dependencies like OpenCV (you can take a look to the OpenCV documentation, or any blog explaining the steps: http://marcosnietoblog.wordpress.com/2011/11/19/opencv-for-windows-easy-installation-using-cmake/ )
By the way, I use to have several versions of opencv on the same folder:
C:\OpenCV\opencv2.4.3
C:\OpenCV\opencv2.4.6
...
So I can easily switch within CMake setting the OpenCV_DIR.
opencv_core231d.lib is a debug version, all the *d.lib and *d.dll files in openCV are with debug symbols.
It is likely that the pre-built release you downloaded doesn't contain debug ones.
either download te source and build both debug and release. Or, if you don't care how opencv works internally, just change the linker flags to use the same lib names with the d
edit. or of course if you donwloaded opencv 2.4.6 the file would be opencv_core246d.lib

Problem with Gnuplot 4.4 and TikZ

I'm using Gnuplot 4.4, compiled with Lua support. It supposedly has the tikz terminal.
I've successfully compiled my gnuplots to tex using "set terminal tikz". However, when adding this source to my latex document I keep getting the following error:
! Package pgfkeys Error: I do not know the key '/tikz/gnuplot' and I am going t
o ignore it. Perhaps you misspelled it.
I've included the tikz package in the original tex document. Any ideas?
EDIT: Solved. See answer bellow.
I didn't give in until I found a solution:
\usepackage{gnuplot-lua-tikz}
If you don't have the gnuplot-lua-tikz.sty just get it from the latest gnuplot development snapshot
http://sourceforge.net/projects/gnuplot/
Unfortunately I am not allowed to comment here, hence a new answer. The .sty file is not sufficient, you need both of the following files from gnuplot (unfortunately the package is no gnuplot-lua-tikz package at cran):
gnuplot-lua-tikz.sty
gnuplot-lua-tikz-common.tex
For later happless Fedora users: The package containing this here is gnuplot-latex, dnf doesn't recognize it as tex(gnuplot-lua-tikz.sty).

Resources