LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 06-22-2013, 03:08 AM   #1
sallu.salmankhalid
LQ Newbie
 
Registered: Jun 2013
Posts: 27

Rep: Reputation: Disabled
using pandaboard with opencv without ubuntu or any GUI based distribution


Hi I am new to embedded linux I want to run opencv application lets say object tracking on pandaboard I dont want to do it with ubuntu desktop cuz of its GUI which takes on resources. I am currently testing my theory by installing ubuntu server which has no GUI on a virtual machine. My question is will I be able to run opencv applications that is processing and displaying a webcam feed on a command line interface of ubuntu server now I know about linux framebuffer but I have no idea how to run it. plz help tell me about dependencies and packages I need to run. First tell what I will need to do for ubuntu server 12.04LTS so that I can practice it on a virtual machine
 
Old 06-25-2013, 01:19 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
You need to understand the difference between running graphical applications and running an X server. Applications that are X clients can run anywhere that has access to an X server. On a conventional desktop host, the X server typically runs on the local workstation, and so do the client applications. It is entirely possible; I would say routine; to run the applications and server on separate hosts. All of this assumes that any graphical applications you're considering actually do use X, which is true in virtually all cases.
So, when you say 'I want to run opencv application', does that imply the use of some GUI? If so, does it need to display it's GUI on the embedded pandaboard host somehow, or can the application use a workstation-based X server?

The X server and X clients are completely decoupled, and may exist on completely different hosts. It is also possible to run X client applications where it is impossible to support a full X server with video hardware, keyboard and pointing device. In such cases, a virtual X server might be useful, such as xvfb.

--- rod.
 
Old 06-25-2013, 03:10 PM   #3
sallu.salmankhalid
LQ Newbie
 
Registered: Jun 2013
Posts: 27

Original Poster
Rep: Reputation: Disabled
As i am new to this maybe thats why I might not be able to ask the right questions I'll try to explain better this time.
Actually I want to run a image processing software GUI based (probably opencv based) on an embedded board (beagle board) and I want to see the output (webcam feed) if possible on a host system that is via some kind of network wired or wifi, if seeing the output (webcam feed) on host system is not possible then I'll see the output by directly connecting the board with lcd using hdmi or dvi that comes with the board. In nutshell I want to do all processing on embedded board and see the output on host system. Any ideas
 
Old 06-25-2013, 07:09 PM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Okay, this sounds relatively simple, if I understand you correctly. Your use of the term 'webcam feed' has me a bit puzzled, and I am proceeding on the assumption that you are using terminology that doesn't really mean what you intend.

In one simple case, it seems likely that you want to log in to your Pandaboard system from a GUI-equipped workstation and run the GUI application. The X server on your workstation will provide the monitor/keyboard/pointer required to support the X application(s) running on the Pandaboard. This requires the Pandaboad to support ssh logins (or telnet as a worst case scenario), and requires the workstation to be running an X server (all GUI Linux workstations will be this). Ssh on all major distros provides support for X tunneling to allow a secure connection between the remote X client application, and your workstation-based X sever.

Another scenario is that the application provides a web-based GUI (webcam feed?) that any host capable of supporting a web browser can access. This will require more, possibly much more, effort in programming, and will be a much less responsive and interactive application.

I don't mean to disparage you about terminology or architecture; only trying to describe what subjects you will need to further research and understand.
--- rod.
 
Old 06-26-2013, 01:23 AM   #5
sallu.salmankhalid
LQ Newbie
 
Registered: Jun 2013
Posts: 27

Original Poster
Rep: Reputation: Disabled
By webcam feed i mean capturing frames from webcam and can u recommend me any literature that i can read?
 
Old 06-26-2013, 08:49 AM   #6
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Do you want your Pandaboard application to create a webcam feed, or read from an existing one? There are drivers for many webcams to allow your application to read their data. You will have to determine compatibility between your webcam and any existing driver(s). There is an umbrella package/standard 'video4linux' (v4l) that encapsulates a lot of functionality of video source devices. The Wikipedia V4L Page should make a decent jumping off spot for further research. See also the The Webcam HOWTO.
--- rod.
 
Old 06-26-2013, 05:13 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Also have a look at using parts of "Gmic " ( part of the Cimg.h project )
it dose not use a qt,gtk,or any DE
it outputs to a new x window
and it works with opencv
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can anyone help about Sabily? ( An Islamic Linux Distribution based on Ubuntu) hblinux Linux - Laptop and Netbook 3 02-23-2013 10:49 AM
LXer: First Look at Jeoss, a Lean and Mean Ubuntu-Based Server Distribution LXer Syndicated Linux News 0 08-03-2011 07:20 PM
Secure Debian-based with GUI distribution? Security reading material (e-versions)? computer_freak_8 Linux - Distributions 10 08-12-2009 12:12 PM
Make your own Ubuntu based distribution Tux-Slack Ubuntu 5 10-19-2007 09:10 AM
LXer: Ubuntu Multimedia Center - A new Ubuntu-based Linux distribution LXer Syndicated Linux News 0 11-21-2006 03:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 03:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration