Allthough loooking carefully to select to proper drive to create a new iot device, I erroneously selected by micro sd with my source code. Stupid me!
However I have the app still on another running device. Is their a way to copy my app package from the raspberry back to my devbox?
Related
I have a fully running CV project on Python, running on a Raspberry Pi. I would like to convert this to a web app (I've just started using react).
My idea is to have a video-stream source that connects to my Wi-Fi. This videostream would then be accessed through a web-app (i.e. by typing the hardware IP address). Once the user logs into the web-app, there'll be a live feed of the camera and buttons/functions that allows to perform different CV tasks on the source live-stream (i.e. object detection, colour detection, etc.). How should I go about creating this? In particular:
On the hardware side, I was thinking of just having a Raspberry Pi with a camera, streaming the live feed via Wi-fi. Couple of questions:
where should the computer vision algorithms be sitting? I assume on the web-app side? Currently everything is done on the Raspberry Pi side, but I feel I reached the limit in terms of computational power
would the Raspberry Pi be completely dumb? I.e. just stream the camera feed?
what's the best way to stream the camera feed to the React App? Websockets?
I've been working on an Amazon Fire TV app for about a month now. The usual process of testing is to deploy over the network using Eclipse/adb. However, as the size of my app has increased the deployment time has skyrocketed. It has gotten to the point where it's painful to work on this platform and not worth the massive iteration time. I'm about to cancel the whole project!
That being said, does anybody know how to deploy an app from my dev laptop to the Amazon Fire TV over USB? I imagine that would be much faster.
ADB over USB is not possible on the Fire TV, so you can't just connect it to a PC via USB. ADB over USB is possible on the Fire TV Stick however. (source)
Your only option for the Fire TV is to root it. Rooting would allow you to connect an external USB drive to the Fire TV using stickmount. You'd then need to use an app like a file explorer to install your APK off the USB drive.
My company has developed a .net 4 WPF application that connects to our manufacturing devices over a local network and controls them, in addition to processing image data and outputting it to these devices from the windows desktop. I have been tasked with porting a bare bones version of this to mac. My options are mono for mac or a browser based SilverLight application.
What is the feasibility of a browser based app that will essentially
-scan the local network for our devices and send commands to the chosen device
-accept images from the local machine, uploading them to our server for processing. We would then send the processed data back for output to the local device and display the final image in the browser.
I'm aware that SilverLight 4 Elevated Privileges allow connection across a domain without port number limitations. However I am unsure about scanning a network from a silverlight app running in safari.
-accept images from the local machine, uploading them to our server for processing. We would then send the processed data back for output
to the local device and display the final image in the browser.
Silverlight app can't access files from local machine without user interaction. OpenFileDialog class can't be user initiated. you have to select files from local machine to upload to some service.
-scan the local network for our devices and send commands to the chosen device
as far as scaning local network is concerned, silverlight don't offer TCP ping. if your devices offer some interface using http you might be able to connection and send commands to devices using WebClient.
Further last but not the least silverlight is not full supported in MAC OS described by microsoft. so you might face weird issue that will remain unfixed. Check System Requirement here http://www.microsoft.com/getsilverlight/Get-Started/Install/Default.aspx
Regards.
I want to write a small proxy as a user-level program for the DD-WRT environment.
The proxy will read/write between a USB HID device (Arduino) attached to the DD-WRT box and a specific web server. The USB device will use an AT-style code. The web server uses HTTP.
I'm new to the DD-WRT environment.
Pointers to useful sample apps, GIT repos, blog posts, etc would be appreciated. Anything about getting started writing a DD-WRT app.
Googling has not been successful.
More Googling and reading has led me to:
Apparently, OpenWRT packages can be loaded onto DD-WRT systems. "Note that you can install any OpenWRT package, using ipkg." -- from a DD-WRT page
An intro to writing an OpenWRT package.
http://www.dd-wrt.com/wiki/index.php/Development
If you want to write a kernel module for DD-WRT, this seems like a good start.
DD-WRT has packages for many useful things. Python and pyserial struck my attention.
It is trivially easy to write a HTTP server in python. It is equally easy to interface with a serial port in python.
Load kernel drivers for the USB serial emulator chip on your Arduino (mine has a FTDI chip). It will manifest itself as /dev/ttyUSB0 or something. Do everything else in python.
A customer (photographer) asked me, if it was possible to write some kind of software for cellphones, so he could physically connect it to his professional digital camera (Canon or Nikon) and transfer the pictures (or a subset) to the cellphone.
I am trying not to put constraints on cellphone platform (Symbian, Windows Mobile etc) from the beginning, so I am leaving that sort of constraints out on purpose.
Can anybody give me some hints?
You need a connection between the camera and the cellphone:
Some windows mobile devices got a USB-Host-Function, so you can connect either a cardreader or the camera itself via a usb-cable and read the files from the device. I never heard of a symbian-device which supports usb-host, but there might be some.
If the camera supports either bluetooth or ir, you could use these protocols to transfer the files as most mobile-phonse support this.
If you got a connection (and the protocol-support by your platform) it is easy to write a application to transfer the file from the device to you cellphone. You can write this application in any supported language (java for j2me, python (symbian), .net (windows mobile)
My digital camera saves photos to a memory card. I can simply take the memory card out of the camera and insert it into my Windows Mobile phone and view the photos on the phone.