GithubHelp home page GithubHelp logo

mhhabib / webcam Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 5.27 MB

Webcam using NodeJs, ExpressJs, ReactJs, MongoDB

License: Apache License 2.0

HTML 18.32% CSS 4.32% JavaScript 77.36%
react-webcam reactwebcam webcam webcam-capture webcam-streaming webcamera expressjs mongodb multer nodejs

webcam's Introduction

WebCam

Webcam is a camera-based authentication app. This application aims to capture images intermittently running between an online exam/test/evaluation. You may notice this application's importance while you're taking the Hackerrank online competency test.

This is a basic webcam image capture application. This is how the application works

  • The camera will open when the application loading done
  • After 5 seconds of camera initialization, an image will be captured and sent to the DB
  • Successful image capture, you can redirect your preferred page.
flowchart TD
    A[Application run] --> B{Camera Open?}
  B -- Yes --> W[Waiting for user permission]
  W --> C{Image Capture?}
  C -- Yes --> F[API Service]
  F --> G[Database]
  F --> H[Display captured image/Redirect custom page]
  G --> F
  C -- No --->E[Show Error Message]
  B -- No ----> E[Show Error Message]
Loading

Technology used for this application

  • NodeJs
  • ExpressJs
  • ReactJs
  • MongoDB

Implemented API

Api Description
/new-upload Upload capture image to the remote server
/getfiles Fetch all the captured images

Installation and Usages

Clone this repository and there you will find the API directory too

API installation and usages

  • Go to the API directory
  • Install dependency package npm install
  • Provide MongoDB URI and PORT
  • Run API npm start

Frontend installation and usages

  • Install dependency package npm install
  • Run API npm start

Screenshot

Screenshot 2024-02-18 at 12 28 08 PM

webcam's People

Contributors

mhhabib avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

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.