Programming :: Creating Simple Webcam Effects?

Apr 13, 2010

I want to create simple webcam effects filters. I am only interested in doing relatively simple image processing like blurring or averaging the color. I would like to create the filters in either C or Python.

So before I dive into using Gstreamer or V4L I wanted to ask the forum if they have had any experience with webcam development?

View 2 Replies


ADVERTISEMENT

Programming :: PHP - Creating Basic Simple SSH Command To Machine Over SSL?

Jan 18, 2011

I was thinking to install a very basic SSH gate, secured over SSL, like this [URL]
using PHP. However I would like to have it very basic and simple to install. (not database SQL, nor complicated things, ...) so that I get a prompt page with login and password to access the SSH-internet, and then can SSH the linux box over SSL and regular port 80 like they do. passwd would be in a txt file or whatever. You use index.htm and no one can scroll the tree of the directory. Would have someone already embedded php code for that?

View 1 Replies View Related

Programming :: How To Compile / Simple Tutorial For Making Simple Program

Oct 7, 2010

i'm a college student studying pc programing, and i was given today a special work and i have to program using miranda... which i've never used it >.< can anyone give me a hand to where to download, how to compile, and a simple tutorial for making a simple program or something?

View 3 Replies View Related

Ubuntu :: Creating A Simple Gtk Program Through Terminal?

Jun 10, 2011

I am wanting to try creating a simple program through Terminal. Anything will do. A window or button, etc. I haven't found anything simple enough online yet, but I'm sure they're out there. I just want to expand my knowledge of gtk type stuff. Sorry if this is not the correct category to ask this. I was going to put this on the Community Cafe forum, but chose General Help instead. I am running Ubuntu Lucid. **Edit note: I did try the procedure described at the url (below), but I got all kinds of errors in terminal. [URL]

View 1 Replies View Related

Software :: Creating A Simple Postscript File?

Apr 4, 2011

I would like to do something that should be fairly simple but can not find a way for it.

I want to make a page in postscript or pdf format containing four lines of text and two png images.

Would you know an easy way to concatenate my text file with the two images in a ps or pdf file?

I need a solution that works via command line only as this is for a script.

I use redhat 5 for this and would prefer not having to install any extra software.

View 12 Replies View Related

Ubuntu Networking :: Creating A Simple Workgroup Network

May 11, 2010

I am using an Ubuntu 64 bit desktop. I need to create a network (the way you create a workgroup in windoz). I have two other machines running Ubuntu also and all connected to a 3-Com switch through ethernet. I would prefer not to use DHCP, and just have a simple network where I can share resources like drives and printers.

View 3 Replies View Related

Ubuntu :: Creating Simple Program To Automatically Run Command

May 12, 2011

I need a program that automaticly runs this command in the terminal when I use it:
sudo modprobe nvidia_g210m_acpi
Sure, I know that it's not that hard to just write it in terminal and so on, but I really want a program for it. I'm using ubuntu 11.04 if U need to know that?

View 8 Replies View Related

Ubuntu Multimedia :: How To Get Skype To Use Cheese Webcam Effects

Mar 2, 2010

back when I was Windows Vista (the pre-installed OS on my laptop), whenever I would activate my webcam through skype, I separate program would also initiate. This program would give me the ability to alter the image, like black and white, fish-eye, etc.Is there anyway to get skype to activate cheese webcam so I can use its effects?

View 3 Replies View Related

CentOS 5 :: Creating A Simple Live CD That Executes A Shell Script?

Mar 9, 2010

I would like to a build a CD image (of CentOS 5, x86_64 that loads into memory and boots to the OS without installing anything to hard drives. Then I would like the system to execute a shell script automatically. The shell script will have commands that will control execution.

The goal of this exercise is basically to pre-configure a system (RAID config, BIOS update, etc) automatically using the shell script before installing the OS. I would like the ability to change the shell script as needed and probably repackage the ISO image. I would prefer not to deal with building a source tree to accomplish this. this is something one could do using mkisofs.

View 1 Replies View Related

Ubuntu Multimedia :: Webcam Effects In Skype And Other Video Chat Rooms

Feb 15, 2010

I use skype and other video chat rooms like tinychat and have alway notice windows user doing cool webcam effects. I want to know if there was a program in ubuntu that would allow this.

View 5 Replies View Related

Programming :: C++ Programming With Simple RTAI Functions Outputing Words?

Apr 11, 2011

I need help as I am not proficient with Linux C++ Programming. There are two parts which I need to do in the coding provided below.

1. Produce the program so it can output the word "Hey there!" and wait two minute and print the word "See you later!".

2. Produce the program that will output the text "Cool" every 20 seconds by setting a periodic task.

Quote:
#include <linux/kernel.h>
#include <linux/module.h>
MODULE_LICENSE("GPL");
int init_module(void)
{
printk("Hey there!

[Code]...

View 3 Replies View Related

Programming :: Build A Simple Program For C Programming Class?

Feb 12, 2011

im trying to build a simple program for my C programming class, this is the source code

#include <stdio.h>
int main()
{
int length, width, length, height, area, perimeter;
perimeter = width + length + height;
area = width * length + heigth;

[Code]...

i dont see any error (you might)but every time i run it it runs but after it asks me to input for the width i do it but it doesn't take me to the length, it just stays blank until i input another value in the same place for the width, it asks me for 4 inputs in total i don;t know why, and after i run it different times it gives me different values for the perimeter and are. how can I fix this?

View 5 Replies View Related

Programming :: Create A Simple Makefile Using C ?

Mar 26, 2011

How to create a simple Makefile using C....

View 3 Replies View Related

Programming :: Getting Perl Simple Recursive Sub?

Feb 16, 2011

This is my sub;

Code:

sub projName
{
print "Enter project name: " ;
$PROJ = <STDIN>;
print "";

[code]....

I can call this routine and it works fine when I enter a valid name for $PROJ. If I enter an invalid name it goes to the else block and prints the statement. However, it does not call itself. Instead the script just exits.I've googled 'perl recursive subroutines' and the example don't appear to be doing anything different.

View 4 Replies View Related

Programming :: Simple If's In Bash Scripts?

Nov 7, 2010

I have been looking at: ut a lot of it is to do with files and numerical comparisonswhat would be the bash equivalent of:if (http isin $2) { do something }

View 2 Replies View Related

Programming :: Simple Subtraction Using Bash And Bc

Nov 4, 2009

I am trying to create a function that takes a pair of a high and a low limit, and returns an arbitrary number between them. Below is my attempt to create a function that accomplishes this by checking to see if they are equal, and if not, subtracts a very small number from the high limit and returns the result.

View 2 Replies View Related

Programming :: Get Started With Making 'a SIMPLE Dock'?

Mar 22, 2011

This is probably hopelessly ambitious as I'm not a C or C++ programmer (I normally like to stick to scripting languages like BASH or Perl). Basically I'm looking on good advice to get me started with writing a Application Dock with the functionality of the OSX dock but without the overly flamboyant graphics that have characterised the Linux versions.At the moment the closest I've found to what I would like is bbdock. However it falls well short of the functionality of what I would like.

What bbdock does is read a file to create an icon for the openbox dock/fluxbox slit/wmaker whatever that launches an application when first clicked, shows an little arrow when the application is running, and brings the application to the fore when clicked once running.Here's a screenshot of it doing just that.The drawback to bbdock is that it doesn't really look for running applications, only those launched from bbdock. So for example it wont notice if I've launched an instance of pcmanfm from the openbox menu. And therefore it obviously also doesn't add icons for other applications that are running.

What I would like to be able to do is detect new running applications and add a bbdock icon for them. Also to detect if an application already with a shortcut has been run and update it's status to show it's open. Probably have an up and down arrow to move the icons up and down when there are too many to fit on the screen. None of the above needs fancy animation. The fade to gray effect used by bbdock is quite nice and could probably be augmented with a fade in and out to grey to represent another action, say fading to grey and back when launching and greyed when iconified.So, my question is what do I need to get started doing this? Am I best using the pretty outdated bbdock wmaker dockapp style? What functions and libraries am I likely to need to achieve the effects I want? Are there any examples of how to monitor running applications (well windows and figure out what constitutes a new application) that I could look at for inspiration. Is there anyone who's into C++ for linux who would be interested in helping me out to get this small project working?

View 8 Replies View Related

Programming :: Simple Script For Comparing Two Directories?

Apr 1, 2011

have a simple script for comparing two directories. I want to list all differences between this directories.

here is my function for compare:

function comp
{
for i in $1/*; do
if [ ! -e "$2/${i##*/}" ]; then
echo $i

[Code]....

in my script these two files are equal(my script ignored last time modified)

View 5 Replies View Related

Programming :: Python: Simple Message Queues / IPC?

Mar 10, 2010

I have this daemon I'm writing in Python, but I still a Python n00b. I've coded the part of the daemon that does the work, but not the part that receives messages. I need a simple system so that other processes on the same (Linux) computer can occasionally send text-string messages to the daemon (without needing to stay running all the time themselves). Once in the past we did something similar by (mis)using pyliblo to listen for OSC messages coming in on a certain port. That option isn't as workable here because the pyliblo interface (as near as I can tell) requires you to know in advance specifically what messages you are expecting, and forward them to specified functions, rather than just allowing you to generically process incoming messages as you see fit.

View 1 Replies View Related

Programming :: Reading A Simple File Format In C?

Dec 16, 2010

I made a string key-value mapping struct in C, and functions to add and remove entries. I would also like to write a function to read in this file format:

Code:
key: value
another: another value

[code]...

View 14 Replies View Related

Programming :: Simple C# Using Mono Not Working Properly?

May 13, 2010

I am creating a simple program using C# to print the contents of the todo.txt file once it has run. Problem is when I run the program, I get this warning.

PHP Code:

[code]....

View 12 Replies View Related

Programming :: Simple Header For Perl Programs?

Nov 5, 2010

i am trying to do something very simple like a header and a footer for my first perl programs, what iam trying to do is that when i create a file in vim: lets say hello.pl , i would like that file to have already this in its header:

#!/usr/bin/perl
and this on the footer:
print "
";

so that i dont have to type everytime #!/usr etc i tried to do it this way but i get weird vim errors: header is a file that contains the header and footer $ vim hello.pl;header > is there another way to do it as a function in bash or some other one liner command?

View 1 Replies View Related

Programming :: Simple Perl Log Code Not Working?

May 25, 2010

I just upgraded servers, and I'm now on 'perl v5.8.8 built for i386-linux-thread-multi' and a simple log script doesn't work. I got it changed to

Code:
#!/usr/bin/perl
use strict;

[code]....

View 4 Replies View Related

Programming :: How To Write Simple C Program In RHEL5

Sep 17, 2010

How can i write a simple c program in my RHEL5?I am more concerned about what are toosl i need to install to get a C platfrom running in my RHEL5?

View 14 Replies View Related

Programming :: Use PIL In Python To Simple Composite Images

Jun 24, 2010

I have a render script that uses several Blender 3D instances on several machines to co-render one still image. The image is split into squares of 64 x 64 pixels. In the end, I have like 200 image files, each one with a puzzle piece of the whole.

Now I would like to assembe these pieces into whole with PIL and Python, but so far cannot figure out how. I am new to PIL, but in imagemagick, a convert image1.png image2.png image3.png +append finalimage.png works a charme. But convert chokes on so many image files, so I need something automatic and scalable. I think that pictures are RGBA, so black should be the alpha channel and transparent.

I think I have to mention that the pieces are in the right position and that every piece has the original dimensions of the full picture, so it is not a problem figuring out where each piece should be. Just putting all the pictures on top of eachother and ignoring anything that is black would do the trick nicely.

How can I reach this with PIL? Which functions do I need for that? PIL does a lot of stuff, so finding my simple function is daunting.

View 1 Replies View Related

Programming :: Simple Download Scheduler Program Code?

Apr 30, 2010

I have created a simple download schedular with source-code give below :

---------------------record_strokes.sh-------------------
touch /home/student/packs/lynx/logfile
lynx -cmd_log /home/student/packs/lynx/logfile

[code]....

View 10 Replies View Related

Programming :: Simple Bash Script Is Not Running All Of The Commands?

Jun 14, 2010

I am running a simple script that I copied from slug.ceca.utc.edu/docs/2009-3-26-linux-server-health.pdf and edited with the names and paths of my own servers. I don't know much about scripting (re: nothing) but I wanted to try and be efficient in my new role as a Linux Sys Admin. The script was saved to root's home directory and runs as part of root's crontab once a week. The script runs with no problem, but it doesn't actually seem to run all of the commands contained within. It skips some in the middle and the end and I don't know why. The script itself is this:

Code:
#!/in/bash
uname -a > /tmp/server.txt

[code]...

View 5 Replies View Related

Programming :: No Debugging Symbols Found (not The Simple Case)?

Jan 6, 2011

I wasn't sure where to put this so if I need to move it just let me know.I have a strange problem that I cannot figure out. When I use gdb to debug our rpm-installed program, it says (no debugging symbols found) when it loads. Thing is, when I use nm on the program it can print the symbols, and even stranger is if I use gdb on the program before it is packed up by rpmbuild it loads the debug symbols just fine.Our program is built via the standard make using:GS=-g -Wall-pedantic and as I mentioned I can debug the resulting program. After the build, I package it up using:

cmd="rpmbuild -v -bb ptsnmp.spec --define "ver ${cmvc_release}" --define "rel ${cmvc_level}" --define "_topdir $rpmdir""When this package is installed via rpm, the binary on the machine shows all the debug info via nm, file shows it is not stripped:pt_snmp: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not strippedyet when I try to debug it I get the no debugging symbols found.This is really taxing my brain and I am sure I am just missing something

View 4 Replies View Related

Programming :: Recommend A Simple Png-supporting Image Library?

May 14, 2011

I want to build a simple OCR program and I was wondering what library to use. The images are saved on my hdd as colour .png files, i won't be using any effects on them but I will be working with pixels a lot, so direct access to them would really be great.So I was curious if there's a lib that provides direct access to individual pixels and pretty much nothing else (libpng, devIL or QImage from qt are all good but each has it's downfalls).

View 8 Replies View Related

Programming :: Simple Bash Script Not Returning Correct Value?

Sep 14, 2010

I have a very simple bash script:echo -n Create home directory?:

read HOMEDIR
if [ $homedir="y" ] || [ $homedir="yes" ]; then
homeval=" --makehomedir"

[code]...

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved