Racket and OpenCV - opencv

I would like to use OpenCV with the Racket programming language. I normally use Python but would like to use Racket so that I can start using it for computer vision projects. However, I do not know how to use/link the OpenCV library with/to Racket. Please could you assist me with this if you know how. Thank you.

Take a look at https://github.com/oetr/racket-opencv/tree/master/tutorials
and https://github.com/tonyg/racket-opencv-videocapture
I have tried neither of them.
The first project has ported some of the Open CV tutorials,
which could a starting point.
https://github.com/oetr/racket-opencv/tree/master/tutorials

Related

How do I use opencv with autohotkey?

I couldn't find anything about using OpenCV with AutoHotkey on the internet.
Is there any way to use OpenCV in the ahk?
Disclaimer, I am no expert in AutoHotKey, but I found some resources that describe how to use AHK scripts within Java. This is interesting because you can most definitely use openCV with Java.
I suspect that you can use Java to bridge the connection between openCV and AutoHotKey scripts, creating a final solution that uses openCV and AutoHotKey.
Hope that helps.

What is the deference between OpenCV2.4.10 and JavaCV 0.10

I want to know if I download the OpenCV2.4.10, is there the need of JavaCV 0.10 or not, because in the extracted folder of OpenCV2.4.10 inside \OpenCV\build\java there is a Jar file named opencv-2410.jar. I am using Java Language to use OpenCV library. But I also saw JavaCV which can be found at http://bytedeco.org website, when I downloaded all Jars, here I also found named opencv.jar file. Now I don't know what is the deference between them, in Java Language which one is better to use. If use OpenCV2.4.10 is need to JavaCV 0.10? and if use JavaCV 0.10 is need to OpenCV2.4.10? or both of them can be independent used? the If anyone know about this please tell me, Thanks in advance!!
OpenCV library is written in C/C++. Java wrappers are written so that, C/C++ code could be invoked with JNI. JavaCV( unofficial ) and OpenCV( official ) are completely independent java wrappers to use OpenCV from Java.
I suggest you use OpenCV downloaded from offical opencv.org website or from OpenCV github repo(1). Here java wrappers are auto generated during build and so all C/C++ OpenCV functions will have corresponding Java wrappers. This way, every new release or even development versions of OpenCV could be used from Java. This also helps with reading documentation as function parameters matches nearly.
JavaCV is a popular Java wrapper for OpenCV maintained by independent developer(s). It also add helper classes for easier usage. But here, wrappers are not auto generated and so you will need to wait for developers to update to newer versions.

what are the advantages of using javacv than opencv?

I'am developing an eye gaze estimation desktop application for my final year project. I wanted to know what are the main advantages of using javaCV instead of OpenCV ?
OpenCV is a very good Computer visio library. It has C, C++ and Python API. JavaCV is Wrapper of OpenCV using java.
Based on your application you can use native C API using Android NDK. If you are focus on Java then you can use JavaCV.
Also you can have a look at this and some tutorial.
JavaCV is just a non-official Java version of OpenCV.
That said, use JavaCV if you are going to develop in Java, and use OpenCV otherwise.
There is no tutorial for javacv. Sometimes you can't find the curresponding java implementation for Opencv's class(c++ code).Don't get frustrated.Just try to implement it in your own way and open source it.So, others can use it.Be a leader.All the best.

Signal Processing Algorithm Psola or Wsola in Delphi

I'm trying a long-time to find algorithm PSOLA (Pitch Synchronous Overlap Add) or WSOLA (Waveform Similarity Overlap Add) which are Acoustic or Signal Processing Algorithms.
I found it in c++, but I have no experience in c++ and is difficult to pass it to Pascal. Anyone have this code in Pascal or know where to find it to copy?
Something like this example that is in c++
http://sourceforge.net/projects/mffmtimescale/files/v3%20stable/v3.9/WSOLA.v.3.9.zip/download?use_mirror=ufpr
Try the SoundTouch DLL, it comes with a Delphi import unit, so you can use the DLL directly. It should not be too hard to compile it. Just download the free VC++ Express from the MS download site and compile it with that or ask someone with VC++ to compile it for you.
FWIW, who knows, with a few modifications, it might also compile with C++Builder.
About one decade ago, I've used praat in FSeqEdit (Delphi program) to do these type of calculations, but I think the same approach would still work fine today.
I wrote some praat-scripts and execute them via praatcons.exe (console version of praat). You can download the console version from this page:
http://www.fon.hum.uva.nl/praat/download_win.html
That works pretty good.
I usually take this approach:
I manually check what type of conversions and calculations need to be done via the GUI version of praat. Once I find what I need, I create a script for it, and run that with the console version.
Praat is very powerful, so if you didn't know about it yet, make sure to check it out.
There's a page that shows how to work with PSOLA resynthesis here:
http://www.ling.ohio-state.edu/~kyoon/praat-tut/praat-tut2.html
Let me know if you want to see some example code on how to integrate it into your Delphi application (it's pretty straightforward actually).

Vala for pidgin plugins

Has anyone tried writing a pidgin or libpurple plugin in Vala? From a quick look at the Vala homepage it seems like it would be a great language for it, and make a good opportunity to learn Vala, but learning both Vala and the fine art of pidgin plugins at the same time is a little overwhelming. Anyone have any pointers?
Pidgin-Games is a plugin for pidgin written in vala. You could have a look at its source code http://pidgin-games.svn.sourceforge.net/viewvc/pidgin-games/trunk/src/.
You probably will want to read the Vala Tutorial and code samples first if you haven't already.
I also started writing a VAPI for libpurple and I also was able to write a small libpurple client for testing purposes in Vala... So the answer can only be of course! ;)

Resources