2019-01-04 05:58:25 -0600 | received badge | ● Notable Question (source) |
2018-04-13 10:17:12 -0600 | received badge | ● Popular Question (source) |
2016-10-22 12:55:45 -0600 | asked a question | I need to make a GUI in VS 2013 C++.. I have tested shape detection function.so now i need simple GUI make for it.any idea about it? the function was tested in main.so how can i run that when click a button? |
2016-09-03 11:25:35 -0600 | asked a question | need help to change this code to live web cam streaming Hello I followed this video(https://www.youtube.com/watch?v=Y3ac5rFMNZ0) and it was perfectly worked.. but when i change code for web cam capturing it only gets static image.. then i commented lines 54 - 58, lines 177 - 183,(as mentioning in video comment) but still not working... Anyone knows to solve this.I need to apply this to my conveyor design undergraduate project to count objects.. Below shows my edited code(only main cpp).... // main.cpp include<opencv2 core="" core.hpp="">include<opencv2 highgui="" highgui.hpp="">include<opencv2 imgproc="" imgproc.hpp="">include<iostream>include<conio.h> // it may be necessary to change or remove this line if not using Windowsinclude "Blob.h"define SHOW_STEPS // un-comment or comment this line to show steps or not// global variables /////////////////////////////////////////////////////////////////////////////// const cv::Scalar SCALAR_BLACK = cv::Scalar(0.0, 0.0, 0.0); const cv::Scalar SCALAR_WHITE = cv::Scalar(255.0, 255.0, 255.0); const cv::Scalar SCALAR_YELLOW = cv::Scalar(0.0, 255.0, 255.0); const cv::Scalar SCALAR_GREEN = cv::Scalar(0.0, 200.0, 0.0); const cv::Scalar SCALAR_RED = cv::Scalar(0.0, 0.0, 255.0); // function prototypes //////////////////////////////////////////////////////////////////////////// void matchCurrentFrameBlobsToExistingBlobs(std::vector<blob> &existingBlobs, std::vector<blob> ¤tFrameBlobs); void addBlobToExistingBlobs(Blob ¤tFrameBlob, std::vector<blob> &existingBlobs, int &intIndex); void addNewBlob(Blob ¤tFrameBlob, std::vector<blob> &existingBlobs); double distanceBetweenPoints(cv::Point point1, cv::Point point2); void drawAndShowContours(cv::Size imageSize, std::vector<std::vector<cv::point> > contours, std::string strImageName); void drawAndShowContours(cv::Size imageSize, std::vector<blob> blobs, std::string strImageName); bool checkIfBlobsCrossedTheLine(std::vector<blob> &blobs, int &intHorizontalLinePosition, int &carCount); void drawBlobInfoOnImage(std::vector<blob> &blobs, cv::Mat &imgFrame2Copy); void drawCarCountOnImage(int &carCount, cv::Mat &imgFrame2Copy); /////////////////////////////////////////////////////////////////////////////////////////////////// int main(void) { (more) |
2016-09-01 09:20:37 -0600 | commented question | I need to get a camera for my project 'development Image processing based sorting conveyor thanks for the answer....I'm going to buy logitech C270(http://www.logitech.com/en-us/video/webcams) or C525 camera... will it be worked for me? |
2016-08-30 14:46:18 -0600 | asked a question | I need to get a camera for my project 'development Image processing based sorting conveyor so do i want to select camera based on pixel or frame rate..? is it okay to use web cam? Also i need it withing below $60-70 as it undergraduate project... |
2016-08-12 13:18:45 -0600 | asked a question | can anyone gives me real time shape detection code C++,open cv 3.0 ? i want to detect traingular, square , round shapes using web cam |
2016-08-06 13:21:28 -0600 | commented answer | CvCapture* capture = cvCreateCameraCapture(0); is not working for me... c++ w10 ok..it is kind of dissapointment for me because that book has explained everything A-Z simply.. |
2016-08-06 13:01:01 -0600 | commented answer | CvCapture* capture = cvCreateCameraCapture(0); is not working for me... c++ w10 3.0 i use this book https://www.google.lk/search?q=gary+b... |
2016-08-06 12:56:03 -0600 | commented answer | CvCapture* capture = cvCreateCameraCapture(0); is not working for me... c++ w10 ok...I'm using some old refference i guess so..do u know good book/site to reffer opencv c++ for beginers? |
2016-08-06 12:22:14 -0600 | asked a question | can anyone modify this code to use cv: : videocapture ....when use videocapture it gives error in pointers |
2016-08-03 13:49:13 -0600 | asked a question | CvCapture* capture = cvCreateCameraCapture(0); is not working for me... c++ w10 but VideoCapture cap(0); is working for me..it opens the camera.. please anyone give solution.. above shows the code...but when cv: :videocapture used cvQueryFrame gets error as there are no pointer in use...how to solve this..? |