Ask Your Question

my-lord's profile - activity

2018-02-14 03:00:33 -0600 edited question Background Scene Modeling Problem on Foreground Extraction

Background Scene Modeling Problem on Foreground Extraction I am using Backgroundsubstraction method to human body extrac

2018-02-14 02:58:24 -0600 edited question Background Scene Modeling Problem on Foreground Extraction

Background Scene Modeling Problem on Foreground Extraction I am using Backgroundsubstraction method to human body extrac

2018-02-14 02:55:15 -0600 edited question Background Scene Modeling Problem on Foreground Extraction

Background Scene Modeling Problem on Foreground Extraction I am using Backgroundsubstraction method to human body extrac

2018-02-14 01:53:29 -0600 edited question Background Scene Modeling Problem on Foreground Extraction

Background Scene Modeling Problem on Foreground Extraction I am using Backgroundsubstraction method to human body extrac

2018-02-13 15:12:10 -0600 commented question Is there a way to read videos from internet?(Opencv.JS)

How can I place a hidden(not display) video tag , set its source url with javascript when the user press Start button on

2018-02-13 15:11:48 -0600 commented question Is there a way to read videos from internet?(Opencv.JS)

Can I place a hidden(not display) video tag , set its source url with javascript when the user press Start button on the

2018-02-13 15:11:37 -0600 commented question Is there a way to read videos from internet?(Opencv.JS)

Can I place a hidden(not display) video tag and set its source url with javascript when the user press Start button on t

2018-02-13 15:11:22 -0600 commented question Is there a way to read videos from internet?(Opencv.JS)

Can I place a hidden(not display) video tag set its source url with javascript when the user press Start button on the h

2018-02-13 15:04:05 -0600 edited question Background Scene Modeling Problem on Foreground Extraction

Background Scene Modeling Problem on Foreground Extraction I am using Backgroundsubstraction method to human body extrac

2018-02-13 15:01:06 -0600 edited question Background Scene Modeling Problem on Foreground Extraction

Background Scene Modeling Problem on Foreground Extraction I am using Backgroundsubstraction method to human body extrac

2018-02-13 14:50:12 -0600 edited question Background Scene Modeling Problem on Foreground Extraction

Background Scene Modeling Problem on Foreground Extraction I am using Backgroundsubstraction method to human body extrac

2018-02-13 14:48:58 -0600 asked a question Background Scene Modeling Problem on Foreground Extraction

Background Scene Modeling Problem on Foreground Extraction I am using Backgroundsubstraction method to human body extrac

2018-02-13 13:58:25 -0600 edited question What is the best way to extract human bodies from static background?

What is the best way to extract human bodies from static background? Hello guys.I have used various techniques to human

2018-02-13 13:57:09 -0600 edited question What is the best way to extract human bodies from static background?

What is the best way to extract human bodies from static background? Hello guys.I have used various techniques to human

2018-02-13 11:40:08 -0600 edited question What is the best way to extract human bodies from static background?

What is the best way to extract human bodies from static background? Hello guys.I have used various techniques to human

2018-02-13 10:35:31 -0600 edited question What is the best way to extract human bodies from static background?

What is the best way to extract human bodies from static background? Hello guys.I have used various techniques to human

2018-02-13 10:32:55 -0600 edited question What is the best way to extract human bodies from static background?

What is the best way to extract human bodies from static background? Hello guys.I have used various techniques to human

2018-02-13 10:32:32 -0600 edited question What is the best way to extract human bodies from static background?

What is the best way to extract human bodies from static background? Hello guys.I have used various techniques to human

2018-02-13 10:31:56 -0600 asked a question What is the best way to extract human bodies from static background?

What is the best way to extract human bodies from static background? 1-)I am using Backgroundsubstraction method to huma

2018-02-13 09:21:20 -0600 commented answer Is there a way get original foreground object colors on foreground substraction?

Thank you.I have this question in my mind "Why BackgroundMOG2?Is BackgroundMOG2 better than BackgroundMOG?" And What

2018-02-13 09:21:11 -0600 commented answer Is there a way get original foreground object colors on foreground substraction?

Thank you.I have this question in my mind "Why BackgroundMOG2?Is BackgroundMOG2 better than BackgroundMOG?" And What

2018-02-13 09:21:04 -0600 commented answer Is there a way get original foreground object colors on foreground substraction?

Thank you.I have thiq question in my mind "Why BackgroundMOG2?Is BackgroundMOG2 better than BackgroundMOG?" And What

2018-02-13 09:19:38 -0600 commented answer Is there a way get original foreground object colors on foreground substraction?

Thank you.I have thiq question in my mind "Why BackgroundMOG2?Is BackgroundMOG2 better than BackgroundMOG?"

2018-02-13 07:16:55 -0600 commented answer Is there a way get original foreground object colors on foreground substraction?

BackgroundSubstarctorMOG2 detect shadows and doing background visible because of shadows.BackgroundSubstarctorMOG don't

2018-02-13 07:08:37 -0600 edited question Is there a way to read videos from internet?(Opencv.JS)

Is there a way to read videos from internet?(Opencv.JS) Hello guys.I am wondering about "How to read Videos frame by fra

2018-02-13 07:08:25 -0600 edited question Is there a way to read videos from internet?(Opencv.JS)

Is there a way to read videos from internet?(Opencv.JS) Hello guys.I am wondering about "How to read Videos frame by fra

2018-02-13 06:59:05 -0600 commented answer Is there a way get original foreground object colors on foreground substraction?

Thanks.I can see BackgroundSubtractorMOG() have better results on OPENCV C++. https://imgur.com/a/1SL3d But i can't fin

2018-02-13 06:46:05 -0600 edited question Is there a way to read videos from internet?(Opencv.JS)

Is there a way to read i videos from internet?(Opencv.JS) Hello guys.I am wondering about "How to read Videos frame by f

2018-02-13 06:42:21 -0600 asked a question Is there a way to read videos from internet?(Opencv.JS)

Is there a way to read i videos from internet?(Opencv.JS) Hello guys.I am wondering about "How to read Videos frame by f

2018-02-13 06:01:56 -0600 commented answer Is there a way get original foreground object colors on foreground substraction?

A little gaps.You can see gaps output video Input: https://streamable.com/k8d3r Output:: https://streamable.com/dmra7

2018-02-13 06:01:44 -0600 commented answer Is there a way get original foreground object colors on foreground substraction?

A little gaps.You can see gaps output video Input:https://streamable.com/k8d3r Output::https://streamable.com/dmra7

2018-02-13 02:22:59 -0600 commented answer Is there a way get original foreground object colors on foreground substraction?

Thank you.I implement copyTo() my code and my last output: http://i66.tinypic.com/f3b9g1.png But there is a little gaps

2018-02-13 02:22:30 -0600 commented answer Is there a way get original foreground object colors on foreground substraction?

Thank you.I implement copyTo() my code and my last output: http://i66.tinypic.com/f3b9g1.png But there is a little gaps

2018-02-13 02:21:15 -0600 received badge  Supporter (source)
2018-02-13 02:20:26 -0600 commented answer Is there a way get original foreground object colors on foreground substraction?

Thank you.Google searchs don't work on OpenCv.js documentation.I implement copyTo() my code and my last output: http://i

2018-02-13 02:19:34 -0600 marked best answer Is there a way get original foreground object colors on foreground substraction?

Hello guys.I am using BackgroundSubtractorMOG2() to extract foreground of video.I am wondering about "how to get original colors of the image and set it foreground".I can extract objects with original colors not threshold.

Foreground Extraction Code:

let video = document.getElementById('videoInput');
let cap = new cv.VideoCapture(video);

let frame = new cv.Mat(video.height, video.width, cv.CV_8UC4);
let fgmask = new cv.Mat(video.height, video.width, cv.CV_8UC1);
let fgbg = new cv.BackgroundSubtractorMOG2(500, 16, true);

    const FPS = 30;
    function processVideo() {
        try {
            if (!streaming) {
                // clean and stop.
                frame.delete(); fgmask.delete(); fgbg.delete();
                return;
            }
            let begin = Date.now();
            // start processing.
            cap.read(frame);
            fgbg.apply(frame, fgmask);
            cv.imshow('canvasOutput', fgmask);
            // schedule the next one.
            let delay = 1000/FPS - (Date.now() - begin);
            setTimeout(processVideo, delay);
        } catch (err) {
            utils.printError(err);
        }
    };

    // schedule the first one.
    setTimeout(processVideo, 0);

Original image

Original image

My output

My output

I want this

I want this