Git Product home page Git Product logo

streamera's Introduction

Streamera

This repo aims to build an android app to stream phone camera feed to a computer using sockets.

Installation:

Download the apk file at link on to your android phone and install it on your phone. Download server.py on your computer. Make sure the computer has python3 installed.

Running

Make sure that both the phone and the laptop are connected to the same network.

server

Run the following command on your computer.

python3 server.py <ip-address of your computer> <an open port on your computer>

To get the ip-address of your computer, run the following command ifconfig and find the inet value.

app (client)

Run the app on your phone. Make sure to grant permission for the camera.
Enter the correct server IP and PORT. Press any of mode that you would like to use.

Demo

One could extend the display_image() function in server.py to do almost anything that they want to with the frame. For example, the received frame is passed through a darknet neural network for inference.

streamera in action
streamera in action
output of server.py
output of server.py

Why this application???

There have been a lot of times when I needed to test out some Image Processing or Computer Vision algorithms. An issue that I used to face was trying to get a proper test image. I either had to take pictures, download them to my computer and then run my algorithm or I had to use the built-in camera on my computer. Both methods have serious drawbacks. Hence I put together this app to solve these issues. A reason that I did not use existing apps was that I wanted the application running on my laptop to be coded in python (this is where I do most of my CV work). This also allowed me to learn android app development.

streamera's People

Contributors

subzer0811 avatar

Stargazers

Saya avatar Ashwin B S avatar

Watchers

 avatar

streamera's Issues

Connecting with different network

Im trying to stream the video to ec2 instance, currently the video is streamed locally if both the devices connected in the same network.How can we stream video to the server which is in different network?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.