-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New bug :( #37
Comments
This is used to name sub folders and did not previously have a problem I checked my speed camera and it changed directories fine. Will do some more testing to see if I can duplicate error. |
Ahhhh - is it complaining about my old speedcam.db data then?? |
If you check under SubDirCheckMaxHars line 662 there is a Note to self on
line 665 about error checking. That is because you can get into trouble if
you change from maxfiles to maxhours. I notice you have
imagesubdirmaxhours = 1. That means you want a new subdirectory created
every hour. Not sure why. Default is to create a new subdirectory every
1000 images. I would recommend you set imageSubDirMaxHours = 0 and
imageSubDirMaxFiles= 1000 or so.
If you want images created by elapsed time period then start with a new
blank media/images folder and set imageSubDirMaxHours to a higher number
like every 24 hours.
Let me know what you were intending for subfolder creation. The reason I
added subfolder creation by max files in folder or by elapsed time was to
allow long term operation and not have huge numbers of files in one
folder. It makes for better response for web interface and easier
management.
Let me know how you do. I will also do some checking.
Claude ...
…On Tue, Jul 2, 2019 at 1:07 PM Richie Jarvis ***@***.***> wrote:
Ahhhh - is it complaining about my old speedcam.db data then??
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#37?email_source=notifications&email_token=ABNPKZH6ZF5EK52S6AOZBKLP5ODONA5CNFSM4H45NYH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZB6CQY#issuecomment-507765059>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABNPKZD3COLAI7U52MYUH2DP5ODONANCNFSM4H45NYHQ>
.
--
See my YouTube Channel at http://www.youtube.com/user/pageaucp
|
Hi Claude, Thank you. I just came to report the same to you! So we both found it. Cool :) I was planning to rotate dirs each day, that was all. I'll carry on playing! Btw - my third camera just went live in a different location in the village, and I can give you read-only dashboard access if you are curious to watch your creation in action :) Cheers, Richie |
I would be interested in your dashboard.
Thanks Claude
…On Tue, Jul 2, 2019 at 5:13 PM Richie Jarvis ***@***.***> wrote:
Hi Claude,
Thank you. I just came to report the same to you! So we both found it.
Cool :)
I was planning to rotate dirs each day, that was all. I'll carry on
playing!
Btw - my third camera just went live in a different location in the
village, and I can give you read-only dashboard access if you are curious
to watch your creation in action :)
Cheers,
Richie
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#37?email_source=notifications&email_token=ABNPKZEECCLESB23X6GX4QDP5PAIJA5CNFSM4H45NYH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZCSBJI#issuecomment-507846821>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABNPKZCAUEIHRPJ6XKLQSTLP5PAIJANCNFSM4H45NYHQ>
.
--
See my YouTube Channel at http://www.youtube.com/user/pageaucp
|
Hi Claude, username: view Cheers, Richie |
btw - i am in the process of transferring the data from my lab up, so please excuse the lack of data! |
Thanks for the link to your project. Keep up the good work. I will check
occasionally to see how your data looks.
My camera has run for several years. That is why I added sqlite3. My Data
is not always vehicles, since it can pick up birds flying by, me cutting
the grass, pedestrians walking on our side of the street, etc. I have
thought of adding post processing to have opencv recognize catalog
objects. It would be nice to have a breakdown of vehicle, types like cars,
trucks, buses, motorcycle, bicycle, backhoes, garbage trucks Etc).
BTW are you processing night data?
Regards Claude ...
…On Tue, Jul 2, 2019 at 8:15 PM Richie Jarvis ***@***.***> wrote:
btw - i am in the process of transferring the data from my lab up, so
please excuse the lack of data!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#37?email_source=notifications&email_token=ABNPKZETMJMXKKCNBJQ2NB3P5PVQXA5CNFSM4H45NYH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZC4QFI#issuecomment-507889685>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABNPKZG3VJABJM5MAJGO44TP5PVQXANCNFSM4H45NYHQ>
.
--
See my YouTube Channel at http://www.youtube.com/user/pageaucp
|
Hi Claude,
Thank you for the kind words. Yes, we are processing night data at the
moment. sqlite3 is great, and works really well. There are 3 cameras
active in the village the moment, and I am building out 3 more at the
moment, so we should have reasonable coverage soon.
On the identification part, yes, I would love to do that. I noted that the
webpage tries to guess at the moment, so I am thinking about storing that
info as an initial cut once I figure out where to get it from. Also, It
turns out that a few folks round here are dev's, so we might get more bells
and whistles added in future. Which makes me wonder, I don't really want
to fork your project and work on it without you, so what do you think about
adding more contributors? I fully understand if you say no, and of course,
if that is the case you are welcome to work on the fork of course!
Look forward to hearing from you.
Cheers,
Richie
…On Wed, 3 Jul 2019 at 11:27, Claude Pageau ***@***.***> wrote:
Thanks for the link to your project. Keep up the good work. I will check
occasionally to see how your data looks.
My camera has run for several years. That is why I added sqlite3. My Data
is not always vehicles, since it can pick up birds flying by, me cutting
the grass, pedestrians walking on our side of the street, etc. I have
thought of adding post processing to have opencv recognize catalog
objects. It would be nice to have a breakdown of vehicle, types like cars,
trucks, buses, motorcycle, bicycle, backhoes, garbage trucks Etc).
BTW are you processing night data?
Regards Claude ...
On Tue, Jul 2, 2019 at 8:15 PM Richie Jarvis ***@***.***>
wrote:
> btw - i am in the process of transferring the data from my lab up, so
> please excuse the lack of data!
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <
#37?email_source=notifications&email_token=ABNPKZETMJMXKKCNBJQ2NB3P5PVQXA5CNFSM4H45NYH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZC4QFI#issuecomment-507889685
>,
> or mute the thread
> <
https://github.com/notifications/unsubscribe-auth/ABNPKZG3VJABJM5MAJGO44TP5PVQXANCNFSM4H45NYHQ
>
> .
>
--
See my YouTube Channel at http://www.youtube.com/user/pageaucp
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#37?email_source=notifications&email_token=AAG3Y4TVUQ2D2QKZWBYBOYTP5R5IRA5CNFSM4H45NYH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZEAN7Y#issuecomment-508036863>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAG3Y4U4RTVOZPHQPA3PHLDP5R5IRANCNFSM4H45NYHQ>
.
|
I accept github project push/merge requests from contributors after
reviewing changes to make sure they are OK. Anyone can clone the project
and send updates to the project.
Some dev's have translated speed-cam to javascript. One user rewrote speed
cam project in a more package cross platform format. These were separate
forks.
Please note I have been retired for approx 13 years and just do this as a
hobby. Speed cam started as a demo and gradually got more complex to
handle python2 and 3. Use webcam, better logging and error checking Etc
Claude ...
Claude ...
On Wed, Jul 3, 2019 at 10:14 AM Richie Jarvis <notifications@github.com>
wrote:
… Hi Claude,
Thank you for the kind words. Yes, we are processing night data at the
moment. sqlite3 is great, and works really well. There are 3 cameras
active in the village the moment, and I am building out 3 more at the
moment, so we should have reasonable coverage soon.
On the identification part, yes, I would love to do that. I noted that the
webpage tries to guess at the moment, so I am thinking about storing that
info as an initial cut once I figure out where to get it from. Also, It
turns out that a few folks round here are dev's, so we might get more bells
and whistles added in future. Which makes me wonder, I don't really want
to fork your project and work on it without you, so what do you think about
adding more contributors? I fully understand if you say no, and of course,
if that is the case you are welcome to work on the fork of course!
Look forward to hearing from you.
Cheers,
Richie
On Wed, 3 Jul 2019 at 11:27, Claude Pageau ***@***.***>
wrote:
> Thanks for the link to your project. Keep up the good work. I will check
> occasionally to see how your data looks.
> My camera has run for several years. That is why I added sqlite3. My Data
> is not always vehicles, since it can pick up birds flying by, me cutting
> the grass, pedestrians walking on our side of the street, etc. I have
> thought of adding post processing to have opencv recognize catalog
> objects. It would be nice to have a breakdown of vehicle, types like
cars,
> trucks, buses, motorcycle, bicycle, backhoes, garbage trucks Etc).
> BTW are you processing night data?
>
> Regards Claude ...
>
>
> On Tue, Jul 2, 2019 at 8:15 PM Richie Jarvis ***@***.***>
> wrote:
>
> > btw - i am in the process of transferring the data from my lab up, so
> > please excuse the lack of data!
> >
> > —
> > You are receiving this because you commented.
> > Reply to this email directly, view it on GitHub
> > <
>
#37?email_source=notifications&email_token=ABNPKZETMJMXKKCNBJQ2NB3P5PVQXA5CNFSM4H45NYH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZC4QFI#issuecomment-507889685
> >,
> > or mute the thread
> > <
>
https://github.com/notifications/unsubscribe-auth/ABNPKZG3VJABJM5MAJGO44TP5PVQXANCNFSM4H45NYHQ
> >
> > .
> >
>
>
> --
> See my YouTube Channel at http://www.youtube.com/user/pageaucp
>
> —
> You are receiving this because you modified the open/close state.
> Reply to this email directly, view it on GitHub
> <
#37?email_source=notifications&email_token=AAG3Y4TVUQ2D2QKZWBYBOYTP5R5IRA5CNFSM4H45NYH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZEAN7Y#issuecomment-508036863
>,
> or mute the thread
> <
https://github.com/notifications/unsubscribe-auth/AAG3Y4U4RTVOZPHQPA3PHLDP5R5IRANCNFSM4H45NYHQ
>
> .
>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#37?email_source=notifications&email_token=ABNPKZE7C2VCCYSY46KAQR3P5SX4JA5CNFSM4H45NYH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZESWLA#issuecomment-508111660>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABNPKZFZOV4J2HPGUPMPIUTP5SX4JANCNFSM4H45NYHQ>
.
--
See my YouTube Channel at http://www.youtube.com/user/pageaucp
|
Hi Richie
I have updated speed-cam.py to version 9.3. This fixes some bugs and adds
some better error messaging.
Fixed Fatal error when imagesSubDirMaxHours is greater than 0.
Note Normally you would set subdir creation for max files or elapsed hours
but you could set both. If you set by max hours and duration is short you
may may get empty folders. I still recommend using max files to create
subfolders rather than elapsed time.
Also fixed DeleteOldFiles function to give better error message. Sometimes
you might delete files in the media/images folder and break the symlink in
recent folder. This creates an error when globbing the recent folder to
delete oldest symlink file since some symlinks do not point to a file. The
fix is to delete all files in the media/recent folder. This should fix the
problem and new recent symlinks will be created that correctly point to
existing image files.
Give this version a try and let me know if you have any issues.
You can upgrade by running the menubox.sh UPGRADE menu pick
Thanks for your feedback
Regards Claude ....
…On Wed, Jul 3, 2019 at 11:50 AM Claude Pageau ***@***.***> wrote:
I accept github project push/merge requests from contributors after
reviewing changes to make sure they are OK. Anyone can clone the project
and send updates to the project.
Some dev's have translated speed-cam to javascript. One user rewrote
speed cam project in a more package cross platform format. These were
separate forks.
Please note I have been retired for approx 13 years and just do this as a
hobby. Speed cam started as a demo and gradually got more complex to
handle python2 and 3. Use webcam, better logging and error checking Etc
Claude ...
Claude ...
On Wed, Jul 3, 2019 at 10:14 AM Richie Jarvis ***@***.***>
wrote:
> Hi Claude,
>
> Thank you for the kind words. Yes, we are processing night data at the
> moment. sqlite3 is great, and works really well. There are 3 cameras
> active in the village the moment, and I am building out 3 more at the
> moment, so we should have reasonable coverage soon.
>
> On the identification part, yes, I would love to do that. I noted that the
> webpage tries to guess at the moment, so I am thinking about storing that
> info as an initial cut once I figure out where to get it from. Also, It
> turns out that a few folks round here are dev's, so we might get more
> bells
> and whistles added in future. Which makes me wonder, I don't really want
> to fork your project and work on it without you, so what do you think
> about
> adding more contributors? I fully understand if you say no, and of course,
> if that is the case you are welcome to work on the fork of course!
>
> Look forward to hearing from you.
>
> Cheers,
>
> Richie
>
> On Wed, 3 Jul 2019 at 11:27, Claude Pageau ***@***.***>
> wrote:
>
> > Thanks for the link to your project. Keep up the good work. I will check
> > occasionally to see how your data looks.
> > My camera has run for several years. That is why I added sqlite3. My
> Data
> > is not always vehicles, since it can pick up birds flying by, me cutting
> > the grass, pedestrians walking on our side of the street, etc. I have
> > thought of adding post processing to have opencv recognize catalog
> > objects. It would be nice to have a breakdown of vehicle, types like
> cars,
> > trucks, buses, motorcycle, bicycle, backhoes, garbage trucks Etc).
> > BTW are you processing night data?
> >
> > Regards Claude ...
> >
> >
> > On Tue, Jul 2, 2019 at 8:15 PM Richie Jarvis ***@***.***>
> > wrote:
> >
> > > btw - i am in the process of transferring the data from my lab up, so
> > > please excuse the lack of data!
> > >
> > > —
> > > You are receiving this because you commented.
> > > Reply to this email directly, view it on GitHub
> > > <
> >
> #37?email_source=notifications&email_token=ABNPKZETMJMXKKCNBJQ2NB3P5PVQXA5CNFSM4H45NYH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZC4QFI#issuecomment-507889685
> > >,
> > > or mute the thread
> > > <
> >
> https://github.com/notifications/unsubscribe-auth/ABNPKZG3VJABJM5MAJGO44TP5PVQXANCNFSM4H45NYHQ
> > >
> > > .
> > >
> >
> >
> > --
> > See my YouTube Channel at http://www.youtube.com/user/pageaucp
> >
> > —
> > You are receiving this because you modified the open/close state.
> > Reply to this email directly, view it on GitHub
> > <
> #37?email_source=notifications&email_token=AAG3Y4TVUQ2D2QKZWBYBOYTP5R5IRA5CNFSM4H45NYH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZEAN7Y#issuecomment-508036863
> >,
> > or mute the thread
> > <
> https://github.com/notifications/unsubscribe-auth/AAG3Y4U4RTVOZPHQPA3PHLDP5R5IRANCNFSM4H45NYHQ
> >
> > .
> >
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#37?email_source=notifications&email_token=ABNPKZE7C2VCCYSY46KAQR3P5SX4JA5CNFSM4H45NYH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZESWLA#issuecomment-508111660>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ABNPKZFZOV4J2HPGUPMPIUTP5SX4JANCNFSM4H45NYHQ>
> .
>
--
See my YouTube Channel at http://www.youtube.com/user/pageaucp
--
See my YouTube Channel at http://www.youtube.com/user/pageaucp
|
Thanks Claude - I'll give it a try on my new rpi's ;)
Loving the work - and you are teaching me python too - thanks!
Cheers,
Richie
…On Tue, 9 Jul 2019 at 02:16, Claude Pageau ***@***.***> wrote:
Hi Richie
I have updated speed-cam.py to version 9.3. This fixes some bugs and adds
some better error messaging.
Fixed Fatal error when imagesSubDirMaxHours is greater than 0.
Note Normally you would set subdir creation for max files or elapsed hours
but you could set both. If you set by max hours and duration is short you
may may get empty folders. I still recommend using max files to create
subfolders rather than elapsed time.
Also fixed DeleteOldFiles function to give better error message. Sometimes
you might delete files in the media/images folder and break the symlink in
recent folder. This creates an error when globbing the recent folder to
delete oldest symlink file since some symlinks do not point to a file. The
fix is to delete all files in the media/recent folder. This should fix the
problem and new recent symlinks will be created that correctly point to
existing image files.
Give this version a try and let me know if you have any issues.
You can upgrade by running the menubox.sh UPGRADE menu pick
Thanks for your feedback
Regards Claude ....
On Wed, Jul 3, 2019 at 11:50 AM Claude Pageau ***@***.***> wrote:
> I accept github project push/merge requests from contributors after
> reviewing changes to make sure they are OK. Anyone can clone the project
> and send updates to the project.
> Some dev's have translated speed-cam to javascript. One user rewrote
> speed cam project in a more package cross platform format. These were
> separate forks.
> Please note I have been retired for approx 13 years and just do this as a
> hobby. Speed cam started as a demo and gradually got more complex to
> handle python2 and 3. Use webcam, better logging and error checking Etc
> Claude ...
>
> Claude ...
>
> On Wed, Jul 3, 2019 at 10:14 AM Richie Jarvis ***@***.***>
> wrote:
>
>> Hi Claude,
>>
>> Thank you for the kind words. Yes, we are processing night data at the
>> moment. sqlite3 is great, and works really well. There are 3 cameras
>> active in the village the moment, and I am building out 3 more at the
>> moment, so we should have reasonable coverage soon.
>>
>> On the identification part, yes, I would love to do that. I noted that
the
>> webpage tries to guess at the moment, so I am thinking about storing
that
>> info as an initial cut once I figure out where to get it from. Also, It
>> turns out that a few folks round here are dev's, so we might get more
>> bells
>> and whistles added in future. Which makes me wonder, I don't really want
>> to fork your project and work on it without you, so what do you think
>> about
>> adding more contributors? I fully understand if you say no, and of
course,
>> if that is the case you are welcome to work on the fork of course!
>>
>> Look forward to hearing from you.
>>
>> Cheers,
>>
>> Richie
>>
>> On Wed, 3 Jul 2019 at 11:27, Claude Pageau ***@***.***>
>> wrote:
>>
>> > Thanks for the link to your project. Keep up the good work. I will
check
>> > occasionally to see how your data looks.
>> > My camera has run for several years. That is why I added sqlite3. My
>> Data
>> > is not always vehicles, since it can pick up birds flying by, me
cutting
>> > the grass, pedestrians walking on our side of the street, etc. I have
>> > thought of adding post processing to have opencv recognize catalog
>> > objects. It would be nice to have a breakdown of vehicle, types like
>> cars,
>> > trucks, buses, motorcycle, bicycle, backhoes, garbage trucks Etc).
>> > BTW are you processing night data?
>> >
>> > Regards Claude ...
>> >
>> >
>> > On Tue, Jul 2, 2019 at 8:15 PM Richie Jarvis <
***@***.***>
>> > wrote:
>> >
>> > > btw - i am in the process of transferring the data from my lab up,
so
>> > > please excuse the lack of data!
>> > >
>> > > —
>> > > You are receiving this because you commented.
>> > > Reply to this email directly, view it on GitHub
>> > > <
>> >
>>
#37?email_source=notifications&email_token=ABNPKZETMJMXKKCNBJQ2NB3P5PVQXA5CNFSM4H45NYH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZC4QFI#issuecomment-507889685
>> > >,
>> > > or mute the thread
>> > > <
>> >
>>
https://github.com/notifications/unsubscribe-auth/ABNPKZG3VJABJM5MAJGO44TP5PVQXANCNFSM4H45NYHQ
>> > >
>> > > .
>> > >
>> >
>> >
>> > --
>> > See my YouTube Channel at http://www.youtube.com/user/pageaucp
>> >
>> > —
>> > You are receiving this because you modified the open/close state.
>> > Reply to this email directly, view it on GitHub
>> > <
>>
#37?email_source=notifications&email_token=AAG3Y4TVUQ2D2QKZWBYBOYTP5R5IRA5CNFSM4H45NYH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZEAN7Y#issuecomment-508036863
>> >,
>> > or mute the thread
>> > <
>>
https://github.com/notifications/unsubscribe-auth/AAG3Y4U4RTVOZPHQPA3PHLDP5R5IRANCNFSM4H45NYHQ
>> >
>> > .
>> >
>>
>> —
>> You are receiving this because you commented.
>> Reply to this email directly, view it on GitHub
>> <
#37?email_source=notifications&email_token=ABNPKZE7C2VCCYSY46KAQR3P5SX4JA5CNFSM4H45NYH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZESWLA#issuecomment-508111660
>,
>> or mute the thread
>> <
https://github.com/notifications/unsubscribe-auth/ABNPKZFZOV4J2HPGUPMPIUTP5SX4JANCNFSM4H45NYHQ
>
>> .
>>
>
>
> --
> See my YouTube Channel at http://www.youtube.com/user/pageaucp
>
--
See my YouTube Channel at http://www.youtube.com/user/pageaucp
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#37?email_source=notifications&email_token=AAG3Y4WZMLXIRSFVZNJITELP6PRGNA5CNFSM4H45NYH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZOZEQY#issuecomment-509448771>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAG3Y4UNJ67H6XHTJYHWJBDP6PRGNANCNFSM4H45NYHQ>
.
|
Hi Claude,
I've not investigated yet, but I note you are in the process of changing the time format. Well, it breaks it :(
I've roll my Production instances to the previous version, but wanted to let you know ASAP, so sorry for the 'raw' bug report.
Cheers,
Richie
The text was updated successfully, but these errors were encountered: