Commit Graph

86 Commits

Author SHA1 Message Date
Scott 6bad1706ac filter: changed embedded struct to a field within struct 2020-02-05 16:36:09 +10:30
Scott b6d6090e25 filter: implement debug builds for basic motion filter 2020-02-04 13:22:15 +10:30
Scott 5917f35ccd filter: use build tags to separate debug code from release code 2020-02-04 13:22:15 +10:30
Scott 12febf18f4 filter: downscalingFactor → scaleFactor 2020-02-04 11:47:27 +10:30
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 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
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
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
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
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
Scott a111f21427 filter: return length from the filter's Write method 2020-01-27 11:23:56 +10:30
Scott fb43e9214a filter: change formatting of code 2020-01-27 10:51:06 +10:30
Scott b15b649151 filter: check for errors after decoding 2020-01-27 10:51:06 +10:30
Scott e0fa474906 filter: DiffFilter → Difference 2020-01-27 10:51:06 +10:30
Scott 458933babb filter: create function for satisfying circleci tests 2020-01-27 10:50:54 +10:30
Scott ced8727c07 filter: create a simple difference motion filter using gocv 2020-01-27 10:50:27 +10:30
Scott eca9453399 filters_circleci.go: Changed function to pass circleci builds 2020-01-23 12:49:45 +10:30
Scott 207e96b999 KNN filter detects motion on an interval 2020-01-23 12:45:00 +10:30
Ella Pietraroia 3851a20aa0 commenting 2020-01-22 16:04:16 +10:30
Ella Pietraroia c9dee735d4 back to old return 2020-01-22 15:44:53 +10:30
Ella Pietraroia c3f1d957e3 formatting 2020-01-22 15:43:10 +10:30
Ella Pietraroia 2e70e3fa1b change to error handling 2020-01-22 15:34:32 +10:30
Ella Pietraroia fd8e2e2426 full stops 2020-01-22 15:25:34 +10:30
Ella Pietraroia 963b74bed0 change variable name FilterFrames to MotionFilter 2020-01-22 14:57:35 +10:30
Ella Pietraroia b597fb9a1a commenting and refinement 2020-01-22 14:53:03 +10:30
Ella Pietraroia b588321d00 adding in so builds with circleci build 2020-01-22 13:12:22 +10:30
Ella Pietraroia d5e0bf7731 remove all tests 2020-01-20 16:19:04 +10:30
Ella Pietraroia 0c081e0b23 more testing prints now in lex 2020-01-20 15:45:43 +10:30
Ella Pietraroia c99d3564bf more testing 2020-01-20 14:31:40 +10:30