0.0.47 • Published 5 years ago

@fhms/fg-vision v0.0.47

Weekly downloads
47
License
-
Repository
-
Last release
5 years ago

fitting-glasses-webcam

fitting-glasses-webcam is a angular component for displaying glasses in real time on the webcam image.

Features

The fitting-glasses-webcam component is designed to meet the following requirements:

  • View webcam image
  • Visualize glasses in a canvas (Canvas is in front of the webcam image)
  • Face recognition for realistic eyeglass positioning and scaling
  • Different eyewear models should be able to be set
  • Also eyewear textures are customizable
  • Responsive design

Usage

  1. Install the library via npm-command
    npm install --save @fhms/fg-vision 
  2. Import the VisionModule into your Angular module:
    import { VisionModule } from '@fhms/fg-vision';
  3. Put VisionModule into the imports-array and fill it with suitable parameters:
    imports: [
        VisionModule.forRoot({
            socketAddress: environment.SOCKET_ADDRESS
        })
    ]
    Following parameters are needed:
    • socketAddress: string: The websocket address of the image-processing server.
  1. Use the VisionComponent on your HTML-template:
    <app-vision></app-vision>

Options

This section describes the inputs of the VisionComponent. The inputs are optional.

Inputs

  • width: number: The maximal video width of the webcam live view.
  • height: number: The maximal video height of the webcam live view. The actual view will be placed within these boundaries, respecting the aspect ratio of the video stream.

Development

Installation

Run npm installinside the project directory to install all necessary dependencies.

Build

Run npm run packagr to build the library. The build artifacts will be stored in the dist/ directory.

Start

Run npm start to build and run the surrounding webapp with the VisionModule.

Versioning

Current Version: 0.0.22

Authors

  • Vision-group of the Software-Enginneering-module 2018 of the University of Applied Sciences Münster
0.0.47

5 years ago

0.0.46

5 years ago

0.0.45

5 years ago

0.0.44

5 years ago

0.0.43

5 years ago

0.0.42

5 years ago

0.0.41

5 years ago

0.0.40

5 years ago

0.0.39

5 years ago

0.0.38

5 years ago

0.0.37

5 years ago

0.0.36

5 years ago

0.0.35

5 years ago

0.0.34

5 years ago

0.0.33

5 years ago

0.0.32

5 years ago

0.0.31

5 years ago

0.0.30

5 years ago

0.0.29

5 years ago

0.0.28

5 years ago

0.0.27

5 years ago

0.0.26

5 years ago

0.0.25

5 years ago

0.0.24

5 years ago

0.0.23

5 years ago

0.0.22

5 years ago

0.0.21

5 years ago

0.0.20

5 years ago

0.0.19

5 years ago

0.0.18

5 years ago

0.0.17

5 years ago

0.0.16

5 years ago

0.0.15

5 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago