Socket
Book a DemoInstallSign in
Socket

@lamassu/camera-wrapper

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lamassu/camera-wrapper

A face detection library for node.js using OpenCV

1.0.1
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

Preliminaries for Ubuntu 16.04

Installation for other distros may be slightly different.

Packages

sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install \
    build-essential cmake \
    libgtk2.0-dev pkg-config \
    libavcodec-dev libavformat-dev \
    libswscale-dev libpcsclite-dev \
    libv4l-dev libasound2-dev \
    gcc-4.9 g++-4.9
export CXX="g++-4.9"
sudo npm install -g node-gyp node-pre-gyp

OpenCV@2.4.8

Install from APT

apt-get install -y libopencv-core-dev libopencv-highgui-dev libopencv-imgproc-dev libopencv-video-dev libopencv-features2d-dev libopencv-objdetect-dev

Or download the OpenCV source archive from https://opencv.org/releases.html and unpack it. In source folder run following:

mkdir build && cd build
cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local ..
make -j7
sudo make install

Preliminaries for MacOS

OpenCV

Using Brew install OpenCV@2.4.8

brew install opencv@2
brew install pkg-config

Installation

Mac OS X NodeJS setup

Note: Use the latest NodeJS version in the 8.* series.

curl -L https://git.io/n-install | bash -s -- -y 8.12
. ~/.bash_profile

Installing packages

node-gyp build
npm install

FAQs

Package last updated on 04 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.