cancel
Showing results for 
Search instead for 
Did you mean: 

how the image is sent to the camera to the computer?

yesil_kaya76
Associate II
Posted on August 12, 2013 at 10:32

I have a project with OV7670 with stm32f4-discovery. My OV7670 has 16 pins and without fifo.

I

'm having

a picture of

the camera and than

I have to send

my picture

to the computer. But

I have no idea

how

I'm gonna do

. Can anyone give me some direction how can I do? Thanks a lot.
18 REPLIES 18
yesil_kaya76
Associate II
Posted on September 26, 2013 at 15:28

thanks alot fm for your suggestion. I found a new way for VGA format. I captured two pictures from camera without FIFO. After i combined this pictures as follow.

0690X00000602iVQAQ.jpg

But, there are a problem. i dont removed black line in the middle of the Picture.

Black end White is a good idea. But as far as I know, camera does not support grayscale.

it supports just; YUV, RGB and RAW.

frankmeyer9
Associate II
Posted on September 26, 2013 at 16:50

But, there are a problem. i dont removed black line in the middle of the Picture.

 

From my (rather feeble) knowledge of your project/code, it could well be a bug in how you 'stitch' the parts of the image together.

Black end White is a good idea. But as far as I know, camera does not support grayscale.

 

it supports just; YUV, RGB and RAW.

 

You can do a ''BW_Intensity = (Red + Green + Blue) / 3'' for each pixel on the fly, before storing it to the RAM buffer. As dave suggested, that would reduce your RAM footprint significantly - if you can live with BW pictures.

yesil_kaya76
Associate II
Posted on September 30, 2013 at 17:13

Thanks a lot fm for everythings.

 My black line problem in the middle of the Picture is solved with your suggestion.

Now, only there is a problem. there are a lot

pink

blot in the my picture. How can I solve this problem.

0690X00000602jrQAA.jpg
Posted on September 30, 2013 at 17:45

The green stuff at the edge suggests you don't have the framing/timing right. Front/Back porch?

The pink stuff is more indicative that the colour bit assignments are wrong or misaligned bit stream. ie an issue extracting/decoding the RGB or YUV

Is the picture from a milling machine? Cut metal path?
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
yesil_kaya76
Associate II
Posted on October 01, 2013 at 12:52

I solved the green stuff at the edge.

there are not pink stuff at the Picture when Picture was QVGA (320*240).

 

But, there are pink stuff at the Picture when Picture was VGA (640*480).

As follow :

0690X00000602ptQAA.jpg

0690X00000602pyQAA.jpg

yesil_kaya76
Associate II
Posted on October 01, 2013 at 14:02

The original post was too long to process during our migration. Please click on the provided URL to read the original post. https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I6XH&d=%2Fa%2F0X0000000bq9%2F9OgIoCfbWynDYwV5fsjPCqZ0nkEQbvs2HW7MYDF8i.I&asPdf=false
pinnchus
Associate II
Posted on October 09, 2013 at 15:01

Dear yesilkaya.seccad,

Would you

mind sharing

the complete code

?

Thanks,

Pinnchus

yesil_kaya76
Associate II
Posted on October 22, 2013 at 08:58

yes i can share. you can contact to me with my mail adress :

mailto:yesil_kaya76@hotmail.com

pinnchus
Associate II
Posted on October 22, 2013 at 14:32

Thanks

,

I sent

an email

with my details.

Regards,

Pinnchus