Pages

Monday, 27 May 2013

Video Processing is becoming the source of revolutionary technology as Gestures are being used to manipulate objects in physical world with digital world . As Pranav Mistry gave that presentation on Sixth Sense Device ,there is ongoing research and development on gestural interfaces.

Marvin Framework provides extensible, cross-platform and open source image processing framework developed in Java. The framework provides features to:

manipulate images

manipulate captured video frames

multithreading image processing

integrate plug-ins with Graphical User Interface(GUI)

analyze plug-in performance

extend features via plug-in

unit test automation

Marvin Framework has got varied range of plugins to manipulate frames of image captured from webcam so that gesture can be formed and can be used to make some action based on that.

As we have released Marvin Framework 1.4.3 , a change we have done , now it can work with JavaCV or any other API . If you download jar file through above highlighted link , you need to do the following steps to start working again on Marvin Framework.

STEP 1 - Download Jar file from above highlighted link , after downloading extract it in some folder, make sure you have already setup JavaCV .

STEP 6 - If you have done carefully , then all the errors have been gone now. Please check the method call videoAdapter.connect(1) , here 1 is referring to capture device '1' so may be you can get exception

You can try using 0 in place of 1 , or run this code to get the device number of webcam or more than one webcam you may be having to list the device number , you can run the following code

importcom.googlecode.javacv.cpp.videoInputLib.videoInput;

class Main {

publicstaticvoid main(String[] args){

int n=videoInput.listDevices();

for(int i=0;i<n;i++)

{

System.out.println(i+" = "+videoInput.getDeviceName(i));

}

}

}

In my laptop it outputs like

so this tells that capture device hp webcam has number 0 , so i will change the code to videoAdatpter.connect(0);

You can try different programs available in Sample programs if you download source code of Marvin Project.