Scott
72a5c31588
filter: add option to reduce resolution of frames for KNN motion filter
...
This makes the same changes as for the MOG but for the KNN filter.
2020-02-04 11:47:24 +10:30
Scott
10bfc296be
filter: add option to reduce resolution of frames for MOG motion filter
...
A new netsender variable, FilterDownscaling is used for reducing the resolution of frames within the MOG motion filter.
This does not affect the resolution of the video output, it is only used to speed up calculations.
A FilterDownscaling factor of 2 is equivalent to skipping every 2nd pixel in the image.
2020-02-04 11:47:09 +10:30
Ella Pietraroia
c90cc40949
Merged in basic-filter (pull request #366 )
...
Basic filter
Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-02-03 07:04:59 +00:00
Ella Pietraroia
5c9ffd6c1f
Merged in filter-names (pull request #368 )
...
filter: change names so that they don't have filter in them
Approved-by: Scott Barnard <scott@ausocean.org>
Approved-by: Trek Hopton <trek.hopton@gmail.com>
2020-02-03 06:26:41 +00:00
Ella Pietraroia
5ccc4fbf99
filter: more comment fixing
2020-02-03 16:44:38 +10:30
Ella Pietraroia
45e0f2a817
filter: more comments fixing
2020-02-03 16:42:11 +10:30
Ella Pietraroia
9c5b284d68
filter: fixing comments
2020-02-03 16:39:25 +10:30
Dan Kortschak
2f85dbcdf6
device/webcam: don't close closed chan
2020-02-03 16:31:42 +10:30
Ella Pietraroia
cd1088c2fa
filter: basic: comments
2020-02-03 11:11:38 +10:30
Ella Pietraroia
17e1eb0436
filter: basic: add error checking for close()
2020-02-03 10:55:12 +10:30
Ella Pietraroia
d4c60358a9
filter: basic: comments
2020-02-03 10:52:43 +10:30
Ella Pietraroia
c1881cef3a
filter: basic: comment and removing const
2020-02-03 10:52:04 +10:30
Ella Pietraroia
f27a18282b
filter: basic: removing const for pixel and threshold
2020-02-03 10:47:33 +10:30
Ella Pietraroia
02777c4dd5
filter: change names so that they don't have filter in them
2020-02-03 10:14:33 +10:30
Ella Pietraroia
2c3b6f237b
filter: 2 spaces instead of a tab
2020-01-31 16:09:13 +10:30
Ella Pietraroia
209882f03d
filter: change num to var in saveFrame(), move helper function to bottom, for loop to range
2020-01-31 15:56:36 +10:30
Ella Pietraroia
2c947edc2b
iteration error fix
2020-01-31 15:23:18 +10:30
Scott Barnard
0dfb2df939
Merged in is-running-method (pull request #363 )
...
device: add IsRunning method to AVDevice interface
Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-01-31 04:29:02 +00:00
Scott Barnard
9b8f0dc887
Merged in burst-mode (pull request #364 )
...
revid: make burst mode part of revid API
Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-01-31 04:19:47 +00:00
Scott
5502eea661
revid: remove Burst method's duration parameter
2020-01-31 14:31:17 +10:30
Ella Pietraroia
0189fad0e2
fixing comments
2020-01-31 14:25:26 +10:30
Ella Pietraroia
e107b682bb
NewBasicFilter to NewBasic as we already know its a filter
2020-01-31 14:23:33 +10:30
Ella Pietraroia
40b282f39d
closing debug file
2020-01-31 14:18:54 +10:30
Scott
c682f49071
device: use fatal instead of skip in tests
2020-01-31 14:02:45 +10:30
Ella Pietraroia
ca0b146419
don't need circleci build tag because gocv is not used
2020-01-31 13:38:04 +10:30
Ella Pietraroia
36d9e0f958
circleci build tag fix
2020-01-31 13:36:12 +10:30
Ella Pietraroia
5c68510209
pr changes made commenting and [][][3] to [][]pixel, pixel is a new struct
2020-01-31 12:55:49 +10:30
Scott
9ddd4be089
device: use constants for test code
2020-01-31 12:22:48 +10:30
Ella Pietraroia
d8c611de52
double newKNNFilter fix
2020-01-31 11:19:47 +10:30
Ella Pietraroia
71c0fdc022
Merge branch 'basic-filter' of https://bitbucket.org/ausocean/av into basic-filter
2020-01-31 11:18:02 +10:30
Ella Pietraroia
27af48e3ed
tidying up and adding any other comments
2020-01-31 11:14:08 +10:30
Ella Pietraroia
f93e4e275e
finding errors
2020-01-31 11:14:04 +10:30
Ella Pietraroia
bf71d8b4a1
added 4x goroutines with mutex lock and waitgroups
2020-01-31 11:11:03 +10:30
Ella Pietraroia
87509aed11
optimising
2020-01-31 11:11:03 +10:30
Ella Pietraroia
ed35bd83cb
basic filter that does not use gocv for motion detection
2020-01-31 11:11:00 +10:30
Ella Pietraroia
021f77c392
making new file for basic filter
2020-01-31 11:06:52 +10:30
Ella Pietraroia
6470c98a08
tidying up and adding any other comments
2020-01-31 10:53:25 +10:30
Ella Pietraroia
513eee1260
finding errors
2020-01-31 10:26:25 +10:30
Ella Pietraroia
a162d6ec92
Merged in revid-err-msg (pull request #365 )
...
changed revid start warning to error
Approved-by: Trek Hopton <trek.hopton@gmail.com>
Approved-by: Scott Barnard <scott@ausocean.org>
2020-01-30 05:30:23 +00:00
Ella Pietraroia
7f44c96abe
changed revid start warning to error
2020-01-30 15:54:42 +10:30
Ella Pietraroia
e82f413173
added 4x goroutines with mutex lock and waitgroups
2020-01-30 15:31:01 +10:30
Scott
054f0a5e77
revid: add Burst method to revid
2020-01-30 13:20:44 +10:30
Scott
a123789cac
device/geovision: implement IsRunning method for geovision
2020-01-30 11:22:41 +10:30
Scott
0bd21b9003
device/alsa: implement IsRunning method for alsa
2020-01-30 11:22:24 +10:30
Scott
25d68cf124
device/raspivid: implement IsRunning method for raspivid
2020-01-30 11:22:11 +10:30
Scott
4c65173604
device/file: implement IsRunning method for file
2020-01-30 11:21:56 +10:30
Scott
5c5672486e
device/webcam: implement IsRunning method for webcam
2020-01-30 11:21:39 +10:30
Scott
f1d1fe2cad
device: add tests for IsRunning
...
To check that the IsRunning method is working, some tests are needed. These tests shall be skipped when an AVdevice is not connected, such as when testing within Circle-CI.
2020-01-30 11:21:06 +10:30
Trek Hopton
6a580ce594
Merged in m3u-minor-3 (pull request #362 )
...
mjpeg-player: minor fix
2020-01-29 03:38:18 +00:00
Trek H
dea8d7ae91
mjpeg-player: naming
2020-01-29 14:04:21 +10:30