Sam

Results 34 comments of Sam

In most (programming code related) cases, warnings can be ignored. It could be that you need to update your camera drivers.

Something like: ```js var pdf2table = require('pdf2table'); var fs = require('fs'); var logger = fs.createWriteStream('log.txt', { flags: 'a' }) fs.readFile('./test.pdf', function (err, buffer) { if (err) return console.log(err); pdf2table.parse(buffer, function...

I've not tested the code, but from the looks of it I think you can fix it by replacing `image_bigger` with `IM_BIGGER` which changed name in the [major update commit](https://github.com/pageauc/speed-camera/commit/8988834c178c05a737083469ec5ad414accde4a2#diff-117426151e93a626f8b46bfdb3a95b3f4a62e5f4dd6e65975a7c50759bf04482)....

you should not use the json directly but extract the necessary fields yourself. Include the 'code' field like the error states ;-)

I think the easiest way is to go to http://localhost:37760/debug and paste it inside the box and hit 'ingest' ;-)

If I understand it correctly, the location of the detected box moved further away than 30 px, thus registering the event as `Out`, correct? Zooming out solved it. I guess...

I also have set my camera to 720p, here are my tweaks: ``` MO_TRACK_EVENT_COUNT = 7 MO_MIN_AREA_PX = 9000 MO_MAX_X_DIFF_PX = 250 MO_MIN_X_DIFF_PX = 5 IM_BIGGER = 1 ``` Increased...

You can increase `MO_MAX_X_DIFF_PX` so it's above the numbers you are seeing here ``` Max D=30>=20px Max D=67>=20px Max D=30>=20px Max D=30>=20px ``` If cars move really fast, the difference...

There's a noble organisation? Oh no... :-)