[Orientation]RGB Color Picker with Camera

Hello,

We are creating a projetct for our university.
Our goal is that the camera takes one Photo and the arduino process it and gets the RGB code of the pixels aroud the middle and show its values on the Display. - In other words a color picker.

I would like to know if you guys can give us some orientation, the university lended us the Arduino UNO and now we have 1 month to do that. The camera and display will arrive in 15 days. I HOPE! We have an SD shield too

But well, some of my questions are:

How do I access the RGB matrix inside an image stored in the MicroSD shield? Is there any library for that?
Does the Arduino´s Processor have the power to do That?

Thanks in advance for any help.

First thing to make sure is that you don't make things too hard for yourself by trying to work on JPEG images.
So, you need to find out what other image formats your camera supports, then you need to work on code to parse your chosen image format.

AWOL:
First thing to make sure is that you don't make things too hard for yourself by trying to work on JPEG images.
So, you need to find out what other image formats your camera supports, then you need to work on code to parse your chosen image format.

Thanks for you Answer.

My University bought this camera: Micro Camera with LED Lamp 420TVL. I have no idea if they made a good deal as this camera is not made specially for Arduino. Will I have problems using it?

Sounds like an analogue camera, so yes, you will have problems.
Post a link to the camera.

Oh god... Here is the camera: Micro Camera con LED para vision nocturna 420TVL - DJI Store Madrid & Servicio técnico oficial

That's probably about the worst possible choice of camera - analogue composite video, that has to be decoded from YUV to RGB.

You have no hope with that camera and an UNO, even with the right type of camera just capturing an image and transferring it to the SD card will take 10s of seconds.

Mark

God...

I really appreciate the help. I will try to change the camera.
Can you guys tell me what is the best camera for this project?

One that writes RGB data to an SD card.

NO.

It's your project so it's up to you to do the system design and the calculations in fact I think you have been setup by your instructors in order to teach you the importance of doing the System Design BEFORE you do anything else.

But here are a few thing to look at

How fast can the camera send data

How fast can the Uno accept the data

How is the data to be sent and in what format and why

Then you can look at the the websites and maybe find something

After that you can ask the same kind of questions about the SD card

And remember you have only 2K of SRAM to work with on the UNO

Mark

Ok sorry.

In my defense, the teacher knows nothing about Arduino and said that we had 1 class to pick what camera we will use.

But anyway. Thank you guys very much. I will study more about arduino.

the teacher knows nothing about Arduino

So why are you going to use Arduino?
What kind of course is this? Engineering, Comp Sci, ???

Pete

If all you need to produce is a colour-picker, a camera may not be the best choice anyway - there are colour sensors with illuminators available.
Almost certainly quicker, though you haven't mentioned any time constraints.

el_supremo:

the teacher knows nothing about Arduino

So why are you going to use Arduino?
What kind of course is this? Engineering, Comp Sci, ???

Pete

MultiMidia Engeneering.

I´am using Arduino because i find it incredible and i aways wanted to know how to use it. The teacher lended us the Starter Kit that the university has and said to google some tutorials. I´am doing that since then.

AWOL:
If all you need to produce is a colour-picker, a camera may not be the best choice anyway - there are colour sensors with illuminators available.
Almost certainly quicker, though you haven't mentioned any time constraints.

Thank you have much. I didn´t know such think exists for arduino. I will search that now.
It´s just a prototype for our project, there is no time constraints.

under the products section of this site you will find a list of distributors. Take a look at some to see the range of things available.

Adafruit and Sparkfun may not be the best to buy from but they do have lots of fun stuff.

Mark

Ok, thanks, I will take a look.

Now that I know about the color sensor i just found thist project : Color Sensor Prototype (Arduino + Artificial Neural Networks) - YouTube , wich is the same thing we are trying to do.

That helped a lot.

You could also look at using a laptop, web cam, and open computer vision (free software) for doing the kind of think you want and lots more!

Or a raspberry Pi and a webcam or the Arduino Yun

Mark