Face recognition webpage - vb.net

I'm working on a project that recognizes faces.
The idea of the project is as follows:
I have an arduino connected with a GSM/GPRS shield. This gives the arduino the ability to connect to the internet. I have also connected a special shield for a camera.
Now I managed to take photos from the camera and upload them using FTP to a webhost.
The problem is that I won't the web host to be able to recognize the face with a pre-saved SQL database and reply via FTP to the arduino with the name of the person recognized in a Text file.
Of course for that matter, I have SD card with it's shield connected to the arduino.
I would love to hear your opinions on how will that work if it's possible in the first place?
I've seen so far some application fourms done in VB to do Face recognition. Is there a way to upload these fourms -btw they are regular fourm not ASP.net - to the host and somehow use it to do the FR?
Thanks,
Adel A. Bibi

Related

Send real-time video via wifiSend

I would like to make a personal application to be installed on two iPhones. The first to be used as a webcam that transmits to the second via wifi.
Having no experience with xCode, I am looking for a code example to connect 2 devices via wifi and transmit a real-time video stream.
Unfortunately, the documentation and examples I found are deprecated or partial and inconsistent.
Where can I find some code examples to help me solve my problem, preferably in ObjectiveC (but also in Swift)?
Thank you

Kinect- test data to simulate multiple tracked people

I'm building a Kinect application in Unity (C#) that tracks multiple people. My stumbling block is how to test this without having several live 'actors' in front of the sensor.
I know Kinect Studio allows you to record live streams, but don't think this can be played back so that it feeds a Unity app. I am using the Kinect for Windows Unity package as a starting point.
https://dev.windows.com/en-us/kinect/tools
Any Kinect or Unity experts care to chime in?
Actually you can use recorded data to playback them without any "actors".
While you are running your app (and without the need of an actual Kinect device plugged in your PC), open Kinect Studio and chose Open (Read-Only) from File. Click then on the Connect icon under the Play tab:
After that, using the Play icon (the typical triangular-shaped one), your recordings will be send to the KinectService, so you can test your app without any actors.

How to open a webpage from an arduino uno

I was wondering if it's possible to open an internet browser from code in your arduino IDE or any other sort of program connected to the arduino and in turn open a specific webpage.
My idea was to have a button on my arduino uno, once pressed, it would open a browser and a webpage in that browser on my connected computer.
I don't mind if the answer involves code outside of the arduino but it would be great if someone has an idea about how to do this sort of thing.
I've done a lot of research and I couldn't find anything relating to the topic which surprises me a lot as this seems like a simple task, anyway any responses would be greatly appreciated!
There are several ways to open a web page with the help of arduino.
But all of them have on thing in common and that is:
1.You receive the data in your PC
2.You tell your PC if the desired data is received open a webpage.
The best way I can think of telling you pc to open a web page is through a programming language. This could be C#,Java,Processing or any other language that has a library that support to monitor the serial port.
After that all you have to do is to say with the help of programming language if this received then open web page..
Here ara two useful links that might be of help:
http://forum.arduino.cc/index.php?topic=138974.0
http://whichlight.com/blog/arduino-serial-out-to-browser/comment-page-1/
The cheap and easy way would be to make your Arduino appear as a USB keyboard and simulate the keypresses required. Of course, this is prone to breakage if the user is typing, not very cross-platform, etc. but it is fairly simple and doesn't require a program on the machine. I received a small USB dongle attached to an ad once that did this. They found a key combination that worked on both Windows and Ubuntu.
With an ASP.Net application you can easily do that,here is a a tutorial on this issue.
And after getting a signal from arduino all you have to do is to write in ASP.NET to open the required link
Yes, its totally possible given that you know how to code in python.
You can have your own program running that will monitor request from arduino uno using serial port. When it receives a particular set of bytes (say "0xabcdef"), it will call the function to open a browser and a web page.
Here are some of the sites that will help you know how to interface arduino to python and opening web browser using python.
http://www.olgapanades.com/blog/controlling-arduino-with-python/
https://docs.python.org/2/library/webbrowser.html

Web cam type video camera to iPad2 streaming over wired communication

I want to develop an App that requires wired communication between Web cam type video camera and iPad2. Basically I will directly connect Web cam and iPad2 using cable and when I start web cam, whatever images(picture/video) captured by web cam should be displayed on iPad2.
Based on my research on this I found that iPad2 cable is only made for iPod Program so the connector is not a traditional USB port I can't do direct communication between web cam and iPad2. Am I missing anything?
We are going to use Vivotek camera and they have mentioned here that we can use safari to receive the Motion-JPEG stream. I am wondering if that could also possible on iPad 2 and is it reliable?
Further I found Apple's MFi Program to develop electronic accessories that connect to iPod, iPhone, and iPad. Is there anyone out here used this already and know more about this if I can go for this?
Thanks.
You can receive a motion jpeg stream in mobile Safari or in a UIWebView in a custom app. I am not able to (yet) successfully receive a motion jpeg stream via an AVPlayer, AVPlayerItem or AVURLAsset.
Becoming a MFI authorized company is non-trivial (I tried once). They want larger established companies that have demonstrated they have the skills and manufacturing know-how/contacts to produce quality accessories.
Curious if you can step back from your initial requirement and see if you can figure out how to do it wirelessly for at least the last step to the iPad 2. Can go wired up to 2 feet away from the iPad and use a local private wifi network for that last 2 feet (say).
I recommend you add (use existing, or purchase) a wireless gateway. Connect the camera to the gateway, and then connect the iPAD to the wireless network, and then browse in safari to the camera and then you can view the image. There is no "hard wired" way to get this to work.
As for the "hard wired" portion of the question, I do not believe that is not possible without a lot of work and hardware. There is no "video in" on an ipad to make it a monitor for a camera.

Turn iPhone into a server programmatically?

I want to make my iPhone app display on a Mac's screen, kind of like AirPlay does with other machines. The only way I have heard to do this is, although I do not like it, turn the iPhone into a server. Unfortunately, I cannot figure out how to do so. I also wanted to set it up in such a way that my Mac automatically detects it. I have seen a similar setup in the game Chopper 2. My Mac app will have a simple timer that fires every few seconds to look for the iPhone, in the same way that Chopper 2's "Find iPhone" button does.
Is there a simple way to turn the iPhone into a server, or start a "session" like Game Center does?
One last thing: I know it is somehow possible, because another app I have actually gives my iPhone a web address at the click of a button. It is called the Dicenomicon, if you want proof.
First there is no easy way to redirect your display to Mac, even if you made it a server of some kind.
Second, to discover or publish customized services on WLAN, you may want to refer to the samples on Bonjour:
CocoaHTTPServer: a simple TCP/HTTP server.
WiTap: an app that discovers and connects to services of the same kind on WLAN by Bonjour.
I'm not really sure what you mean by "server", because there is no way to share the screen of an iPhone using the official SDK, although this is possible by jailbreaking.
It would be possible, however, to send data back and forth between the Mac and iPhone, and display the data on the iPhone, on a Mac. Using that data, you could try to recreate the interface on the Mac. All of this could be accomplished using sockets. A class that might help with that would be cocoaAsyncSocket, which makes network programming a lot easier.
The auto-discovery of iPhones on the local network is achievable with Bonjour. Without getting into too many details, NSNetService would allow you to publish a service for your app from an iPhone, and NSNetServiceBrowser would allow you to find that service on the local network from the Mac. From the NSNetServiceBrowser, you could establish a socket connection with the iPhone.
Good luck!
You might want to take a look at the GameKit APIs, I know they do something similar between two iOS devices.
http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/GameKit_Guide/Introduction/Introduction.html