Commit Graph

4126 Commits

Author SHA1 Message Date
Scott 29443bd61f filter/mog.go: handles error from IMGDecode 2019-12-31 15:31:47 +10:30
Ella Pietraroia 8c32265ae3 error message for decoding image 2019-12-31 15:29:58 +10:30
Ella Pietraroia 40b5374856 fixing circleci build problem with knn filter 2019-12-31 15:22:57 +10:30
Ella Pietraroia 8ebfa0a7fb adding constants for the integer arguments 2019-12-31 15:21:34 +10:30
Ella Pietraroia 6d45572a82 Documentation comments 2019-12-31 15:21:34 +10:30
Ella Pietraroia 197fbcf242 chaning parameters of filter 2019-12-31 15:21:34 +10:30
Ella Pietraroia 0da2d3182a adding knn.go file 2019-12-31 15:21:34 +10:30
Ella Pietraroia d44e795ea2 making new knn file, plus adding knn option into variables 2019-12-31 15:21:34 +10:30
Ella Pietraroia 65f1c89ff2 adding constants for the integer arguments 2019-12-31 15:18:06 +10:30
Ella Pietraroia 51e45c6ffa Documentation comments 2019-12-31 14:59:39 +10:30
Ella Pietraroia 3e238bb676 chaning parameters of filter 2019-12-31 14:59:39 +10:30
Ella Pietraroia 8f3faeb197 adding knn.go file 2019-12-31 14:59:39 +10:30
Ella Pietraroia a02a60b008 making new knn file, plus adding knn option into variables 2019-12-31 14:59:34 +10:30
Scott Barnard a62c25af41 Merged in circleci-gocv (pull request #317)
Circle-CI doesn't like to build because of gocv

Approved-by: Alan Noble <anoble@gmail.com>
Approved-by: Saxon Milton <saxon.milton@gmail.com>
2019-12-31 04:15:52 +00:00
Scott Barnard 7c42f9dc1b Merged in motion-filter-variable-fps (pull request #314)
Created motion filter that has a minimum frame rate.

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2019-12-31 03:59:52 +00:00
Scott Barnard edcb8090ff Merged in revid-output-var (pull request #312)
revid: Output var

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2019-12-31 03:56:13 +00:00
Scott Barnard fda173938a Merged in logging-var-case (pull request #313)
revid: logging var has wrong case

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2019-12-31 03:54:05 +00:00
Scott e0760f0096 Circle-CV ignores gocv/OpenCV for testing. 2019-12-31 13:37:23 +10:30
Scott 62af00ff4f PR changes #1 2019-12-31 10:54:13 +10:30
Saxon d146b65c57 codec/mjpeg/utils.go: added TODO in file header DESCRIPTION field to make stuff in this file exported in codecutil 2019-12-29 22:59:29 +10:30
Saxon 5b8f71b7d8 codec/mjpeg: renamed putBuffer.putBuf to putBytes 2019-12-29 22:57:35 +10:30
Saxon 13e2571230 codec/mjpeg/jpeg.go: renamed fields of putBuffer struct 2019-12-29 22:55:27 +10:30
Saxon bf865e48c5 codec/mjpeg/jpeg.go: made JFIF header label local const 2019-12-29 22:50:20 +10:30
Saxon e0397e1769 codec/mjpeg/jpeg.go: improve Context struct field names 2019-12-29 22:47:38 +10:30
Saxon 2fd724c6bb updating go mod 2019-12-29 22:41:37 +10:30
Saxon c691d4c1ff codec/mjpeg: renamed Ctx type to Context and name value of this type ctx instead of c 2019-12-29 22:40:54 +10:30
Saxon b5f87481ba codec/mjpeg/jpeg.go: comment global slices used for huffman table creation 2019-12-29 22:16:09 +10:30
Scott 5286ded51f Small fixes and simplifications 2019-12-27 13:51:50 +10:30
Trek H fb11dde938 mjpeg-player: make maxScanWindow a const an document it. 2019-12-25 09:34:29 +10:30
Scott 9876b0cd35 Created motion filter that has a minimum frame rate. 2019-12-24 14:08:42 +10:30
Scott af2de3f938 Created singular Output var 2019-12-23 16:55:40 +10:30
Scott b8f70ddaa1 revid/config/config.go Changed case of logging variable. 2019-12-23 16:21:49 +10:30
Ella Pietraroia 016bbf0553 Merged in webcam-stderr (pull request #311)
stderr implementation in webcam

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2019-12-23 05:10:21 +00:00
Ella Pietraroia 0da4c3b618 device/webcam/webcam.go: fixed error output 2019-12-23 15:37:20 +10:30
Ella Pietraroia d0102779ed stderr implementation in webcam
same stderr messages made avaliable in raspivid.go now in webcam, so can see when there are problems with with the webcam, rather then our code
2019-12-23 15:27:46 +10:30
Saxon 9a02d295fe codec/mjpeg/utils.go: using BigEndian.Uint16 in get16 2019-12-23 14:24:08 +10:30
Saxon 2d7a400b3e codec/mjpeg/jpeg.go: renamed ParseScan to ParsePayload, updated call and comment 2019-12-23 14:24:08 +10:30
Saxon 545e7b858f codec/mjpeg/jpeg.go: Fixed comment for Ctx struct 2019-12-23 14:24:08 +10:30
Saxon 23d58e1b12 codec/mjpeg/extract.go: simplified error message when can't get RTP payload 2019-12-23 14:24:08 +10:30
Saxon 5cd4a0a23c codec/mjpeg/jpeg.go: fixed indentation on file header 2019-12-23 14:24:08 +10:30
Saxon 495e5c615a codec/mjpeg/jpeg.go: fixed indentation in file header 2019-12-23 14:24:08 +10:30
Saxon fa4d7b8141 codec/mjpeg/extract.go: corrected comment for Extractor.dst field 2019-12-23 14:24:08 +10:30
Saxon 90ab359599 codec/mjpeg: tidying up
Separated my code from code that was ported from ffmpeg (differen copyright). Also added utils.go file to house the putBuffer and bytestream types. Reduced copying and use of bytes.Buffer.
Instead expanded putBuffer functionality so that I can use this throughout process (reduce copying from buffer to buffer).
2019-12-23 14:24:08 +10:30
Saxon e3b6d2101a Fixed bugs, now working 2019-12-23 14:24:08 +10:30
Saxon ba25cdfd12 codec/mjpeg/extract.go: wrote Extractor type
Wrote extractor type that provides an Extract function to extract JPEG frames from an RTP/MJPEG stream and writes them to a destination.
2019-12-23 14:24:07 +10:30
Saxon c2ce700cbd codec/mjpeg/jpeg.go: added writeHeader function to write JPEG header
This also included the addition of some lunimance and chrominance tables, a multiError type (implements error) and a putter type, that will put uint16s, bytes and "buffers" into a byte
slice.
2019-12-23 14:24:07 +10:30
Saxon 63f694a0a5 codec/mjpeg/jpeg.go: added writeHuffman function to write JPEG huffman tables to an io.Writer. 2019-12-23 14:24:07 +10:30
Saxon 4781a02ec5 codec/mjpeg/jpeg.go: added putMarker function to write JPEG marker codes to an io.Writer 2019-12-23 14:24:07 +10:30
Saxon 6c78ff49cd codec/mjpeg: added jpeg.go file to hold JPEG specific stuff and added some JPEG marker codes. 2019-12-23 14:24:07 +10:30
Saxon 39c66bdfd6 codec/mjpeg/utils.go: using BigEndian.Uint16 in get16 2019-12-23 13:59:27 +10:30