用于捕获图像并将图像存储到数据库中的代码 [英] code for capturing image and storing the image into database

查看:70
本文介绍了用于捕获图像并将图像存储到数据库中的代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

先生/女士
我需要C#代码来通过网络摄像头捕获图像并将其存储到数据库中.
我不知道该怎么做.请帮我.
谢谢

Sir/Madam
I need c# code for capturing image by webcam and storing them into database.
I don''t know how to do this. please help me.
Thank you

推荐答案

我想您使用Windows?在此处浏览一下 [
I suppose you use Windows? Have a look here[^]. Using WIA is a good start to capture an image from "any" webcam. But please be aware, that this is no trivial case and might cause some problems along the road.


如果您无法完成一项任务,请将其分解并尝试执行分别.
在这种情况下,它分为两个任务:

1)
捕获网络摄像头图像c# [ ^ ]
2)将图像存储到数据库c# [ ^ ]

谷歌搜索这些任务中的每一个,都能获得很好的结果-上面的链接.
查看结果可得出以下结果:

1)使用WIA的WebCam快速图像捕获服务 [ C#从数据库中保存和加载图像 [
If you can''t do a task, break it into pieces and try to do them separately.
In this case, it breaks into two tasks:

1) Capture webcam image c#[^]
2) Store image to database c#[^]

Googling each of those tasks game a good set of results - the links above.
Looking at the results gives these:

1) WebCam Fast Image Capture Service using WIA[^]
2) C# Save and Load Image from Database[^]

Both of which are articles on this very site.

So, what part of that was too difficult for you to do?


这篇关于用于捕获图像并将图像存储到数据库中的代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆