
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
fvi-node-face-api-rtsp-stream
Advanced tools
The Node Face API RTSP Stream library uses face-api.js and node-rtsp-stream to consumes data messages from RTSP Stream and detect faces on it.
mkdir test-face-detect
cd test-face-detect
npm init -y
npm install --save fvi-node-face-api-rtsp-stream
git clone https://github.com/salespaulo/fvi-node-face-api-rtsp-stream
cd fvi-node-face-api-rtsp-stream
npm install
npm run dev
# OR
npm run test
const FaceApiRtspStream = require('fvi-node-face-api-rtsp-stream')
const instance = FaceApiRtspStream({
name: 'ID',
url: 'rtsp://',
port: 6789,
score: 0.5,
stream: 'new node-rtsp-stream/videoStream()',
})
instance
.start()
.then(res => console.log('Initializate'))
.catch(e => console.error(e))
instance.stop()
instance.on('error', e => console.error(e))
instance.on('warn', message => console.log(message))
instance.on('data', event => console.log(event))
instance.on('detect', event => console.log(event))
instance.on('start', event => console.log(event))
instance.on('stop', event => console.log(event))
Into directory lab you find tests with this library using WebSocket and jsmpeg.js. Let's join it!
index.js: Starts fvi-node-face-api-rtsp-stream, collects face detects, draw details and send, WebSocket.socket.send, buffered image to ws-index.html.
ws-index.html: Connects via WebSocket, get buffered images with detections and show.
jmpeg-index.html: Connects via jsmpeg.js, nd show.
npm i
cd lab
node ws-index.test.js
After this, opens browser url http://localhost:8081 to see images.
MIT
FAQs
FVI - Node Face API RTSP Stream Consumer
The npm package fvi-node-face-api-rtsp-stream receives a total of 1 weekly downloads. As such, fvi-node-face-api-rtsp-stream popularity was classified as not popular.
We found that fvi-node-face-api-rtsp-stream demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.