Toolbar Definition
Hello all, I am using Opencv V5 C++ and Qt6 cv::imshow(“Display Window”, image); How do I setup/modify toolbar? or opencv qt toolbar Definition? in source code. Thank you.
Posts from every feed QUEST has found across the web — blogs, news, podcasts, channels and more.
Hello all, I am using Opencv V5 C++ and Qt6 cv::imshow(“Display Window”, image); How do I setup/modify toolbar? or opencv qt toolbar Definition? in source code. Thank you.
Posting this because it cost me a release and the failure mode points nowhere near the cause. cv2.CascadeClassifier given a path that does not exist does NOT raise. You get back an empty classifier, everything looks fine, and the error only appears later, inside detectMultiScale: (-215:Assertion failed) !empty() in function 'detectMultiScale' Worse, it is invisible in development. It worked perfectly from a checkout and broke every affected render in the installed build, because the frozen app…
Hello everyone, I am working on a retail/shop surveillance project where I need to track customers across multiple CCTV cameras. Currently, each camera has its own live video stream, and I am using YOLOv8 for person detection and tracking with bytetrack. Within an individual camera, the tracker assigns a local tracking ID to each detected person. The problem is that these IDs are camera-specific. When the same customer leaves Camera 1 and later appears in Camera 2, the tracker assigns a…
fixed point arithmetic is integer arithmetic. this is usually cheaper than floating point arithmetic. it also leaves the floating point units free to do other things that really need floating point arithmetic. as to what invokes this kernel, I can’t follow the execution backwards, nor can I trace where the operands come from or what they mean or what value ranges they have. You should try having an AI follow the code and figure it out.
source code: opencv/modules/imgproc/src/resize.cpp at 5.x · opencv/opencv · GitHub I might be misunderstanding something, but I would have thought that using floating-point arithmetic would yield higher precision than fixed-point arithmetic for processing u8 inputs. However, looking at the OpenCV source code, I see that fixed-point arithmetic is used instead. I would like to know the reason for this—thanks
where is this code from? what’s the context? and what is your understanding of fixed point arithmetic?
template<> struct VResizeLinear<uchar, int, short, FixedPtCast<int, uchar, INTER_RESIZE_COEF_BITS*2>, VResizeLinearVec_32s8u> { typedef uchar value_type; typedef int buf_type; typedef short alpha_type; void operator()(const buf_type** src, value_type* dst, const alpha_type* beta, int width ) const { alpha_type b0 = beta[0], b1 = beta[1]; const buf_type *S0 = src[0], *S1 = src[1]; VResizeLinearVec_32s8u vecOp; int x = vecOp(src, dst, beta, width); #if CV_ENABLE_UNROLLED for( ; x <= width - 4; x…
The part about one transformation improving one image while degrading another is exactly the hardest part of this problem. Packaging OCR in production environments has been a big focus of my work, and adaptive pipelines that score image characteristics before choosing operations are the direction that actually holds up across varied real-world conditions. For specular highlights specifically, inpainting after highlight detection tends to outperform simple suppression when text sits under the…
If it is available, Please share the test image.
I believe it is available. Please try using the YOLO model.
a blank matrix does not reproduce the heap error. how can I avoid it when loading a bitmap?
I am using OpenCV’s camera_calibration.cpp sample for camera calibration with a CIRCLES_GRID. I am trying to understand how the world (object) coordinate system and the extrinsic parameters are determined in this sample. In calcBoardCornerPositions(), the object points for CIRCLES_GRID are generated as: Point3f(j * squareSize, i * squareSize, 0) I have the following questions: Does this mean that the first circle is defined as the origin (0, 0, 0), and the X and Y axes are defined along the…
I am using OpenCV’s camera_calibration.cpp sample for camera calibration with a CIRCLES_GRID. I am trying to understand how the world (object) coordinate system and the extrinsic parameters are determined in this sample. In calcBoardCornerPositions(), the object points for CIRCLES_GRID are generated as: Point3f(j * squareSize, i * squareSize, 0) I have the following questions: Does this mean that the first circle is defined as the origin (0, 0, 0), and the X and Y axes are defined along the…
I’m trying to preprocess smartphone photographs of consumer-product packaging before sending them to PaddleOCR. The challenging images contain combinations of specular highlights, curved surfaces, perspective distortion, wrinkles, uneven illumination and blur. I’ve tried standard preprocessing methods such as CLAHE, adaptive thresholding, sharpening, denoising, morphology and perspective correction. However, some transformations improve one image while significantly degrading another. I’m…
Hello! Does anyone know where Google Summer of Code (GSoC) coordination and discussions for 2027 will take place? I just learned that it doesn’t take place on the main OpenCV community forum. Any help would be appreciated!
Hey James, this is exactly the kind of AI engineering I enjoy, taking computer vision from cameras and edge devices all the way to a production system on the factory floor. At Conduit, I built an end-to-end process monitoring and OEE estimation system, including deploying the perception pipeline on edge devices. I’ve worked hands-on with CV/ML inference, Raspberry Pi/Jetson, Docker, FastAPI, cameras, networking, and industrial applications. I’d love to connect and discuss the AI Systems…
I’m the Executive Chairman of LuxTronic (https://www.luxtronic.ai). We build computer-vision systems that run inside manufacturing plants — cameras, edge compute, inference, networking and industrial equipment. We’re hiring an AI Systems Engineer. I’m deliberately not putting Senior, Staff, or Principal in the title. The reason is AI coding agents. We care whether you can define the problem, use agents intelligently, evaluate what they produce, debug failures, and make the system work in…
It can be demonstrated. How can I get in touch with you? Do you have any methods for microscope calibration?
did you read my post? do you want to show your calibration pictures?
Sorry, I only uploaded the leave-one-out validation results, not the actual images. The leave-one-out results just further highlight these uncertainties. Also, is there a better way to calibrate the microscope?
the pictures are probably not usable. calib.io Calibration Best Practices Accurate calibration is of key importance for performance in most machine and computer vision tasks. The following lists our best practices which we have found through extensive experimentation and theoretical considerations. Choose the right size...

Some problems we’re encountering right now: even though the RMS is small in microscope calibration, the stability of each calibration is really poor. When calibrating two sets of data consecutively, the resulting focal length each time can have an error of 1-2mm. Has anyone done microscope calibration? Just wanted to ask .image loo_rms_px mean_err_px max_err_px tz_mm fold_fx fold_cx fold_cy 20190101021406-H0000002.JPG 0.50365 0.443839 1.15503 393.096 49960.1 1919.5 1079.5…
Hello CV community, I am designing a warehouse pallet counting system using two opposing RTSP cameras (Godown4 and IPC, 1080p, ~15–20° tilt) monitoring an unloading bay. The cargo consists of white shrink-wrapped yarn bundles and rectangular cartons. The Problem: Pallets feature alternating interlocking tiers (e.g., 2 bundles parallel, 1–2 bundles turned transverse/perpendicular, 2 bundles on top). The opposing cameras give front and back perspectives, but central/internal transverse bundles…
It’s interesting to see how this project has evolved over the years. The progress toward newer OpenCV bindings and the improved CMake support in recent C++Builder versions make the Delphi/Pascal ecosystem look much more promising for OpenCV development. It’s great to see these efforts continuing and becoming more accessible for developers who want to use OpenCV outside the usual C++ environment.
I built couple version of 4.xx successfully but there are some issues on building OpenCV 5 in same way. there is a link error on building gapi, I need to add “ws2_32.lib” dependency manually the built library format is “dll.a” but not “lib”, I need to change their suffix manually (and then works) env: cmake 4.0.0, MSVC 2019 configuration: disabled: BUILD_opencv_dnn, BUILD_PERF_TESTS, BUILD_TESTS enabled: OPENCV_EXTRA_MODULES_PATH=…
Hi everyone, I’m having an issue with the product label region. There are some small segmentation errors, as you can see in Image 1 and Image 2. In Image 2, I marked the error region in red. Now I need to find a way to automatically detect this error region. I think I should use which tool or method would be the best approach. Could anyone please help me with this?

Single Camera + Cross-Line Laser: Dense 3D Point Cloud from One Image Hello everyone, I would like to share an experimental 3D reconstruction project and ask for technical feedback from people working in computer vision and 3D reconstruction. The hardware setup is very simple: One monocular camera One cross-line laser projector After calibration, the system captures a single image containing the object and the projected laser cross. In conventional laser triangulation, 3D coordinates are…
Hi OpenCV Community, I am developing an industrial desktop application (.NET 8 C# with OpenCvSharp4) for analyzing cross-sectional microscope images of multi-filament synthetic fibers (e.g., Spandex/Elastane). The goal of the project is twofold: Filament Counting & Segmentation: Detect, count, and mark each filament centroid in a fiber pack. Quality & Distortion Metrics (Y-BOT / Laboratory Standard Alignment): Measure individual filament geometry and cross-sectional error across multiple…
I am trying to detect the 56 filaments seen in some threads in this microscope cross-sectional image using OpenCV. However, it sometimes falsely counts round, bright spots on the glass coverslip where the thread is laid. In the other image—which shows screenshots of the C# program I developed running on a dual-monitor setup—I am trying to measure the length, waist, and 25% region of a peanut-shaped filament, but I am encountering errors. While the Cellpose library doesn’t cause issues with…

in place of imread, does a new blank matrix also serve to reproduce the issue?