Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
123Next
Return to list New
View: 14005|Reply: 25

H3 CSI Camera support ???

[Copy link]

3

Threads

38

Posts

223

Credits

Intermediate member

Rank: 3Rank: 3

Credits
223
Post time 2015-9-9 17:48:46 | Show all posts |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

7261

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
7261
Post time 2015-11-1 22:20:15 | Show all posts
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| Post time 2015-11-2 00:18:17 | Show all posts
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
Post time 2015-11-3 08:58:49 | Show all posts
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

7261

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
7261
Post time 2015-11-3 23:09:54 | Show all posts
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
Post time 2015-11-30 01:02:39 | Show all posts
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

7261

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
7261
Post time 2015-12-2 17:03:56 | Show all posts
@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
Post time 2015-12-3 19:15:26 | Show all posts
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.

Post time 2015-12-4 08:29:03 | Show all posts
@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
Post time 2015-12-5 05:20:21 | Show all posts
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 post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2018-10-24 05:03 GMT+8 , Processed in 0.041978 second(s), 32 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list