Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Raspberry Pi: Camera
(edit)
Revision as of 19:14, 9 April 2015
409 bytes added
,
19:14, 9 April 2015
no edit summary
Line 1:
Line 1:
== Camera setup ==
== Camera setup ==
[https://www.raspberrypi.org/help/camera-module-setup/ Setup]
[https://www.raspberrypi.org/help/camera-module-setup/ Setup]
+
+
== Permissions ==
+
Create a group with permission tu use the camera, and add the user that will be using it:
+
<nowiki>
+
# echo 'SUBSYSTEM=="vchiq",GROUP="video",MODE="0660"' \
+
> > /etc/udev/rules.d/10-vchiq-permissions.rules
+
# usermod -a -G video pi<nowiki>
+
Reboot.
+
+
Set paths:
+
edit $HOME/.bashrc, add:
+
+
add:
+
<nowiki>
+
export PATH=$PATH:/opt/vc/bin
+
export LD_LIBRARY_PATH=$LD_LIBRARYPATH:/opt/vc/lib</nowiki>
== Bash ==
== Bash ==
Rafahsolis
Bureaucrats
,
Administrators
2,306
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version