File 如何访问在raspberry pi windows 10 iot上从网络摄像头捕获的图像
我想使用windows 10File 如何访问在raspberry pi windows 10 iot上从网络摄像头捕获的图像,file,webcam,raspberry-pi2,windows-10-iot-core,File,Webcam,Raspberry Pi2,Windows 10 Iot Core,我想使用windows 10iotcore访问raspberrypi2上的一些文件。 我想知道如何使用它的地址? 在windows中,可以使用如下地址访问驱动器和目录c:\a\b\c.txt。 ms iot文件系统和地址是如何组织的? 我也搜索了存储卡,但找不到我确定存在的文件。该文件是从网络摄像头中按语法捕获的图片,并通过belo代码保存在设备上 takePhoto.IsEnabled = false; recordVideo.IsEnabled = false;
iot
core访问raspberrypi2
上的一些文件。
我想知道如何使用它的地址?
在windows中,可以使用如下地址访问驱动器和目录c:\a\b\c.txt
。
ms iot
文件系统和地址是如何组织的?
我也搜索了存储卡,但找不到我确定存在的文件。该文件是从网络摄像头中按语法捕获的图片,并通过belo代码保存在设备上
takePhoto.IsEnabled = false;
recordVideo.IsEnabled = false;
captureImage.Source = null;
photoFile = await KnownFolders.PicturesLibrary.CreateFileAsync(
PHOTO_FILE_NAME, CreationCollisionOption.GenerateUniqueName);
ImageEncodingProperties imageProperties = ImageEncodingProperties.CreateJpeg();
await mediaCapture.CapturePhotoToStorageFileAsync(imageProperties, photoFile);
takePhoto.IsEnabled = true;
status.Text = photoFile.Path;
IRandomAccessStream photoStream = await photoFile.OpenReadAsync();
BitmapImage bitmap = new BitmapImage();
bitmap.SetSource(photoStream);
captureImage.Source = bitmap;
我使用status.text
中的路径访问文件,但没有文件
提前感谢您可以尝试通过网络上的UNC路径访问本地文件系统。由于它是Windows操作系统,因此具有默认的管理员共享 例如:
\\192.168.1.123\C$
然后将提示管理员输入设备的用户详细信息
也可以查看这篇博文,了解通过物联网仪表板访问它的方法:谢谢您地址\\192.168.1.123\C$非常有用