Link to home
Create AccountLog in
Avatar of rd707
rd707Flag for United Kingdom of Great Britain and Northern Ireland

asked on

Image help needed

I need to put a date and time stamp on a bitmap, compress it to jpeg and measure differences between pictures (effectively motion detection). I'm not fussed if I use bitmaps or jpegs for the motion detection although presumably bitmaps are easier.

At the moment, I'm capturing said bitmap from a webcam and saving it to disk. Presumably I need to load this into some bitmap structure...?

Any help with this would be appreciated as I really haven't done any imaging code at all.

I'm writing this in a C windows application and my MFC experience is er...non-existent.

Thanks,

rd707
Avatar of PaulCaswell
PaulCaswell
Flag of United Kingdom of Great Britain and Northern Ireland image

This will have everything you want. It's excellent, fast, has live camera interfaces and many computer vision algorithms.

http://www.intel.com/research/mrl/research/opencv/

Good luck.

Paul
ASKER CERTIFIED SOLUTION
Avatar of Jaime Olivares
Jaime Olivares
Flag of Peru image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of rd707

ASKER

That looks like that's the motion detection handled but I still need help getting the frame into a bitmap structure and doing the date and time stamp.

There doesn't seem to be a great deal of interest in my question here in the C area so I might widen it to some other topic areas...

Thanks,

rd707
Avatar of rd707

ASKER

Points increased.
Avatar of rd707

ASKER

As I'd mentioned in an earlier post, I still need help with the other two areas but I'll raise a separate question for each of these.

Thanks,

rd707
Avatar of rd707

ASKER

It was probably a wee bit cheeky of me to ask 3 questions in one anyway as I'm possibly less likely to get an answer to all 3 as it may require different levels of expertise.

I'm happy to raise a couple of questions for the missing bits. I got a quality answer for the other bit so I was happy to allocate all the points in this case.

Thanks,

rd707