|
-
Apr 3rd, 2009, 04:53 AM
#1
Thread Starter
Banned
webcam how to
how do i recieve webcam pics and transform each to a string ?
-
Apr 3rd, 2009, 11:56 AM
#2
Re: webcam how to
Can you be a lot more specific please?
 Originally Posted by moti barski
transform each to a string
What are you excepting from this?
-
Apr 3rd, 2009, 02:02 PM
#3
Thread Starter
Banned
Re: webcam how to
i want to get a picture from a webcam.save the picture in a temporary variable.
then convert the bytes/data of the variable to a text string
-
Apr 4th, 2009, 01:33 AM
#4
Hyperactive Member
Re: webcam how to
hey moti barski
if u r willing to save images in database then there is no need to convert to string
as images can be easily stored in database andalso can be easily retrieved in image format directly in the form of binary data
:-)
* If my post helped you, please Rate it
* If your problem is solved please also mark the thread resolved it is there in right top of page under thread tools
* Why Rating is useful
-
Apr 4th, 2009, 01:55 AM
#5
Re: webcam how to
You can use this to capture the feed. Then you will need to process the image.
http://www.vbforums.com/showthread.p...66#post2048466
Pino
-
Apr 4th, 2009, 03:19 PM
#6
Thread Starter
Banned
Re: webcam how to
ok so the best code i found in your link is exlent and simple
vb Code:
Private WithEvents _Camera As WebCamera Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load _Camera = New WebCamera _Camera.StartFeed() End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click _Camera = New WebCamera _Camera.StartFeed() End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click If _Camera.Running Then _Camera.EndFeed() End If End Sub Private Sub _Camera_ImageChanged() Handles _Camera.ImageChanged Me.Text = "Changed at " & Now().ToString Dim NewImage As Image = _Camera.CurrentImage PictureBox1.Image = NewImage NewImage.Dispose() NewImage = Nothing End Sub
now is there a way to convert the image to a string with characters such as :
"0" for cyrcle "-" for line "/", "|" , "\" shaps and such
-
Apr 4th, 2009, 03:53 PM
#7
Lively Member
Re: webcam how to
 Originally Posted by moti barski
ok so the best code i found in your link is exlent and simple
vb Code:
Private WithEvents _Camera As WebCamera Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load _Camera = New WebCamera _Camera.StartFeed() End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click _Camera = New WebCamera _Camera.StartFeed() End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click If _Camera.Running Then _Camera.EndFeed() End If End Sub Private Sub _Camera_ImageChanged() Handles _Camera.ImageChanged Me.Text = "Changed at " & Now().ToString Dim NewImage As Image = _Camera.CurrentImage PictureBox1.Image = NewImage NewImage.Dispose() NewImage = Nothing End Sub
now is there a way to convert the image to a string with characters such as :
"0" for cyrcle "-" for line "/", "|" , "\" shaps and such
are you taking about an actual image transformation?
if there is a ball in the image you want it to give you a "0" where the ball was?
or are you talking about transforming the bytes/data of an image?
you need to clarify your question(s)... no one will help you if you cannot get your point across..
-
Apr 4th, 2009, 04:02 PM
#8
Thread Starter
Banned
Re: webcam how to
yes a ball to a "0" an horizon to "-" . i thought the only way was probably converting the image first but if it can do this faster (image to characters)its better. additionaly
it would be best if such a converted image is smaller then 22 characters
-
Apr 4th, 2009, 04:07 PM
#9
Lively Member
Re: webcam how to
 Originally Posted by moti barski
yes a ball to a "0" an horizon to "-" . i thought the only way was probably converting the image first but if it can do this faster (image to characters)its better. additionaly
it would be best if such a converted image is smaller then 22 characters
what you want is not gong to happen....
unless you use some type of image recognition algorithm/api
http://code.google.com/p/aforge/
http://www.codeproject.com/KB/cs/Bac...NeuralNet.aspx
http://channel9.msdn.com/forums/Tech...ition-in-NET-/
-
Apr 6th, 2009, 06:50 AM
#10
Thread Starter
Banned
Re: webcam how to
ok so the links weren't very helpfull so i will ask again.
how can i convert an image into symbles . for example a computer to | - | _
or a ball to 0 or a japanese to \ / .
-
Apr 6th, 2009, 02:31 PM
#11
Re: webcam how to
Are you clear what you are asking?
What your asking for is pretty complex and if somone has the code I doubt they will just share it 
Pino
-
Apr 6th, 2009, 02:49 PM
#12
Member
Re: webcam how to
 Originally Posted by Pino
Are you clear what you are asking?
What your asking for is pretty complex and if somone has the code I doubt they will just share it
Pino
wow, i agree,
i would say even extremely complex and will require complex algorythms to detect shapes from the captured video/images.
and i would want the code for that as well
-
Apr 7th, 2009, 01:07 AM
#13
Lively Member
Re: webcam how to
 Originally Posted by moti barski
ok so the links weren't very helpfull so i will ask again.
how can i convert an image into symbles . for example a computer to | - | _
or a ball to 0 or a japanese to \ / .
i dont want to be blunt and rude.. so ill save my true raw comments....
if you are NOT going to take the time to READ those links then why should anyone help you..
you obviously need to get a better handle on coding concepts and how things work..
if you know nothing about bit matching and patterns... you need to read up on that first...
id bet that your knowledge on the task you wish to perform is as large as a null object...
-
Apr 7th, 2009, 12:20 PM
#14
Thread Starter
Banned
Re: webcam how to
pk let me ask you this, if i make the algorithm will anyone be interested to make the
code ?
-
Apr 7th, 2009, 12:23 PM
#15
Lively Member
Re: webcam how to
 Originally Posted by moti barski
pk let me ask you this, if i make the algorithm will anyone be interested to make the
code ?
if you make the algorithm., not only will someone codeit for you., but MIT will award you!!!
do not confuse., "requirements" with "algorithm"
-
Apr 7th, 2009, 12:27 PM
#16
Thread Starter
Banned
Re: webcam how to
let me elaborate just in case. if i make the eye algorithm would any of you be interested to make its code ?
additionaly i would like to say i have purchase yesterday a taek webcam which cost me
45 $ because i am seriouse about this.
-
Apr 7th, 2009, 12:52 PM
#17
Thread Starter
Banned
Re: webcam how to
senior zxed , i went to each of your links before comenting on then theire not to clear explanation wise and overall but i appriciate the help
-
Apr 7th, 2009, 03:29 PM
#18
Re: webcam how to
Moti,
The links thta have been posted are likly to be the best you are going to get. What you are attempting to do (on a $45 camera) is what lots of major software compaines have spent years perfecting.
I'm not quite sure what else people can provide.
Pino
-
Apr 17th, 2009, 04:47 PM
#19
Lively Member
Re: webcam how to
 Originally Posted by Pino
Moti,
The links thta have been posted are likly to be the best you are going to get. What you are attempting to do (on a $45 camera) is what lots of major software compaines have spent years perfecting.
I'm not quite sure what else people can provide.
Pino
thank you... that was my point...
the links will give you ideas on how you can implement what you need and what the limitations are...
coding = hacking
what you want consists of a,b,c,d and e... so you need to look at a, b, c,d and e., and extract what you need...
each of those links has some form of implementation of what you need, you may need a code block that represents 1/1000th of the solution thats out there, you, yourself need to figure out how you will implement this...
no one is going to do all that work for you...
especially that part where a japanese person walking infront of a camera will spit out as \ / ... what would you want for white, black, middle eastern ? ....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|