2020-12-29 01:56:34 -0600 | received badge | ● Popular Question (source) |
2019-01-05 01:01:54 -0600 | received badge | ● Notable Question (source) |
2018-04-30 02:42:35 -0600 | received badge | ● Popular Question (source) |
2017-08-22 09:11:01 -0600 | received badge | ● Student (source) |
2016-11-10 23:50:17 -0600 | commented answer | crack detect red line opencv @pklab Thanks It worked fine after editing and debugging. I will oblige you if give me some small hint of this code mean Algorithms used in it or something like this. |
2016-10-17 05:01:25 -0600 | commented answer | crack detect red line opencv hello sir, i investigate the code and yeah!! it shows me one error now as drawMarker was not declare in this scope, i added highgui.hpp and imgproc.hpp as weel but it shows the error. When i remove 2.0 from this then i got no error except this drawmarker Point2f pt0 = (rect_points[0] + rect_points[3]) / 2.0; Point2f pt1 = (rect_points[1] + rect_points[2]) / 2.0; Point2f pt2 = (rect_points[0] + rect_points[1]) / 2.0; Point2f pt3 = (rect_points[2] + rect_points[3]) / 2.0; |
2016-09-20 00:36:26 -0600 | commented answer | crack detect red line opencv @pklab i update the opencv but still same things.this time not error but some NOTE like /usr/include/c++/valarray :note template class........something like this . am i compiling it right as g++ -ggbd 'pkg-config' --cflags --libs opencv' <filename> -o object and point2f pt3 =(rect_points[2] +rect_points[3] /2.0); is common in every line |
2016-09-18 23:03:17 -0600 | commented answer | crack detect red line opencv Ok sir thanks for your kind help......i will investigate it if error occurs i will ask you also updating my opencv |
2016-09-16 05:38:40 -0600 | commented answer | crack detect red line opencv @pklab it shows error in Morph. morph was not declared in this scope |
2016-09-16 01:14:41 -0600 | commented question | crack detect red line opencv @berak dear berak i don't know why my compiler not reading vector<> i have example code of opencv also have vector. i also shows the errors. i have done with it but nothing happens include<vector> |
2016-09-16 00:17:55 -0600 | received badge | ● Supporter (source) |
2016-09-15 23:04:04 -0600 | commented answer | crack detect red line opencv @pklab Thanks very much i am really oblige you. Ok i will implement it if any problem occurs i will ask you. |
2016-09-14 23:08:01 -0600 | commented answer | crack detect red line opencv @v4ven27 thanks sir But i want to know how to use lines.size() simply. i don't know how to use it because i m new in opencv |
2016-09-14 04:32:46 -0600 | commented question | crack detect red line opencv @pklab i edit the original image i don't bother about corner crack |
2016-09-14 04:32:02 -0600 | commented question | crack detect red line opencv @berak line.size().i didn't find any function in opencv and how to use it |
2016-09-14 00:57:33 -0600 | asked a question | crack detect red line opencv i want to make a decision making process of detection of biscuit crack so i used the hough transform for detection of crack. here is the code. It means counting the red pixels,if present then say as crack and if not present say no crack simply. One more thing i want to measure the size of my biscuit. waitKey(); @pklab there are the error sir i added headers imgproc.h,highgui.h,opencv2.h Ok i again run the code by including namespace cv and std but these are the errors. please give me some hints so that i can improve. i am learner and student not professional sir. (more) |
2016-09-06 04:18:54 -0600 | commented question | crack detection SO tell me your email id so i can mail it to you sir. i don't understand what the houghlines() function returns. So if i stores the values and make decision |
2016-08-23 01:20:48 -0600 | asked a question | crack detection Hello there i used the thresolding techniques(thresold TOZERO) of my biscuit image and used canny edge detection. After then i used hough transform of it. it detect the biscuit crack. Now i want to make it decision based mean if crack in biscuit is detected it tells Detected in my terminal. So i want to know what is the function returns and how to do this. Please reply. Here is the example image in this image u can see red line which detects the crack. if somehow i adjust to findout not by seeing image that image is crack ..like counting red pixels .if presents mean image is crack. |
2016-08-23 01:18:35 -0600 | commented question | Hough Transform Hello there i used the thresolding techniques(thresold TOZERO) of my biscuit image and used canny edge detection. After then i used hough transform of it. it detect the biscuit crack. Now i want to make it decision based mean if crack in biscuit is detected it tells Detected in my terminal. So i want to know what is the function returns and how to do this. Please reply. |
2016-08-17 01:13:52 -0600 | commented answer | Opencv error Yes command run correct but again no change in o/p while compiling the code. In opencv docs there is command but when i run it Here is the error. CMake Error: The source directory "/home/sachin/Desktop/pics" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. THIS IS THE COMMAND cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/home/sachin/opencv /home/sachin/opencv is the folder path and /usr/local/include/opencv2 is my library path |
2016-08-17 00:54:47 -0600 | commented answer | Opencv error cmake -DBUILD_JPEG -DBUILD_TIFF -DBUILD_PNG Parse error in command line argument: -DBUILD_JPEG Should be: VAR:type=value CMake Error: No cmake script provided. CMake Error: Problem processing arguments. Aborting. |
2016-08-17 00:50:40 -0600 | commented question | Opencv error Sir how can i do it i see all steps of installation from http://docs.opencv.org/2.4/doc/tutori... |
2016-08-16 07:08:45 -0600 | commented question | Hough Transform Hello Berak i have one biscuit image captured from camera using opencv now i am detecting lines in the pic so i used haughline transform but line is not detected mean output is coming but the red lines where crack is, not coming.i can send you a pic,,and code is from http://opencvexamples.blogspot.com/20... |
2016-08-16 06:13:10 -0600 | commented question | Opencv error sir i actually update my system after that it is not running. |
2016-08-16 02:16:23 -0600 | commented answer | Close camera after two seconds sir this code iis ok with ubuntu but while i run it on raspberry pi it gives error like videoc_dqbuf: no such devices |
2016-08-16 01:24:26 -0600 | asked a question | Opencv error Hello There i have opencv in my ubuntu platform .Today i started it and comile the programme but it tells many error while compiling it. Here it is |
2016-08-09 23:34:30 -0600 | commented question | Back ground substraction image Can this do the segment of image like background substraction. Mean i have to fix the Background first and take the picture and apply absdiff(bg,fg);because i want to totally black my background because neglating the effect of light while taking the picture with camera |
2016-08-09 23:31:18 -0600 | received badge | ● Enthusiast |
2016-08-05 02:07:37 -0600 | commented question | Back ground substraction image Sir i have actually cracked round biscuit i want to detect the crack it it. so first do it background substaction of image for segment then thresholding of this image. now use haugh line transform. but i am segment the image here with watershad algo. but results is not coming. Actually i am Newbie in image Processing And i ma from electric engg. this is my Project work. i am learning it. |
2016-08-05 00:40:36 -0600 | commented question | Back ground substraction image The question is how can i give input while run code as ./bs_a -img p.jpg it shows error. i only want to background sub. of only 1 image. |
2016-08-04 06:14:10 -0600 | asked a question | Back ground substraction image Hello there i am begineer in image processing as well as coding. i am doing background substaction of image for segmentation.so i get code from opencv decs. here it is /** * @file bg_sub.cpp * @brief Background subtraction tutorial sample code * @author Domenico D. Bloisi */ //opencv #include "opencv2/imgcodecs.hpp" #include "opencv2/imgproc.hpp" #include "opencv2/videoio.hpp" #include <opencv2 highgui.hpp=""> #include <opencv2 video.hpp=""> //C #include <stdio.h> //C++ #include <iostream> #include <sstream> } /* * @function main */ int main(int argc, char argv[]) { //print help information help(); } /* * @function processVideo */ void processVideo(char videoFilename) { //create the capture object VideoCapture capture(videoFilename); if(!capture.isOpened()){ //error in opening the video input cerr << "Unable to open video file: " << videoFilename << endl; exit(EXIT_FAILURE); } //read input data. ESC or 'q' for quitting while( (char)keyboard != 'q' && (char)keyboard != 27 ){ //read the current frame if(!capture.read(frame)) { cerr << "Unable to read next frame." << endl; cerr << "Exiting..." << endl; exit(EXIT_FAILURE); } //update the background model pMOG2->apply(frame, fgMaskMOG2); //get the frame number and write it on the current frame stringstream ss; rectangle(frame, cv::Point(10, 2), cv::Point(100,20), cv::Scalar(255,255,255), -1); ss << capture.get(CAP_PROP_POS_FRAMES); string frameNumberString = ss.str(); putText(frame, frameNumberString.c_str(), cv::Point(15, 15), FONT_HERSHEY_SIMPLEX, 0.5 , cv::Scalar(0,0,0)); //show the current frame and the fg masks imshow("Frame", frame); imshow("FG Mask MOG 2", fgMaskMOG2); //get the input from the keyboard keyboard = waitKey( 30 ); } //delete capture object capture.release(); } /* * @function processImages */ processImages(char fistFrameFilename) { //read the first file of the sequence frame = imread(fistFrameFilename); if(frame.empty()){ //error in opening the first image cerr << "Unable to open first image frame: " << fistFrameFilename << endl; exit(EXIT_FAILURE); } //current image filename string fn(fistFrameFilename); //read input data. ESC or 'q' for quitting while( (char)keyboard != 'q' && (char)keyboard != 27 ){ //update the background model pMOG2- ... (more) |
2016-08-03 06:37:42 -0600 | commented question | Capturing image and segment i does mean that camera is opening and taking picture and segment it and save segment image but camera is running .My camera light is on. |
2016-08-03 04:38:46 -0600 | asked a question | Capturing image and segment Hello There i want to segment image which is capture from cam so here is the code i wrote with help of @berak. here camera capture the image and segment the image but camera can't stop. please help me out. |
2016-08-03 00:51:59 -0600 | received badge | ● Editor (source) |
2016-08-03 00:47:06 -0600 | marked best answer | Close camera after two seconds Hello there i am newbie in opencv. i am doing with camera capturing nd got the code from some google source. i understood the code. cap.release(); } // the camera will be deinitialized automatically in VideoCapture destructor return 0; } here camera capture the image while I press ctrl+c. but i want to do it as automatically close the camera in 2 second. i don't how to close camera . please help me anticipation of your help. |