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.
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.
- electronjs.org/docs - all of Electron's documentation
- electronjs.org/community#boilerplates - sample starter apps created by the community
- electron/electron-quick-start - a very basic starter Electron app
- electron/simple-samples - small applications with ideas for taking them further
- electron/electron-api-demos - an Electron app that teaches you how to use Electron
- hokein/electron-sample-apps - small demo apps for the various Electron APIs