Category : computer-vision

I searched in my new C ++, but unfortunately there is information on how I can integrate the following function using the external "C" declspec (dllexport) and call this function in C ++. I did.   extern "C" declspec(dllexport) std::vector<std::vector<double>> cdecl PrepareFaceBank(std::string Path) But unfortunately I received the following error, I have no idea, thank ..

Read more

I’m working on an object detection project using yolo 5 with the libtorch framework on C++ in visual staduio 2019 . I recognize objects that are person , their bounding boxes. I can give this crop image to a dll function (for face recognition) that returns that person’s name, but unfortunately only one image from ..

Read more

globle value below int clioLimit = 1; int size_1 = 6; int size_2 = 50; Mat temp; callback function auto cla = cv::createCLAHE(clioLimit, Size(size_1, size_2)); cla->apply(temp, temp); imshow("CLA-TRACKER", temp); waitKey(0); return; main namedWindow("CLA-TRACKER", WINDOW_AUTOSIZE ) ; createTrackbar("clioLimit", "CLA-TRACKER", &clioLimit, 7000, on_Trackbar); createTrackbar("size_1", "CLA-TRACKER", &size_1, 100, on_Trackbar); createTrackbar("size_2", "CLA-TRACKER", &size_2, 100, on_Trackbar); on_Trackbar(clioLimit, 0); on_Trackbar(size_1, 0); ..

Read more

I’m using opencv, c++ and Windows. I’m trying to find multiple blob centroids, but can’t get this working. Can anyone spot what’s my problem here? I dont see it. "imshow("Contours", drawing);" <- this causes some exception. Probably some image format conversion? cv::Mat frame, cannyFrame, contoursFrame, thr, src, canny_output, blurred, gray3; while (1) { if (pylon_camera->IsGrabbing()) ..

Read more

I have images like this: from skimage.segmentation import inverse_gaussian_gradient from skimage.filters import meijering from skimage import color import numpy as np import skimage.io import cv2 # Load image, convert RGB to GRAY and then to float64 original = color.rgb2gray(skimage.io.imread("stack.jpg")) image = skimage.img_as_float64(original) And I want to get result like this (each worm has one unique ..

Read more