Welcome Guest.   Make a donation to an author on the site September 19, 2014, 10:56:15 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2013! Download dozens of custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: Prev 1 [2]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Webcam Signature 1.0 - My Submission for the DC Programming Contest  (Read 17619 times)
mouser
First Author
Administrator
*****
Posts: 33,363



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #25 on: June 25, 2008, 07:35:11 PM »

my webcam was connected the whole time, and showing in the windows.
it's only when i press the Grab Screenshot button in the finetune dialog that the error occurs.
Logged
VideoInPicture
Honorary Member
**
Posts: 467



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #26 on: June 25, 2008, 07:43:50 PM »

my webcam was connected the whole time, and showing in the windows.
it's only when i press the Grab Screenshot button in the finetune dialog that the error occurs.

That is weird. Does the program work otherwise if you don't click on "Grab A Frame"?
Logged

Author of Circle Dock: http://circledock.wikidot.com
Author of Video In Picture: http://videoinpicture.wikidot.com
Author of Webcam Signature: http://webcamsignature.wikidot.com
Author of Easy Unicode Paster: http://easyunicodepaster.wikidot.com
VideoInPicture
Honorary Member
**
Posts: 467



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #27 on: June 25, 2008, 08:41:26 PM »

I've uploaded a new version of Webcam Signature (1.2) to http://webcamsignature.wi...download-webcam-signature. Added is a fix to handle the case of when the "Fine Tune Tracking Color" panel is opened with no webcam available. Also added is the ability to draw on the signature area with your mouse.
Logged

Author of Circle Dock: http://circledock.wikidot.com
Author of Video In Picture: http://videoinpicture.wikidot.com
Author of Webcam Signature: http://webcamsignature.wikidot.com
Author of Easy Unicode Paster: http://easyunicodepaster.wikidot.com
wreckedcarzz
Charter Member
***
Posts: 1,620



Happy wolfie ^_^

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #28 on: June 26, 2008, 02:38:10 AM »

Problem: When a TV tuner is installed in a PC, Webcam Signature treats it as if it is a webcam (other programs do this too, like Windows Live Messenger) - would it be possible to detect and prevent this? It lags the program having it refresh a bunch of gray fuzzy noise and non-existent video every second or two.

(I have a "Happauge WinTV" TV tuner, if that is relevant at all)
Logged

New website! With a fancy domain name and everything! *gasp*
http://www.wreckedcarzz.com/
VideoInPicture
Honorary Member
**
Posts: 467



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #29 on: June 26, 2008, 02:48:32 AM »

Problem: When a TV tuner is installed in a PC, Webcam Signature treats it as if it is a webcam (other programs do this too, like Windows Live Messenger) - would it be possible to detect and prevent this? It lags the program having it refresh a bunch of gray fuzzy noise and non-existent video every second or two.

(I have a "Happauge WinTV" TV tuner, if that is relevant at all)

Are you using the TV tuner as your video input source for the program?

Right now, the program automatically loads whatever video input source is available but you can get the program to stop the input from the video source in version 1.2 by clicking on the pen size drop box in the "Pen" area of the program and selecting "Hide".
Logged

Author of Circle Dock: http://circledock.wikidot.com
Author of Video In Picture: http://videoinpicture.wikidot.com
Author of Webcam Signature: http://webcamsignature.wikidot.com
Author of Easy Unicode Paster: http://easyunicodepaster.wikidot.com
jgpaiva
Global Moderator
*****
Posts: 4,710



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #30 on: June 26, 2008, 04:56:18 AM »

VideoInPicture: I think nite_monkey is referring to the object he used for tracking (since he mentioned the green smiley )
Logged

VideoInPicture
Honorary Member
**
Posts: 467



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #31 on: June 26, 2008, 04:39:05 PM »

http://www.youtube.com/watch?v=yUPaEnsKJYM

http://webcamsignature.wi...download-webcam-signature

I've coded the Webcam Mouse Mode into Webcam Signature 1.3. You can now use your webcam to move your mouse around. Check out the video!

Also added is a larger drawing area for the signature and hopefully I fixed the unhandled exception the mouser got.

* MouseModeEdited.wmv (3990.31 KB - downloaded 192 times.)
« Last Edit: June 26, 2008, 04:41:52 PM by VideoInPicture » Logged

Author of Circle Dock: http://circledock.wikidot.com
Author of Video In Picture: http://videoinpicture.wikidot.com
Author of Webcam Signature: http://webcamsignature.wikidot.com
Author of Easy Unicode Paster: http://easyunicodepaster.wikidot.com
mouser
First Author
Administrator
*****
Posts: 33,363



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #32 on: June 26, 2008, 04:42:48 PM »

very cool movie smiley
by the way the crashing is gone, the auto grab screen and and color works.  thumbs up

it's hard for me to control it well -- i think my background is a bit noisy and webcam not so good, so it's a little hard.

it's fun to try to think of other uses of this tool..
i can imagine using it to track a bug's movement over time, like a ladybug or something, put your webcam on it and switch into paint mode smiley

« Last Edit: June 26, 2008, 04:55:17 PM by mouser » Logged
VideoInPicture
Honorary Member
**
Posts: 467



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #33 on: June 26, 2008, 05:00:28 PM »

very cool movie smiley
by the way the crashing is gone, the auto grab screen and and color works.  thumbs up

it's hard for me to control it well -- i think my background is a bit noisy and webcam not so good, so it's a little hard.

it's fun to try to think of other uses of this tool..
i can imagine using it to track a bug's movement over time, like a ladybug or something, put your webcam on it and switch into paint mode smiley



That's good. I think the program was improperly disposing of the grabbed frame.

Try using a flashlight/led/infrared led instead of a pen if you are having trouble getting it to track and set it so that the tracking color is white to bright white.

BTW, version 1.3 also fixed the finicky edge drawing problem.  tongue

Now, I just want to make the program use 10% or less of my CPU time when running instead of 30-40%.
« Last Edit: June 26, 2008, 05:03:15 PM by VideoInPicture » Logged

Author of Circle Dock: http://circledock.wikidot.com
Author of Video In Picture: http://videoinpicture.wikidot.com
Author of Webcam Signature: http://webcamsignature.wikidot.com
Author of Easy Unicode Paster: http://easyunicodepaster.wikidot.com
nite_monkey
Member
**
Posts: 692


see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #34 on: June 30, 2008, 02:47:35 PM »

For a while, I couldn't get it to work, but then I used one of those green usb to ps/2 converters that comes with usb mice, and it works 100%!

For your webcam? In the program, I'm using a DirectX wrapper to connect to the webcam. Maybe your webcam has an issue with DirectX?

lol, no, I got the program working perfectly, I couldn't get it to track a pen though, but I could get it to track the usb to ps/2 converter perfectly
Logged

[Insert really cool signature here]
VideoInPicture
Honorary Member
**
Posts: 467



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #35 on: June 30, 2008, 04:38:21 PM »

Quote
lol, no, I got the program working perfectly, I couldn't get it to track a pen though, but I could get it to track the usb to ps/2 converter perfectly

I'm working on a new version of Webcam Signature that uses a notably different algorithm for tracking. From my testing so far, it is able to track a color object significantly better than version 1.3 especially when the lighting changes or there is glare off the object. Right now in version 1.3, you may have to recalibrate the tracking color if you turn the light on in a dark room or the sun shines through the window and onto your pen, but that does not appear to be as frequently necessary with the new version.

However, one issue remains to be solved. I have to speed the algorithm up. One of the primary issues is that accessing bitmap pixels is a slow process even with using Unsafe bitmaps in C#. However, I may have some code that can solve this issue.
« Last Edit: June 30, 2008, 05:08:51 PM by VideoInPicture » Logged

Author of Circle Dock: http://circledock.wikidot.com
Author of Video In Picture: http://videoinpicture.wikidot.com
Author of Webcam Signature: http://webcamsignature.wikidot.com
Author of Easy Unicode Paster: http://easyunicodepaster.wikidot.com
VideoInPicture
Honorary Member
**
Posts: 467



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #36 on: June 30, 2008, 05:05:58 PM »

For mouser, veign, and those interested, the source code for Webcam Signature 1.3 is now up on my website at http://webcamsignature.wi...cam-signature-source-code. It is open source under a GNU v3 license.
Logged

Author of Circle Dock: http://circledock.wikidot.com
Author of Video In Picture: http://videoinpicture.wikidot.com
Author of Webcam Signature: http://webcamsignature.wikidot.com
Author of Easy Unicode Paster: http://easyunicodepaster.wikidot.com
psionics
Participant
*
Posts: 116


see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #37 on: August 01, 2008, 02:57:57 PM »

The best one I've seen! Thank you so much  Wink 
Logged
TaylorV
Participant
*
Posts: 2


View Profile Give some DonationCredits to this forum member
« Reply #38 on: September 02, 2008, 02:47:55 PM »

Although I have all the required programs, and service packs, I get the "Webcam Signature has stopped working" error. I'm running Vista, 64 bit, 2.7 Ghz, 3 gigs of ram.. I really can't figure out what the problem is Sad
Logged
VideoInPicture
Honorary Member
**
Posts: 467



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #39 on: September 02, 2008, 06:00:41 PM »

Although I have all the required programs, and service packs, I get the "Webcam Signature has stopped working" error. I'm running Vista, 64 bit, 2.7 Ghz, 3 gigs of ram.. I really can't figure out what the problem is Sad

I'm not sure it was tested on a Vista 64-bit system before. How many megapixels does your webcam have?

I'm current spending the vast majority of my time getting Circle Dock to a 1.0 release so I might not be able to figure out where your problem is. However, you could always download Microsoft Visual C# Express and run the source code from the Web Cam Signature website. This is the surefire way to see where it in the code it is breaking down. If you can provide a screenshot of when Visual C# Express gives the error, I can provide a better fix/solution. The source code for Webcam Signature is pretty well commented so you should be able to make sense of it if you have a little bit of programming knowledge.

Eric Wong
Logged

Author of Circle Dock: http://circledock.wikidot.com
Author of Video In Picture: http://videoinpicture.wikidot.com
Author of Webcam Signature: http://webcamsignature.wikidot.com
Author of Easy Unicode Paster: http://easyunicodepaster.wikidot.com
TaylorV
Participant
*
Posts: 2


View Profile Give some DonationCredits to this forum member
« Reply #40 on: September 02, 2008, 06:49:07 PM »

I actually solved the problem. Just a stupid error on my part :l

I didn't realize there were hidden files in the original extraction folder, so I just copied the .exe to my documents and put a shortcut on my desktop.

Taylor
Logged
psionics
Participant
*
Posts: 116


see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #41 on: November 04, 2008, 05:25:36 PM »

hello! thank you so much for this wonderful program!  Thmbsup

* I would like to ask if is it capable of tracking 2 or more colors from the webcam?
Logged
Pages: Prev 1 [2]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.051s | Server load: 0.1 ]