Ask Your Question

sai kethamakka's profile - activity

2017-08-22 13:42:26 -0600 received badge  Teacher (source)
2016-03-28 16:45:12 -0600 commented question looking for an image viewer with pixel preview

I am sure you could do that with Qt, zooming to pixel level shows you RGB values of those pixels

2016-03-27 20:08:05 -0600 commented question How does it work OpenCV Mser for color images?
2016-03-27 19:53:18 -0600 answered a question I want to count number of people crossing a line from either side.

You could try using background subtraction and motion segmentation. Here's an article that might be useful http://www.pyimagesearch.com/2015/05/...

2016-02-23 22:57:42 -0600 received badge  Editor (source)
2016-02-23 22:46:43 -0600 answered a question 8UC4 Mat to qimage
cv::Mat tmp(qImage.height(), qImage.width(), CV_8UC4, (void*) qImage.bits(), qImage.bytesPerLine());
cv::cvtColor(tmp, cvImage, CV_RGBA2RGB);

This code worked for me to convert QImage to 8UC4 cv::Mat, hope it helps. And reversing from Mat to QImage,

QImage tmp((unsigned char*) cvImage.data, cvImage.size().width, cvImage.size().height, cvImage.step, QImage::Format_RGB888);
qImage = tmp.rgbSwapped().convertToFormat(QImage::Format_ARGB32_Premultiplied);

Edited: Conversion from 8UC4 to QImage

2016-02-23 19:32:44 -0600 answered a question Parking slot detection

As the spots are well defined and assuming camera is fixed, you could use opencv background subtraction with sufficient amount of history to detect if there is an object in a particular parking spot. Look at this opencv tutorial for more information. http://docs.opencv.org/master/d1/dc5/...

2016-01-13 13:36:09 -0600 commented question looking for an image viewer with pixel preview

You can do it using opencv built with Qt. imshow() has a ton of features with Qt. You can zoom in to a pixel level.

2016-01-04 18:50:35 -0600 commented question tutorial for smile detection

Here are a couple of interesting links that can be useful http://stackoverflow.com/questions/26... http://flothesof.github.io/smile-reco...

2016-01-04 01:09:36 -0600 received badge  Necromancer (source)
2016-01-04 01:05:20 -0600 answered a question Additional Global Threshold methods

Hi, here are a few methods that are related

opencv: cv::adaptiveThreshold, cv::threshold with OTSU method

opensource implementations: https://github.com/zp-j/binarizewolfj..., https://github.com/rmtheis/bradley-ad...

other links to similar discussions: http://stackoverflow.com/questions/13..., http://stackoverflow.com/questions/13..., http://stackoverflow.com/questions/20...

Hope this helps