O
I’d separate the preprocessing test from the recognizer test: use the same labeled text crops for PaddleOCR and Microsoft TrOCR, and compare raw input against one targeted correction at a time. Score exact matches for the whole lot code or date, and count confidently wrong reads separately. The step I’d prioritize is fine-tuning TrOCR on labeled crops from your actual packaging photos. Include clean examples, but deliberately collect hard ones: narrow glare crossing characters, strong…
O
Is there a point in the unloading process where the yarn bundles separate and pass through the same area one at a time? On a warehouse project I used one camera and four gate regions to count pallets crossing in each direction. If the individual bundles become visible later, I’d try counting at that point before adding more geometry to the resting-bay views. If they stay hidden throughout, and both a one-bundle and a two-bundle layout fit the visible evidence, I’d report that ambiguity rather…
O
We are building an original, friendly-looking walking robot with expressive movement and AI interaction. We’re looking for a hands-on intern who is excited about robotics and wants to work on a real-world prototype from design and assembly through programming and testing. Must-haves: Currently pursuing an engineering degree or recently graduated in Robotics, Mechatronics, Mechanical Engineering, Electronics/Electrical Engineering, Computer Science or related field, Basic knowledge of mechanical…
O
If “Discussions” is not enabled on the github, use an “issue” instead. There might be previous issues that discuss licensing. I don’t know any specific ones.
O
Thanks for pointing me to GitHub. After signing in, I tried to start a discussion in the OpenCV repository’s GitHub Q&A. GitHub returned “You can’t perform that action at this time.” Do you know of an existing GitHub discussion about the OpenCV 4.10.0 documentation-build WASM, or a public contact for a release or documentation maintainer who could help locate the build records?
O
you’ll not have any luck getting an answer by the maintainers. they don’t frequent this forum. You should ask for these things on the github instead.
O
Could the OpenCV release or documentation maintainers point us to the original build job, exact toolchain, final link record, and third-party notices for the OpenCV.js 4.10.0 WASM shipped in the official documentation archive? We are reviewing redistribution of the published artifact. Archive member 4.10.0/opencv.js in opencv-4.10.0-docs.zip (GitHub asset 171579192). Decoded WASM payload, 7,616,022 bytes. SHA-256 fe8e126d8c3e517bcb0e0c6401dbd6a714f4cd8d78705e6a3edbc7c813a0aae3. Embedded build…
O
I have an Amazon Echo Studio in the living room and a small OpenCV project on a mini PC at home: it watches a camera feed and flags motion in the garden, mostly for my own curiosity. Right now I check results by opening a window on the PC, which is clunky when I’m in another room. I’m considering buying the Echo Studio mainly to ask it about status and maybe have it announce when something is detected, but I’m unsure how well that works with a local OpenCV script. The camera and PC stay on a…
O
One addition: treat the startup mapping as a checked invariant, not a one-time lookup. After resolving the by-path/udev names (or ArUco IDs), open every camera, read a frame, and verify frame arrival; if any expected name is missing, abort rather than falling back to numeric indices, because a silent fallback is what breaks alignment. Save the known mapping to a config file, but revalidate it on boot. Also note that if identical cameras swap physical ports, by-path follows the port, not the…
O
Thanks for the replies, I finally got to the bottom of this. It was a contrast issue, specifically the derivative of the contrast changed when when downsampled. This in turn meant that param1that sets the minimum threshold, needed to be lowered to 200 for the algorithm to work on the full resolution image. Currently my fix is to scale param1depending on the image RMS contrast (basically the standard deviation of the image). So far so good.
O
Not legal advice, but the key is the FFmpeg build, not just the DLL. Check the DLL/OpenCV build metadata for the FFmpeg version and configure flags. If it is an LGPL build (no --enable-gpl/–enable-nonfree), ship the LGPL text, FFmpeg copyright notices, the exact FFmpeg source/configure line and any OpenCV wrapper/plugin source, and keep the DLL dynamically replaceable. If it is GPL, your whole distributed app may need GPL compliance. I’m not aware of a single official corresponding-source ZIP…
O
One addition: if crops are a likely edit, a single global pHash can miss them. Consider tiling the image and hashing each tile, or using a crop-resistant hash variant, then searching tile hashes by Hamming distance. That grows the index, so keep it as a second prefilter after a global pHash rather than the first stage.
O
There isn’t a single standard ratio; choose based on what you’ll detect and keep training and inference consistent. 4:3 often makes sense because many camera sensors are native 4:3 and it gives more vertical field of view, which helps with people and upright objects at close range. 16:9 can be better for wide scenes or horizontally spread objects. Don’t stretch images to a fixed ratio; resize with letterboxing or train at the camera’s native aspect. Also check whether your objects remain large…
O
A concrete complement to the coverage point: after RANSAC, warp one image with the homography and compute normalized cross-correlation over the overlapping region. A true transformed copy usually retains high structural similarity, while logo or text coincidences often do not. Also bin inliers spatially, for example on a 4x4 grid over the smaller image’s overlap, and require matches in several bins instead of only a high total. For compression, a slight Gaussian blur before SIFT may suppress…
O
One small extension to the resize/crop options: if neither stretching nor cropping suits you, paste both images into same-size canvases with NumPy slicing and blend those. Also worth knowing that alpha and beta don’t have to sum to 1 — gamma shifts the result — and with uint8 images the output saturates at 0/255, so values outside the 0–1 range just clip rather than wrap.
O
no organizer or mentor actually pays visible attention to “GSoC” discussions on the forum. if they did, they would have bothered to make an appropriate category, instead of those categories that are there and get no traffic anyway. the closest useful concept this forum has is the “gsoc” tag, because creating the tag did not require any cooperation by admins. but all the threads under that tag are just people asking how it works. I don’t have any idea how GSoC is actually supposed to work. there…
O
For OpenCV GSoC, start with the official OpenCV GSoC page/project list and the forum’s GSoC category; mentors usually prefer public GitHub issue comments or forum threads over private email. Open a focused issue or comment on a relevant project idea with a short background and a specific question, and ask on the forum if the project page does not name a mentor contact. Avoid direct messaging mentors unless they invite it.
O
Those “normal block” lines look like a Visual Studio CRT debug-heap leak dump at shutdown rather than cvtColor itself failing. If the dump only appears when the program exits, first confirm whether cvtColor throws/crashes or the blocks are just still live at the dump point. Also make sure the Debug/Release CRT and OpenCV libraries match; mixing them can produce misleading heap diagnostics. A minimal repro plus the exact call that prints the dump will separate a leak report from actual…
O
One concrete factor: with maxRadius=-1, OpenCV expands the radius search to the largest image dimension. At full size that’s thousands of pixels, so the accumulator has many more radius hypotheses and a large circle’s support can be diluted; at 50% both the radius range and the dp=1.5 accumulator cells shrink. Try setting maxRadius to roughly 1.5× the expected sphere radius, and test a slightly lower param2 (0.8 perfectness is strict for large, slightly imperfect edges). Also make the…
O
One thing worth adding is how to judge whether it works: hand-label a few customers across cameras and measure global ID switches and IDF1, otherwise threshold tuning is guesswork. Also, ReID embeddings degrade on small, low-resolution crops — pad the box slightly so some background is included, and prefer full-body crops over tight ones. For very short tracks (one or two frames), the averaged embedding is unreliable, so wait for more crops before matching against the gallery.
O
I’d treat it as a per-engine calibration rather than a single preprocessing recipe. Build a small labelled set of your actual camera crops (blur, low light, motion) and sweep scale 1x–3x with cubic/Lanczos, plus optional mild denoise before and unsharp after. Score with character error rate, not visual sharpness. For Tesseract, the 30–40 px target is sensible; for Paddle/EasyOCR I’d include native-size and only 1.5x as controls, since their internal resizing can make heavy upscaling redundant.…
O
I’d keep the sharpest frame among those that contributed to the winning string, not simply the last match. Save the full frame as evidence plus a tight plate crop; the full frame gives context and timestamp, the crop gives legibility. If storage allows, keep the runner-up too. A useful tie-break: highest sharpness score, then largest plate width, then most centered. The last matched frame is only acceptable if it also passes the sharpness check; otherwise it can be the one with motion blur.
O
A practical alternative to diploma OCR is to collect a reference photo or selfie from each graduate, then face-match that against the event photos and map the resulting clusters to names. It avoids relying on diploma placement and EXIF time windows, but you’ll still need consent for storing reference faces and manual review for caps, gowns and sunglasses.
O
Hough is notoriously difficult to parameterize. Radius is a part of that. When you scale the image, the radius of objects in the image will change. They might fall out of the range of radiuses you asked to scan for. Another part is the resolution of the accumulator array. When you are looking for large objects, they may leave evidence in the accumulator array that is less focused than the evidence for smaller objects. That causes Hough to not notice the larger objects or have difficulty…
O
I have the following image I want to detect the white sphere so I’ve tried Hough Circles but have run into an odd behaviour. When I use the full size image I get the following image, Which obviously is not what I’m after but if I resize the image by 50% (or less) in each direction I get the following, Which is exactly what I’m after. Could somebody explain why this is happening? The code, import cv2 import numpy as np import os os.chdir("path/to/images") resize_factor = 0.5 img =…
O
Hi! I’m an independent recruiter looking for machine learning practitioners for a freelance project that’s fully remote, short to mid-term, at around $100/hour depending on profile. What I’m looking for: solid machine learning experience and a research mindset (rigorous, comfortable framing hard problems), typically at MSc or PhD level. A computer vision or image processing background is welcome, but it is not required. Interested? Email me at louis@trainingdatascoutco.com (or send me a private…
O
Before I take pictures and do yolo AI training, what camera aspect ratio would be best to use to detect objects within four meters, 16:9 or 4:3, what is the typical standard that is used?
O
id say your 25px to 30-40px finding is the main thing, upscaling mostly just matches tesseract to the size it expects, it cant put back edges the blur removed. for paddle or easyocr id skip the heavy upscale, they resize internally anyway, and super resolution usually isnt worth it for plain text, it tends to invent sharper looking letters that arent really there.
O
I keep going back and forth on this and would like to hear what others have measured. Say I have a small crop of text from a camera, for example about 25 pixels tall. Before sending it to an OCR engine, is it better to upscale it first (cv2.resize with INTER_CUBIC or INTER_LANCZOS4) or to leave it alone and let the OCR engine deal with it? What I have seen so far is that Tesseract does better when the characters are roughly 30 to 40 pixels tall, so a 2x or 3x upscale helps there. Deep learning…
O
Because addWeighted works pixel by pixel. For every pixel it does dst = src1alpha + src2beta + gamma, so it needs a matching pixel in the other image at the same position. If the sizes dont match there is nothing to pair up, and OpenCV stops with an assertion error about the sizes (the channel count and data type have to match too, so a grayscale image and a colour one will also fail). Easy fix is to resize one image to the shape of the other before blending, like img2 = cv2.resize(img2,…