computer-vision

Measuring the average thickness of traces in an image

Here's the problem: I have a number of binary images composed by traces of different thickness. Below there are two images to illustrate the problem: First Image - size: 711 x 643 px Second Image - size: 930 x 951 px What I need is to measure the average thickness (in pixels) of the traces in the images. In fact, the average thick...

Getting started in ComputerVision/Road Tracking

I want to develop a system that can track and follow a road. Initially, I'd like to handle well-defined roads only and maybe later incorporate tracking for roads that aren't so well defined. The problem I'm facing is that I don't know where to get started. I am new to image processing and I was hoping I could get some pointers on where ...

Track object of certain shape and color from Webcam for beginner in CV

Hi all, I want to track objects of simple shapes and rather homogeneous colors. I would like to do it more or less by myself, with minimum copy-paste. Does anyone know any good book/course/set of tutorials to computer vision? Preferred platform is .net, but if materials are general enough it is fine. Thanks, Andrey ...

How hard is dynamic rendering on video?

I'd like to make an app that takes a video input (e.g. using your webcam), and dynamically render something fun on top of it based on its content. For example, I'll detect user's face in the video and change the color of his/her lips. Probably I can ask user to specify the contour of his/her lip using some closed curve with a few control...

Image processing

I want to get the boxes count in a warehouse by using image processing edge detection techniques. So I used Sobel algorithm to detect edges. Now I need to measure the edge length. Does anyone know how to get length of edges and any suitable algorithm to get final count ? ...

QR Code generation in ASP.NET MVC

Is there a .NET API that generates QR Codes such as this one? I'd like to display these on pages that I expect my users to print out. ...

Capture MacBook Pro iSight video with C++

Hi guys, i'd like to grab a frame from my MacBook Pro iSight in C++ and do some elaborations on it. I already know how to do that in ObjC with QTKit, but is there any way to do the same thing in C++? NOTE: I tried to install OpenCV with macports, but the framework doesn't seem to support iSight cameras. Thanks ...

How to implement Optical Flow tracker?

Hi, I'm using the OpenCV wrapper - Emgu CV, and I'm trying to implement a motion tracker using Optical Flow, but I can't figure out a way to combine the horizontal and vertical information retrieved from the OF algorithm: flowx = new Image<Gray, float>(size); flowy = new Image<Gray, float>(size); OpticalFlow.LK(currImg, prevImg, new Si...

Wall detection algorithm

What would be the sanest/simplest approach to do wall detection on static images? It doesn't have to be in real-time. Right now I'm using corner detection, but is there a simpler way to detect only the walls and discard all the smaller irrelevant corners detected in foreground objects? edit Target images are standard pictures of indoo...

How to split up images in OpenCV based on Hough lines?

I'm new to OpenCV and image processing in general. I have photos taken with a camera of food labels for a project I'm working on. I was able to use the cvHoughLines2 function to draw red lines over the lines/bars on the photo. What I want to do now is to chop up the image into several smaller images based on the Hough lines - so that e...

Decision tree induction open-source code

I am preparing a task for computer vision class, which involves training a simple classifier after extracting features from images. Since machine learning is not the main topic here, I don't want students to implement a learning algirithm from scratch. So, I have to recommend them some reference implementations. I believe the decision tr...

Implementing a Harris corner detector

I am implementing a Harris corner detector for educational purposes but I'm stuck at the harris response part. Basically, what I am doing, is: Compute image intensity gradients in x- and y-direction Blur output of (1) Compute Harris response over output of (2) Suppress non-maximas in output of (3) in a 3x3-neighborhood and threshold ou...

Best approach for specific Object/Image Recognition task?

I'm searching for an certain object in my photograph: Object: Outline of a rectangle with an X in the middle. It looks like a rectangular checkbox. That's all. So, no fill, just lines. The rectangle will have the same ratios of length to width but it could be any size or any rotation in the photograph. I've looked a whole bunch ...

fastest/performance approach to send large managed Bitmap object to unmanaged/native function

Hi to all, I am excited to be a part of the forum :) my first post ! I am posting this so that many can benefit from it. My question: what is the fastest/performance approach to send large managed Bitmap object to unmanaged/native function ? I will be using C++/CLI, (VS 2008, .NET 3.5) for that purpose One Approach: pin_ptr use pin_...

What are the standard techniques for removing a segmentation (such as a human or bird) from a video?

Let's say you are taking a video (with the camera in a steady position) and a bird flies through the view of the camera. It should be possible to do image segmentation and automatically remove this bird from the video. What are these styles of algorithms called and how are they normally accomplished? ...

trouble with output directory for OpenCV VideoWriters.

Hi, I'm a math undergrad and have little programming experience. I'm interested in computer vision however. Tried to follow the Learning OpenCV book but its slightly outdated. How do i save the resulting video file in my linux home directory? for eg "/home/user/..", thanks in advance, this is my first post and i know i won't be disappoin...

How to implement thumb and fore finger interface

Hi all, I am developing a simple multi touch table using only a projector and a web cam. I found out that i could use this Thumb and fore finger interface technique. but i don't have any clue of how to implement it. i think it can be implemented with OpenCV or OpenFrameworks and use with CCV. can anybody help me ? Thanks, ...

cartoonizing real images

does anybody know we can translate from real image captured using cameras be converted to the cartoon space ? Please note that my goal is not to create animations or the likes, but just to translate to "cartoon colors" if possible. will simple requantization to a space where there is less quantization levels work Or some other specifi...

Visual Similarity Algorithms (for CBIR)

I am trying to build a collection of Visual similarity between images, being size, angle, color, rotation invariant for Content Based Image Retrieval.Quite agnostic about the platform but .NET, Java or Python are preferred. But if others are available, pls. suggest away. I am quite familiar with OpenCV Match template and Match shapes. I...

Eye tracking: finding the pupil (x,y)

Hello, I am looking for some suggestions on how to approach the following computer vision problem. Below are 4 samples of an eye tracking dataset that I am working with. I would like to write code takes one such image and calculates the (x,y) position of the center of the pupil. I am currently using MATLAB, but I am open to using other ...