./dev/sda /tmp/backtrack, Opensource, Ppentest

Install Java di Kali Linux.

tar -xzvf /root/jdk-7u17-linux-x64.tar.gz
mv jdk1.7.0_17 /opt
cd /opt/jdk1.7.0_17

Selanjut nya masukan perintah ini:

update-alternatives –install /usr/bin/java java /opt/jdk1.7.0_17/bin/java 1
update-alternatives –install /usr/bin/javac javac /opt/jdk1.7.0_17/bin/javac 1
update-alternatives –install /usr/lib/mozilla/plugins/libjavaplugin.so mozilla-javaplugin.so /opt/jdk1.7.0_17/jre/lib/amd64/libnpjp2.so 1
update-alternatives –set java /opt/jdk1.7.0_17/bin/java
update-alternatives –set javac /opt/jdk1.7.0_17/bin/javac
update-alternatives –set mozilla-javaplugin.so /opt/jdk1.7.0_17/jre/lib/amd64/libnpjp2.so

  •  Test #java -version
Standard
Ppentest

OpenCV and Pi Camera Board !

Think RPI

Congratulation !, you’ve got your new rasperry pi camera ! Isn’t-it cute ?
But after first try, you discover that it’s not an usb-webcam. 😦 Thus, OpenCV doesn’t work natively. (forget cvCaptureFromCAM for example and all your wonderful apps you’ve thought up !)

However, some nice apps (such as raspivid or raspistill) controls  the pi camera using MMAL functions.

The idea is to modify source code of such apps, use buffer memory of the camera to feed OpenCV image objects. Pretty easy (said like that).

This could be done in 7 steps, because of 7 :

View original post 28 more words

Standard