feature-detection

How to apply ransac on segments and plotting them

帅比萌擦擦* 提交于 2019-12-13 04:24:36
问题 I am trying to implement https://rd.springer.com/chapter/10.1007/978-3-319-68505-2_6 , but facing issues to filter and plot the results.I am using https://docs.opencv.org/3.4.2/d1/de0/tutorial_py_feature_homography.html to filter the matches.When i am running cv2.findHomography(sr[i], de[i], cv2.RANSAC,5.0) ,python crashes everytime. from skimage.segmentation import slic from skimage.segmentation import mark_boundaries from skimage.util import img_as_float from skimage import io import

OpenCV findChessboardCorners very slow

試著忘記壹切 提交于 2019-12-13 02:38:54
问题 dose anybody know why is cv::findChessboardCorners horribly slow on all images with more than one mega-pixel ( > 1 000 000 pixles ). As a workaround I down-sample my images to fit this bound, but I would like to know if it can be solved more "elegantly". Thanx 回答1: Haven't dug into the reasons - I wrote a much faster square finder from scratch. The circleGrid provides a better result and is much faster, it uses the new BlobDetector interface. 来源: https://stackoverflow.com/questions/13499371

Feature detection of foreignObject in SVG

自闭症网瘾萝莉.ら 提交于 2019-12-12 17:41:11
问题 I am using the foreignObject element in SVG, however IE9 does not support this element. I am looking at a way the detect this feature. Modernizr does not detect this feature and it seems I can not use createSVGForeignObject (not available on SVGSVGElement) like they do for rectangle (createSVGRect). Thanks! 回答1: This should work if you want to use foreignObject because it integrates html content... <switch> <g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"

How to make WIX installer adapt to the version of Windows Installer available - like the Hyperlink control

六眼飞鱼酱① 提交于 2019-12-12 15:19:40
问题 Windows Installer 5 added support for the Hyperlink control which I would like to utilize if available. I cannot set a dependency towards Windows Installer 5 (doesn't support WinXP), but I would like my installer to be able to utilize the hyperlink control if Windows Installer 5 is available when running the installer. How do you manage to do this? Conditional imports of fragment files based on the versionMsi property? A Google code search or regular Google search didn't reveal many samples.

How can I detect multiple occurrence of of an object in an Image

怎甘沉沦 提交于 2019-12-12 02:32:37
问题 Hi new to OpenCV and I am using JavaCV plugin in Unity to detect floorplan. I want to detect the position of windows, doors and few other objects in the floorplan image. First I used template matching for detection, but later I figured out it wont work if object is placed in different orientation or size of object is mismatched. I am using the device camera to capture the image hence image may get a little skewed hence I abandoned this technique. Following is the reference image and the

Cannot create custom message

孤街浪徒 提交于 2019-12-11 17:39:59
问题 Hi i am currently trying to create a custom message for an exisitng package however i create Point_id.msg but when i included it as a header file in my code, i receive the following error /home/111/222/333/find_object_2d/src/objects_detected.cpp:7:41: fatal error: find_object_2d/PointObjects.h: No such file or directory compilation terminated. make[2]: *** [find_object_2d/CMakeFiles/objects_detected.dir/src/objects_detected.cpp.o] Error 1 make[1]: *** [find_object_2d/CMakeFiles/objects

Loading saved SURF keypoints

六月ゝ 毕业季﹏ 提交于 2019-12-11 13:25:55
问题 I am detecting SURF features in an image and then writing them to a yml file. I then want to load the features from the yml file again to try and detect an object but at the moment I'm having trouble loading the keypoints to draw them on an image. I'm writing the keypoints like so: cv::FileStorage fs("keypointsVW.yml", cv::FileStorage::WRITE); write(fs, "keypoints_1", keypoints_1); fs.release(); I am trying to read them like so: cv::FileStorage fs2("keypointsVW.yml", cv::FileStorage::READ);

SiftFeatureDetector .detect function broken?

假如想象 提交于 2019-12-11 09:19:15
问题 Ive been trying out SIFT/SURF from online resources and wanted to test it out myself. I first tried without the non-free libraries using this code: int _tmain(int argc, _TCHAR* argv[]) { Mat img = imread("c:\\car.jpg", 0); Ptr<FeatureDetector> feature_detector = FeatureDetector::create("SIFT"); vector<KeyPoint> keypoints; feature_detector->detect(img, keypoints); Mat output; drawKeypoints(img, keypoints, output, Scalar(255, 0, 0)); namedWindow("meh", CV_WINDOW_AUTOSIZE); imshow("meh", output)

Detect ES6 import compatibility

核能气质少年 提交于 2019-12-11 08:30:07
问题 I understand that you can detect features in javascript with something like this if(xmlhttprequest){ console.log("this browser is ajax compatible"); } I also understand that ES6 imports are nativly compatable with some browsers if certain dev mode settings are enabled. ie import {someExport} from './someModule.js'; My question is Is it possible to feature detect "Import" in the like you would an object? if yes, How can it be done? Is it possible to import whole JS file (so that an ES5

Plotting numbers of features in EBImage in R

一笑奈何 提交于 2019-12-11 06:08:35
问题 I have a question regarding the computeFeatures function of EBImage. I used the following code to compute the features. biocLite("EBImage") library (EBImage) Image <- readImage("test.jpg") Image3<-getFrame(Image,3) x = thresh(Image3, w=15, h=15, offset=0.05) x = opening(x, makeBrush(5, shape='disc')) x = bwlabel(x) fts = computeFeatures.shape(x) This gives me a list of the computed features. However, this is a list of 39 features, and I am only interested in a few of them. Thus I would like