Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

image/video processing options

Tags:

python

arduino

I have a small 12 volt board camera that is placed inside a bee hive. It is lit with infrared LEDs (bees can't see infrared). It sends a simple NTSC signal along a wire to a little TV monitor I have. This allows me to see the inside of the hive, without disturbing the bees.

The queen has a dot on her back such that it is very obvious when she's in the frame.

I would like to have something processing the signal such that it registers when the queen is in the frame. This doesn't have to be a very accurate count. Instead of processing the video, it would be just as fine to take an image every 10 seconds and see if there is a certain amount of brightness (indicating that the queen is in frame).

This is useful since it helps bee keepers know if the queen is alive (if she didn't appear for a number of days it could mean something is wrong).

I would love to hear suggestions for inexpensive ways of processing this video, especially with low power consumption. Raspberry pi? Arduino?

Camera example: here

Sample video (no queen in frame): here

like image 564
Matt H Avatar asked Nov 26 '12 04:11

Matt H


People also ask

What are four different types of image processing methods?

Common image processing include image enhancement, restoration, encoding, and compression.

What is video processing in image processing?

Video processing consists in signal processing employing statistical analysis and video filters to extract information or perform video manipulation. Basic video processing techniques include trimming, image resizing, brightness and contrast adjustment, fade in and fade out, amongst others.

What are the types of image processing?

There are two types of methods used for image processing namely, analogue and digital image processing.

What are the 3 levels of digital image processing?

There generally three types of processing that are applied to an image. These are: low-level, intermediate-level and high-level processing which are described below.


1 Answers

First off, great project. I wish I was working on something this fun.

The obvious solution here is OpenCV, which will run on both Raspberry Pi (Linux) and the Android platform but not on an Arduino as far as I know. (Of the two, I'd go with Raspberry Pi to start with, since it will be less particular in how you do the programming.)

As you describe it, you may be able to get away with less robust image processing tools, but these problems are rarely as easy as they seem at first. For example, it seems to me that the brightest spot in the video is (what I guess to be) the illuminating diode reflecting off the glass. But if it's not this it will be something else, so don't start the project with your hands tied behind your back. And if this can't done with OpenCV, it probably can't be done at all.

Raspberry Pi computers are about $50, OpenCV is free, so I doubt you'll get much cheaper than this.

In case you haven't done something like this before, I'd recommend not programming OpenCV directly in C++ for something that's exploratory like this, and not very demanding either. Instead, use, for example, the Python bindings so you can explore the images interactively.

You also asked about Arduino, and I don't think this is such a good choice for this type of project. First, you'd need extra hardware, like a video shield (e.g., http://nootropicdesign.com/ve/), adding to the expense. Second, there aren't good image processing libraries for the Arduino, so you'd be doing everything from scratch. Third, generally speaking, debugging a microcontroller program is more difficult.

like image 57
tom10 Avatar answered Sep 22 '22 07:09

tom10