Skip to content

Latest commit

 

History

History
executable file
·
47 lines (34 loc) · 2.12 KB

README.md

File metadata and controls

executable file
·
47 lines (34 loc) · 2.12 KB

Webcam-Client

This repo provides software for users to deploy an application that captures frames from a webcam, and upload's them to a user specified server via HTTP form post request. By using Electron, node, and javascript ... this software can run on any hardware platform.

End Goal

Image

To Use

To clone and run this repository you'll need Git and Node.js (which comes with npm) installed on your computer. Use the necessary installers for your system, and install both utilites.

If you have trouble running npm commands inside of git bash after installation, try closing it, and opening it again.

For windows users I highly recommend using git bash.

Then, From your command line:

# Clone this repository
git clone https://github.com/wilderfield/webcam-client
# Go into the repository
cd webcam-client
# Install dependencies
npm install
# Run the app
npm start

Once the app starts, paste the predict URL of your server into the REST URL field.
For this AWS demo, it will always be: http://<publicDNS>:8998/predict
i.e. http://ec2-3-94-181-134.compute-1.amazonaws.com:8998/predict

Then click, enable camera, then click Start Uploading Frames.

Additional Background About Electron

License

MIT