From bob at ucc.gu.uwa.edu.au Sat Jul 7 00:01:39 2012 From: bob at ucc.gu.uwa.edu.au (Andrew Adamson) Date: Sat, 7 Jul 2012 00:01:39 +0800 (WST) Subject: [tech] UCC maintenance day Message-ID: There is a Wheel maintenance day happening this Sunday starting at 10am. Anybody is welcome to come along to the clubroom if they want to help out or learn about UCC systems. Andrew Adamson bob at ucc.asn.au |"If you can't beat them, join them, and then beat them." | | ---Peter's Laws | From matches at ucc.gu.uwa.edu.au Thu Jul 12 14:50:36 2012 From: matches at ucc.gu.uwa.edu.au (Sam Moore) Date: Thu, 12 Jul 2012 14:50:36 +0800 (WST) Subject: [tech] [ucc] A Challenge In-Reply-To: References: <20120704161229.GB28343@deegan.id.au> Message-ID: Hi, David [SLX] and I started doing stuff on this on Sunday. There are some scripts in /webcamrestore/scripts on motsugo. "get_data.py" creates an image containing only the timestamp. It is scaled up and made black and white. "george.sh" (don't ask) uses get_data.py to make timestamps for each webcam image, and then uses gocr (tesseract didn't work) to make strings. It copies the images using Bob's patented directory structure. gocr seems to get most/some of the camera name right* There are some test results on clownfish:/root/webcamrestore/unjumbled Getting everything working fast/accurately enough to actually be useful is left as an excercise for someone else. *It also gets some of it wrong [SZM] On Fri, 6 Jul 2012, James Andrewartha wrote: > On Thu, 5 Jul 2012, Andrew Adamson wrote: > >> Unfortunately the lost+found directory also contains user data so somebody >> from wheel has to extract the images to a different directory before >> people go playing with them. I think this is as simple as extracting any >> files owned by the webcam user. > > Given the timestamps are correct, if there's no more than one camera with > missing images during that hour, we should be able to move them to the > correct location. > > Note that the restored /services/webcam/archive has some directories where > subdirectories are numbered correctly but are jpeg files, not directories. > So it might we worth sanity-checking the restored files too. > > -- > # TRS-80 trs80(a)ucc.gu.uwa.edu.au #/ "Otherwise Bub here will do \ > # UCC Wheel Member http://trs80.ucc.asn.au/ #| what squirrels do best | > [ "There's nobody getting rich writing ]| -- Collect and hide your | > [ software that I know of" -- Bill Gates, 1980 ]\ nuts." -- Acid Reflux #231 / >