Sunday, April 10, 2011

RoBook Scanner (Video Capture)

Introductions:

Once again, our RoBook Scanner will be on its next level, this is how to incorporate Video capturing on the RoBook Arm.Basically our objective is to guide the Robot itself the variations of its movement and how to adapt every conditions of changing sizes of different books.Anyway, we'll use it to monitor the scanning system's activity and to find out if ever there would be an occurrence of malfunctions and see for ourselves also a real time scenes of RoBook in actions-how about that?

As we've mentioned a while ago, we were using gambas for Linux and the forum now is somewhat asking the examples on how to use "picturebox"to display video files or much better if the features capability should be for a real time video streaming.Well, as the date of writing I don't know much about the updates , but I am trying to seek for a solutions myself.

But before that(our discussion obviously), I have changed my platform -oh- a 64 bit quad core server type DELL computer(a cute monter machine)-How about that bro?I found out again installing Ubunto is different from Fedora ,perhaps the technical terms in spelling per se is different -they have the unique term respectively . So you better use "yum search " to what was you usually did in Ubunt "apt-get" then install it if the file ,package or resources are available-quite tasky.

I have come up to an idea that, I need mplayer to do task (video4Linux perhaps) and a "/video/mywebcam/ " example included in Gambas2 and will try if I could pipe it out in a real video streaming- and lets see-hope we could do that.

Requirements:

Libraries for Mplayer,Xine and VLC:
a52dec.x86_64 0:0.7.4-15.fc11
faad2-libs.x86_64 1:2.7-1.fc11
fribidi.x86_64 0:0.19.2-2.fc12
libdca.x86_64 0:0.0.5-5.fc12
libmpeg2.x86_64 0:0.5.1-8.fc12
libvdpau.x86_64 0:0.4.1-1.fc14.1
lirc-libs.x86_64 0:0.8.7-1.fc14
live555.x86_64 0:0-0.27.2010.04.09.fc14
mplayer-common.x86_64 0:1.0-0.119.20100703svn.fc14
opencore-amr.x86_64 0:0.1.2-1.fc12
xvidcore.x86_64 0:1.2.2-2.fc14

xine-ui.x86_64 0:0.99.6-25.fc14
xine-lib.x86_64 0:1.1.19-2.fc14.1

Objectives:
To include Video Capturing in RoBook Scanning system(period!)

Methodology:

I)Installing Mplayer (Two options: Libna or RPMfusions)
1)Set your proxy for downloads
2) Using Libna repos
rpm -ivh http://rpm.livna.org/livna-release.rpm3) Using RPMfusions repo
3)RPMfusions repo
rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
4)Another RPMfusions repo
rpm -Uvh rpmfusion-free-release-stable.noarch.rpm rpmfusion-nonfree-release-stable.noarch.rpm

or you can visit another blog that serves as reference
http://www.redips.net/linux/yum-install-mplayer/
II Coding with Gambas2
0) Click the project->properties->components menu
1) Enable the gb.v4l video capture properties.
2) Requirements for the are gb.qt tool kit , gb.qt setting and etc.(requirements)

Detail(1): Gambas2 Componets


Detail(2) RoBook Arm GUI Interface


Detail(3) Left most side beneath this screen shot is the RoBook'sVideo



Remarks:

Conclusions:

2 comments:

  1. Why did you choose to use gambas ?

    ReplyDelete
  2. Hello Sir,

    1)Gambas as I beleived would be a very poweful language and a stand alone program in Linux.

    2) I am able to use the linux shell in bruteforce

    3) You have all the features:
    Graphics
    Com Port
    Shell
    and Libraries
    Stand alone

    just wait for my updates , soon

    Thanks

    E^3

    ReplyDelete