摄像头和移动传感
从 USB 网络摄像头、IP 摄像头和手机传感器采集数据
当您安装相关联的支持包时,MATLAB® 支持以下硬件。
支持包 | 供应商 | 可用的最早版本 | 可用的最新版本 |
---|---|---|---|
USB 网络摄像头 | 多家供应商(符合 UVC 标准的网络摄像头) | R2014a | 当前 |
IP 摄像头 | 多家供应商(支持基于 HTTP/RTSP 流的 MJPEG 或基于 RTSP 流的 H.264 的 IP 摄像头) | R2014a | 当前 |
Android® 传感器 | 多家供应商 | R2020b | 当前 |
Apple iOS 传感器 | Apple | R2020b | 当前 |
有关受支持硬件的完整列表,请参阅硬件支持。
函数
移动设备传感器
连接和信息
mobiledev | Create mobiledev object to acquire data from mobile device sensors |
mobiledevlist | List of mobile devices with accessible sensor data (自 R2020b 起) |
图像和音频
readAudio | Read collected audio data from mobile device (自 R2022b 起) |
camera | Connection to camera on mobile device (自 R2019a 起) |
snapshot | Acquire single image frame from mobile device camera (自 R2019a 起) |
位置和运动
accellog | Return logged acceleration data from mobile device sensor |
angvellog | Return logged angular velocity data from mobile device sensor |
magfieldlog | Return logged magnetic field data from mobile device sensor |
orientlog | Return logged orientation data from mobile device sensor |
poslog | Return logged position data from mobile device sensor |
discardlogs | Discard all logged data from mobile device sensors |
readMobileSensorData | Import collected data file from mobile device via USB connection |
MATLAB 命令
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)