Skip to content

segmentation fault (const image = cv.imencode('. jpg', frame).toString('base64')) #1

@heefe92

Description

@heefe92

Hi
I met an error

Segmentation fault (core dumped)
npm ERR! code ELIFECYCLE
npm ERR! errno 139
npm ERR! [email protected] start: `node app.js`
npm ERR! Exit status 139
npm ERR! 
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-01-14T03_35_55_624Z-debug.log

I've debugged and confirmed that videoCap.read () worked fine,
const image = cv.imencode('. jpg', frame).toString('base64'); I noticed an error here.

My node version is v12.14.1 and npm version is 6.13.6.

help me plz..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions