Ask Your Question

isra60's profile - activity

2020-02-10 08:18:55 -0600 received badge  Popular Question (source)
2019-03-29 06:05:11 -0600 asked a question Video Capture read() does not maintain average fps in live source (rtsp)

Video Capture read() does not maintain average fps in live source (rtsp) I have a Videcapture from a gstreamer pipeline

2018-12-08 08:55:58 -0600 received badge  Teacher (source)
2018-12-07 02:50:49 -0600 received badge  Necromancer (source)
2018-12-07 02:50:49 -0600 received badge  Self-Learner (source)
2018-12-07 02:36:28 -0600 answered a question Differences between Gray to YUV conversion (CvtColor VS Create a Mat with Y component)

Maybe a little late... but the conversion is like this.. Y = (0.257 * R) + (0.504 * G) + (0.098 * B) + 16 Cr = V

2018-07-31 07:28:09 -0600 asked a question c++ alternative to this kind of python cv::Mat operations

c++ alternative to this kind of python cv::Mat operations Hi i have this code self.L = (static == 255) * (self.L+1) + (

2018-02-12 04:10:47 -0600 asked a question Differences between Gray to YUV conversion (CvtColor VS Create a Mat with Y component)

Differences between Gray to YUV conversion (CvtColor VS Create a Mat with Y component) AFAIK , A YUV image from Gray8 im

2018-01-25 00:42:24 -0600 commented question How I can convert from GRAY8 to YUV420?

This is for a gray 8 camera source and pass to an encoder which needs yuv420 format

2018-01-24 08:13:03 -0600 asked a question How I can convert from GRAY8 to YUV420?

How I can convert from GRAY8 to YUV420? I found this code colors https://docs.opencv.org/3.1.0/d7/d1b/group__imgproc__mi

2018-01-09 08:01:28 -0600 asked a question Prototxt and caffemodel files for faster_rcnn.cpp example

Prototxt and caffemodel files for faster_rcnn.cpp example I dont' find the correct files to make works this sample (new

2017-11-10 00:50:13 -0600 received badge  Enthusiast
2017-10-24 06:25:34 -0600 marked best answer How to extract 2D Mat from a 4D Mat

I have a Cv::Mat calle Prob

prob = deepLearningModel.forward();

This mat have 4 dimensions , and the size of each dimensions are tipically 1-1-nDetections-detectionsParameter

So I want is a 2D Mat based on the last dimensions , I mean nDetections*detectionsPameteter How can I achieve it??

Thanks.

2017-10-24 06:25:34 -0600 received badge  Scholar (source)
2017-10-24 06:25:29 -0600 commented answer How to extract 2D Mat from a 4D Mat

Great!! Thank you .

2017-10-24 05:20:22 -0600 commented answer How to extract 2D Mat from a 4D Mat

In my case is not a nDetections columns. my model is a object detection, so it classifies and also give the bounding box

2017-10-24 05:20:14 -0600 commented answer How to extract 2D Mat from a 4D Mat

In my case is not a nDetections columns. my model is a object detection, so it classifies and also give the bounding box

2017-10-24 02:34:54 -0600 asked a question How to extract 2D Mat from a 4D Mat

How to extract 2D Mat from a 4D Mat I have a Cv::Mat calle Prob prob = deepLearningModel.forward(); This mat have 4 di

2016-10-20 02:39:36 -0600 received badge  Supporter (source)
2016-10-17 08:32:38 -0600 received badge  Student (source)
2016-10-17 07:59:47 -0600 asked a question Best method to track with ptz (moving) camera

Hi. I'm trying to use a track method that does not lost the track when the camera moves (a pan or tilt movement). I have used trackers from tracking module of opencv_extras, For example KCF works perfect with a static video, but when the camera moves the object is lost.

Also I try with Camshift with the same results... Maybe I need to tweek this standar tracking methods?? Or is better use feature detection methods, in that case which method should be better??

2014-06-11 10:11:09 -0600 asked a question Very poor video performance with face detection first example.

I have tried face recognition with the opencv tutorial

It works, but the problem is that i have very poor video performance when a face appear on video stream. I'm trying with a rtsp stream and the video seems very slow and with a poor quality. The video stream works fine when no face appears.

The example I'm using is http://docs.opencv.org/doc/tutorials/objdetect/cascade_classifier/cascade_classifier.html#cascade-classifier

2014-06-05 11:07:57 -0600 received badge  Editor (source)
2014-06-05 11:06:37 -0600 asked a question How to fix delay (latency) of my OPENCV stream

I have an IP camera which streams a rtsp The follow code allows me to show the rtsp stream

int main(int, char**) {
     cv::VideoCapture vcap;
     cv::Mat image;

     const std::string videoStreamAddress = "rtsp://my_rtspstream";

     //open the video stream and make sure it's opened
     if(!vcap.open(videoStreamAddress)) {
        std::cout << "Error opening video stream or file" << std::endl;
        return -1;
    }

    for(;;) {
        if(!vcap.read(image)) {
            std::cout << "No frame" << std::endl;
            cv::waitKey();
        }
        cv::imshow("Output Window", image);
        if(cv::waitKey(1) >= 0) break;
    }
}

The problem is that i have about 450-600 ms of delay difference between what is the camera seeing and what i have o the window of opencv, and i need less becouse is camera with pt control.

Do you have any aproach? I should use another thing instead opencv??

Thanks