opencv4nodejs-express-websockets icon indicating copy to clipboard operation
opencv4nodejs-express-websockets copied to clipboard

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

Open heefe92 opened this issue 5 years ago • 0 comments

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..

heefe92 avatar Jan 14 '20 04:01 heefe92