[tech] [ucc] A Challenge
Sam Moore
matches at ucc.gu.uwa.edu.au
Thu Jul 12 14:50:36 WST 2012
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 /
>
More information about the tech
mailing list