本文介绍了如何将捕获的图像保存到特定路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 如何将捕获的图像保存到特定路径。我正在进行车牌检测项目,我想存储捕获的图像以保存在特定文件夹中。解决方案 试试这个代码 if (!System.IO.File.Exists(savePath)) { pic.SaveAs(savePath); } 在'savePath'变量中设置图像文件夹路径 'pic'包含图片数据 How to save the captured image to a particular path.i am doing number plate detection project,i want to store captured image to get save in particular folder. 解决方案 Try this codeif (!System.IO.File.Exists(savePath)) { pic.SaveAs(savePath); }Set your image folder path in 'savePath' variable'pic' contain the picture data 这篇关于如何将捕获的图像保存到特定路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
07-11 21:38