Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
pub
cams
Commits
612b53c0
Commit
612b53c0
authored
Dec 12, 2017
by
Neil Gershenfeld
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wip
parent
98b6cab2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cams.js
cams.js
+2
-2
No files found.
cams.js
View file @
612b53c0
...
...
@@ -19,6 +19,7 @@ var settings= '\
--set "Focus (absolute)"=0%
\
--set "White Balance Temperature, Auto"=False
\
--set "White Balance Temperature"=50%
\
--set "Exposure, Auto"="Manual Mode"
\
--set "Exposure, Auto Priority"=False
\
--set "Exposure (Absolute)"=50%
\
--set Brightness=50%
\
...
...
@@ -51,8 +52,7 @@ function update() {
// take new image
//
console
.
log
(
'
\n
capture
'
+
name
)
//execSync('fswebcam --jpeg '+compression+' --resolution '+image_width+'x'+image_height+' --save image.jpg')
execSync
(
'
fswebcam --jpeg
'
+
compression
+
'
--resolution
'
+
image_width
+
'
x
'
+
image_height
+
'
'
+
settings
+
'
--save image.jpg
'
)
execSync
(
'
fswebcam --jpeg
'
+
compression
+
'
--resolution
'
+
image_width
+
'
x
'
+
image_height
+
'
--save image.jpg
'
)
//
// remove prior images
//
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment