Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
EDAF55
C-camera
Commits
4e5f3cc3
Commit
4e5f3cc3
authored
Sep 11, 2017
by
Sven Gestegård Robertz
Browse files
added to README
parent
440b7a1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/README.txt
View file @
4e5f3cc3
...
...
@@ -38,6 +38,23 @@ If compiling elsewhere, if you have the same directory structure as
in /usr/local/cs/rtp, you can use the variable COMMON_DIR to the
location of the compiler and libs.
Makefile.fake is the file to use for building the http server
with fake capture.
When building, you can set options to change its behaviour.
To use a short frame sequence of images of numbers, define
SHORT_NUMBER_FRAME_SEQUENCE, for instance with the command line
> CPPFLAGS="-DSHORT_NUMBER_FRAME_SEQUENCE" make -f Makefile.fake
To turn off fake motion, define NO_FAKE_MOTION
Example: CPPFLAGS="-DSHORT_NUMBER_FRAME_SEQUENCE -DNO_FAKE_MOTION" make ...
(note that you need separate-D options for each macro)
To use the film sequence (of man in corridor) but skip the first part
without motion, give START_FRAME a value>1. See fakecapture.c for details.
Running
...
...
@@ -60,6 +77,11 @@ terminals.
Then, you can browse to localhost:9999 to get an image
and to localhost:9091 to get motion information
Note: if you run just the fake_server without running the motion_server
on the same computer, you will get the output "ERROR connecting:
Connection refused" when motion occurs, as the fake_server
also sends motion notifications to localhost:9090.
The motion client (which polls a motion server) is run
(with the default parameters of polling localhost every second) as
...
...
Write
Preview
Supports
Markdown
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