View: 45877|Reply: 25

H3 CSI Camera support ???

[Copy link]

3

threads

38

posts

223

credits

Intermediate member

Rank: 3Rank: 3

credits
223
Published in 2015-9-9 17:48:46 | Show all floors |Read mode
Edited by Sitheek at 2015-11-1 00:14

Has anybody succeded in conecting CSI Camera to OrangePi2 board ???

We are fighting with OV5640 modules, but there are issues in vfe and v4l2 drivers which we are unable to fix ...

We need some help, good kernel coder is required ...

OK, WE HAVE FIXED THAT

18

threads

303

posts

9908

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9908
Published in 2015-11-1 22:20:15 | Show all floors
I have sucessfully installed the CSI camera on OPI-PC with expantion board. Works out of box. Bought it from Xunlong. Just the cheap one with 1280*720 resolution. Image is OK with daylight.

3

threads

38

posts

223

credits

Intermediate member

Rank: 3Rank: 3

credits
223
 Author| Published in 2015-11-2 00:18:17 | Show all floors
jacer replied at 2015-11-1 22:20
I have sucessfully installed the CSI camera on OPI-PC with expantion board. Works out of box. Bought ...

Yes, I have tested that. This is gc2035 module. Please see my Supported Camera Modules thread.

0

threads

14

posts

1198

credits

Gold member

Rank: 6Rank: 6

credits
1198
Published in 2015-11-3 08:58:49 | Show all floors
Edited by janche at 2015-11-3 07:00
I have sucessfully installed the CSI camera on OPI-PC with expantion board

Where did you get the expantion board? Does it comes with CSI camera from Xunlong stock or I have to order it somewhere separately?

18

threads

303

posts

9908

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9908
Published in 2015-11-3 23:09:54 | Show all floors
janche replied at 2015-11-3 08:58
Where did you get the expantion board? Does it comes with CSI camera from Xunlong stock or I have t ...

I purchsed from Xunlong. Just tell the seller you are using OPI-PC, because only OPI-PC need this expansion board.

8

threads

55

posts

252

credits

Intermediate member

Rank: 3Rank: 3

credits
252
Published in 2015-11-30 01:02:39 | Show all floors
jacer replied at 2015-11-1 11:20
I have sucessfully installed the CSI camera on OPI-PC with expantion board. Works out of box. Bought ...

Jacer,
How did you set 1280x720 ?
I am only able to use 800x600 on this camera, no matter which res. size i set.
Android also works only with 800x600 with this camera (gc2035).
@lex

18

threads

303

posts

9908

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9908
Published in 2015-12-2 17:03:56 | Show all floors
@lex replied at 2015-11-30 01:02
Jacer,
How did you set 1280x720 ?
I am only able to use 800x600 on this camera, no matter which re ...

I`m using SnapCamera in Android.

8

threads

55

posts

252

credits

Intermediate member

Rank: 3Rank: 3

credits
252
Published in 2015-12-3 19:15:26 | Show all floors
Edited by @lex at 2015-12-3 08:16
jacer replied at 2015-12-2 06:03
I`m using SnapCamera in Android.

OK.
Currently the driver support 800x600 and 1600x1200 on linux. To be abble to use 640x480 and/or 1280x720 you have to re-enable this windows size and rebuild the driver.

Published in 2015-12-4 08:29:03 | Show all floors
@lex replied at 2015-12-3 19:15
OK.
Currently the driver support 800x600 and 1600x1200 on linux. To be abble to use 640x480 and/or  ...

Can you please share your modifications to get different resolutions?

8

threads

55

posts

252

credits

Intermediate member

Rank: 3Rank: 3

credits
252
Published in 2015-12-5 05:20:21 | Show all floors
Edited by @lex at 2015-12-4 18:22

I attached the code, don't know you can get it (it does not show to me)
Unfortunately i still have issues with the register settings for the 800x600 and 1600x1200, we need someone to pick it up and fix it, maybe you or @Sitheek can help.
At least we have some improvments (running with dram: 480 and 1.2Ghz):
before (original)
800x600 ........... 9 FPS
1600x1200 ....... 6 FPS
after (modified with leafpad)
640x480 ........... 16 FPS
1280x720 ......... 10 FPS


Tested with 640x480 and 1280x720 (HD)
If you want to keep the original code, comment this:
/* ----------------------------------- */
/* comment _640x480_1280x720_ONLY      */
/* if you want 800x600 and 1600x1200   */
/* ----------------------------------- */
// #define _640x480_1280x720_ONLY


fswebcam -r 1600x1200 --fps 25 -p YUV420P - > cam1600x1200.jpg
fswebcam -r 1280x720 --fps 25 -p YUV420P - > cam1280x720.jpg
fswebcam -r 640x480 --fps 25 -p YUV420P - > cam640x480.jpg
fswebcam -r 800x600 --fps 25 -p YUV420P - > cam800x600.jpg


This thread contains more resources

You need to Log in to download or view,No account?    Register

x
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list