Commit Graph

32 Commits

Author SHA1 Message Date
Scott 12febf18f4 filter: downscalingFactor → scaleFactor 2020-02-04 11:47:27 +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 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 02777c4dd5 filter: change names so that they don't have filter in them 2020-02-03 10:14:33 +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 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
Ella Pietraroia 44aac3f9fd timing for 25 frames testing 2020-01-20 14:09:42 +10:30
Ella Pietraroia b0dd41dcf0 back to no testing 2020-01-16 14:39:44 +10:30
Scott 4b28558924 Frame counter resets on a consistent interval. 2020-01-13 10:49:01 +10:30
Ella Pietraroia 0b95041d4f quantization = 0 for input encode is MJPEG 2020-01-13 10:49:01 +10:30
Ella Pietraroia 6f16f68611 adding variable to choose how many frames to skip before filtering 2020-01-13 10:49:01 +10:30
Ella Pietraroia b39a440105 making mog filter that only dectects motion on every 5 frame (will make this a var) 2020-01-13 10:49:01 +10:30
Scott e5db4f0f1c Fixed shared windows between motion filters bug 2020-01-02 16:12:48 +10:30
Scott Barnard 474b58d616 Merged in MOG-err-imgdecode (pull request #319)
filter/mog.go: handles error from IMGDecode

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-01-02 03:30:21 +00:00
Scott 3e19fb7cd6 filter/mog.go: Write returns 0 instead of -1 2020-01-02 13:32:05 +10:30
Scott 9d857b8a66 Created constants for the MOG filter 2020-01-02 13:25:21 +10:30
Scott 29443bd61f filter/mog.go: handles error from IMGDecode 2019-12-31 15:31:47 +10:30
Scott e0760f0096 Circle-CV ignores gocv/OpenCV for testing. 2019-12-31 13:37:23 +10:30
Scott 7364174858 Filters shall close when revid stops.
The Stop method for revid calls the filter's Close method to free filter resources.
2019-12-20 15:37:49 +10:30
Ella Pietraroia c4d809be27 Filter interface take 2
This branch was made because we were having problems with rebasing the original filter-interface branch. Filter-interface was used to make interface for filters and adding into pipeline made a new file (filter.go) that conatins package Filter. This package has the filter interface, with one filter, NoOp. More filters can be added. The filtering stage was placed inbetween lexing and encoding by changing the LexTo function to have the filter as it's destination and making the destination of the filter to be r.encoders
2019-12-20 10:42:51 +10:30
Scott f628c4243e Bugfix 2019-12-19 16:51:49 +10:30
Scott 8086cac802 PR fixes 2019-12-19 15:13:53 +10:30
Scott 669e72e86d PR fixes 2019-12-19 15:06:32 +10:30