raspberry-pi2

Automatically update apps inside the Windows 10 IoT Core?

北慕城南 提交于 2019-12-01 21:36:23
Recently I have a question. If I write an UWP app and install into a Raspberry Pi with Windows IoT Core OS, is it possible that I set a automatic OTA update for my app inside the Raspberry Pi, just like normal UWP apps in Windows App Store do? EDIT: Just for my apps, not for upgrading Windows OS (since it can be upgraded directly by Windows Update) Great question. I'd suggest looking at a higher level device management solution that can provide updates of any type to a device via an IoT event hub. This is still in preview but check out this Microsoft post on getting started with something like

OpenCV NoneType object has no attribute shape

会有一股神秘感。 提交于 2019-12-01 19:46:27
问题 Hello I'm working on Raspberry Pi with OpenCV. I want to try a tutorial which is ball tracking in link http://www.pyimagesearch.com/2015/09/14/ball-tracking-with-opencv/ But when I compile it, i get an error: 'NoneType' object has no attribute 'shape'. What should I do? 回答1: It means that somewhere a function which should return a image just returned None and therefore has no shape attribute. Try "print img" to check if your image is None or an actual numpy object. 回答2: I faced the same

How do I capture and Process each and every frame of an image using CImg library?

大憨熊 提交于 2019-11-30 19:25:17
问题 I'm working on a project based on real time image processing using CImg Library in Raspberrypi. I need to capture images at higher frame rates (say atleast 30 fps), when I use the inbuilt Raspicam commands such as sudo raspistill -o -img_%d.jpg -tl 5 -t 1000 -a 512 /* -tl : time lapse duration in msec -t : total time duration (1000 msec = 1 sec) -a : displays frame numbers */ with this command though it shows 34 frames per second,I could only capture maximum of 4 frames/images (and rest of

WinUSB driver on Windows 10 IoT

左心房为你撑大大i 提交于 2019-11-30 08:20:34
问题 I'm trying to use the WinUsb.sys driver that comes with Windows (including Windows 10 IoT of Raspberry Pi 2). Using devcon.exe I can see that the USB I'm trying to use is connected (it is named USB\VID_1234&PID_ABCD\5&3753427A&0&4 ), but I don't know how to force it to use the WinUsb.sys driver. I found some instructions on microsoft.com but that seems to be for a standard Windows installation where you have Device Manager available (which I don't have on IoT). The INF file example on this

USB Mobile Broadband Modem on Windows 10 IoT?

泪湿孤枕 提交于 2019-11-30 05:32:14
Anyone had experience using a USB Mobile Broadband on Windows IoT with the Raspberry Pi2 already? I have a Huawei datacard in the Windows IoT and appears as HUAWEI Mobile on connected devices but I'm unable to see the device on the wifimanager.htm admin page. Don't even appear on the Device Manager list. Is this lack of drivers? I was looking for a solution too, and I have finally found one. I hope the following will help you! For the record, I used a Vodafone (Huawei) K5150, "officially" supported and Microsoft verified, according to the hardware compatibility list: https://developer

Docker Access to Raspberry Pi GPIO Pins

扶醉桌前 提交于 2019-11-29 20:38:08
When running Docker on the Raspberry Pi 2, how can we expose the GPIO pins to the Docker container? On a Linux host, there are three possible ways to get access to the GPIO pins from within a Docker container. 1. Running Docker with the "--privileged" option Starting a container like this will give the container full access to the host's devices, including GPIO: $ docker run --privileged -d whatever Check the Docker documentation on this option . It might not be the best choice depending on how tight your security requirements are. 2. Adding the /dev/gpiomem device Rather than exposing all of

WinUSB driver on Windows 10 IoT

和自甴很熟 提交于 2019-11-29 06:24:04
I'm trying to use the WinUsb.sys driver that comes with Windows (including Windows 10 IoT of Raspberry Pi 2). Using devcon.exe I can see that the USB I'm trying to use is connected (it is named USB\VID_1234&PID_ABCD\5&3753427A&0&4 ), but I don't know how to force it to use the WinUsb.sys driver. I found some instructions on microsoft.com but that seems to be for a standard Windows installation where you have Device Manager available (which I don't have on IoT). The INF file example on this page also refers to a CAT-file, which I assume this is some sort of driver signature, and I don't know

UWP - Streaming WebCam over Socket to MediaElement - Broken Picture?

江枫思渺然 提交于 2019-11-29 03:38:23
问题 Background The code I've written records video clips from a webcam, writes them to a memory stream, then transmits the data across a Socket connection where it's re-assembled into video and played back on a Media Element. The ultimate goal is to create a baby monitor system, with the server/camera running on a Windows IOT Raspberry Pi, and a UWP app that my girlfriend and I can view on our mobile phones, or the laptop. As well as viewing the camera from another part of the house, we'll also

Docker Access to Raspberry Pi GPIO Pins

China☆狼群 提交于 2019-11-28 16:02:13
问题 When running Docker on the Raspberry Pi 2, how can we expose the GPIO pins to the Docker container? 回答1: On a Linux host, there are three possible ways to get access to the GPIO pins from within a Docker container. 1. Running Docker with the "--privileged" option Starting a container like this will give the container full access to the host's devices, including GPIO: $ docker run --privileged -d whatever Check the Docker documentation on this option. It might not be the best choice depending

Can't install zbar

ぐ巨炮叔叔 提交于 2019-11-28 00:37:46
问题 I am trying to use the qrtools module with Python 3.4.2 on my Raspberry Pi 2, however it cannot run as I don't have the zbar module installed. Trying pip-3.2 install zbar Gives the error message shown in the picture sudo pip-3.2 install zbar gives a similar error Any ideas? (I do have it installed with Python 2.7) UPDATE: Both libzbar-dev and python3-dev are up to date. Still... No module named 'zbar' 回答1: assuming you're using a debian derivative (like ubuntu), you need to install zbar 's