29 thoughts on “Streaming a WebCam working with Categorical, OpenCV, and Socket IO”

  1. Cannot find module 'C:UsersBhargav KrishnaDesktopprojectnode_modulesopencv4nodejsbuildReleaseopencv4nodejs'

    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)

    at Function.Module._load (internal/modules/cjs/loader.js:507:25)

    at Module.require (internal/modules/cjs/loader.js:637:17)

    at require (internal/modules/cjs/helpers.js:22:18)

    at Object.<anonymous> (C:UsersBhargav KrishnaDesktopprojectnode_modulesopencv4nodejslibcv.js:58:8)

    at Module._compile (internal/modules/cjs/loader.js:689:30)

    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)

    at Module.load (internal/modules/cjs/loader.js:599:32)

    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)

    at Function.Module._load (internal/modules/cjs/loader.js:530:3)

    I got an error like this can anybody help??

  2. In my Case this error is coming node index.js

    /home/ashish/usb/index.js:23
    const image = cv.imencode('.jpg', frame).toString('base64');
    ^
    Io::Imencode – OpenCV Error: (Raw image encoder error: Empty JPEG image (DNL not supported)) in throwOnEror, in file /home/ashish/usb/node_modules/opencv-build/opencv/opencv/modules/imgcodecs/src/grfmt_base.cpp, line 145, status -10

  3. Im using same code but my image element is updating way to slow. Is anyone having a problem with there image element lagging? Why is yours real time and mine 5 seconds behind?

  4. Hey Cody, your videos are really good, why are not you doing more of them ? You diction and speaking manor is great for non english speakers as me for ex. You should definitely do some series, or may be some little projects.

  5. Ya dude, thanks for the video bro. I actually just checked out another one and I checked out yours with hopes that you would answer my question as to why my program was loading frames so slow. So I see that I'm probably having a processing problem. Thank you.

  6. I'm trying to install opencv4nodejs (npm iopencv4nodejs) and i receive an error :
    ERR! Error: Command failed: git –version
    'git' is not recognized as an internal or external command,
    operable program or batch file.

    npm WARN [email protected] No description
    npm WARN [email protected] No repository field.

    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! [email protected] install: `node ./install.js`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the [email protected] install 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! C:UserskotsaAppDataRoamingnpm-cache_logs2019-04-01T20_50_27_090Z-debug.log

    eny idea how to resolve it? Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *