I have a requirement where I need to detect human prescence from a live video feed which is coming from a phones camera
I was wonering if this was possible from the phone itself on an android phone (latest models such as the HTC Desire HD and higher perhaps)? And if possible can anyone guide me to a place (with links or such) to get an idea on how to proceed
However if this was not possible from within the phone itself is it possible to take a live video stream from the phone and transmit it to a server, which for example process the feed using open cv and sends an output back to the phone, can anyone tell me if the transmission of the live video feed to a server is possible and any guidance is appreciated as well.
Any suggestions?
Check this out
https://github.com/billmccord/OpenCV-Android
It may not be the most convenient thing to set up. But seems like it would work.
This might be helpful too.
http://www.slideshare.net/pickerweng/opencv-220-for-android
Related
At school, we are busy with a project where we need to have 2 camera input's connected to an android phone with a unity application running.
At the moment we have the idea to use some USB webcams and plug those into a raspberry pi. This has been done before. But the part that we are not really sure about is how we can connect the raspberry pi to an android phone and transfer the video.
Here is a schematic of what I want to achieve. The idea is that we want to simulate different kinds of vision of animals in a google cardboard experience.
The part I'm not sure about is the connection to the android phone and unity. The USB webcams to raspberry shouldn't make a problem.
I hope someone can give an answer or point me in the right direction.
Many thanks in advance,
Bastien Olivier Dijkstra
This sounds like a neat project. Are you setting it up so each camera gives the view for each eye (hence the 3D aspect)?
For starters, if you simply want static images, you can try to SCP or FTP the resultant video files to your android.
AndFTP does a pretty good job of FTP for Android devices.
On the other hand, if you want to watch a live stream of the video from the RaspiCam, you can do that also with a myriad of other apps, but I personally use IP Cam Viewer to view the RTSP stream.
You will basically be viewing each RTSP stream independently. You may need to adjust the viewing resolution so it doesn't overload your RPi, but Unity can deal with up to eight cameras and up to eight viewing 'screens'.
I have a plan to develop an instrument app, when we shake the android phone, it will produce "angklung" (Google it) sound.
THE PROBLEM:
How to make one android phone can share its produced sound (by shake
gesture) to the other android phones having my application?
The connection that I want to use is mobile data connection and wi-fi.
I think this person has the same problem, but I don't know how to communicate with him. Stream android to android
But there is no help..
I need solution/example/suggestion for this problem. So far I succeed to produce the "angklung" sound when it is shaken.
I have no idea how to start this application. I've searched in the internet but there is no help :(
Thanks for your help.
I would give you the suggestion of streaming the audio data to a server and beaming that to other android devices (that are registered to your app). As the question/issue you have asked are way bigger than couple of lines code, hence am pointing you to some good resources, dig those deep & good luck.
Live-stream video from one android phone to another over WiFi
Stream Live Android Audio to Server
I have a live event where we'd like to explore the use of tablets (IOS/Android/Windows) attached to seats for the audience to access webpages and applications, but would also like the functionally to push a video stream to each tablet simultaneously and synchronized to an audio feed from the house PA.
So far, I haven't found any hardware/software combination that can pull this off yet. Obviously syncing video over IP isn't an easy task, but I'm hoping someone has a clue if it's possible or not. I'd also explore the use of tablets that have a hdmi/video input, but so far they don't seem to exist either.
Flash Media Server and use p2p.
Just realized your using IOS. IOS doesn't do Flash.
I have been working on an android app that streams videos live on a server using android built-in camera and anyone can watch that live stream from my website which is deployed on the server.
So can any one help me on how should i start working on my project because at present i have no direction to start with.
More specific example is:-
Like a person goes to a picnic and he wants his friends and family to see whats going on with the tour and his family can see live what he's doing live.....
There is an open-source project that does a very similar thing:
http://code.google.com/p/ipcamera-for-android/
It basically uses the LocalSocket of the camera to read the video and stream it from a webserver. You should be able to find lots of information in the source code.
If you want to stream over the internet, for everyone to see i can recommend you the service justin.tv which lets you broadcast you stream to the whole internet. If tried it, and it works very good!
However, if there's no wifi you will probably have a very laggy connection, unless you convert the video in a smaller size...
I find plenty of examples of downstreaming a video from a server to an android, but I actually want to stream live images from my droid to a server.
I know that Qik claims to do this. But as I am now reading the Wikipedia article more closely, it says that it doesn't really do live streaming for the iPhone or for Android.
For iPhone, it starts uploading after the recording has finished, and for Android, there are 15-20 seconds delay (according to Wikipedia).
So it seems if not even those Qik guys, who seem to have experience with live streaming, can do it, it's a very hard problem.
On the other hand, I have not tried Qik. Maybe you can install and test it, and do some traffic sniffing with Wireshark to see how they do it on the network level.