Artifacts from camera after running CNN and frame differencing

A PR was submitted to fix this issue. Fix exceptions from freeing fb_alloc_mark by kwagyeman · Pull Request #489 · openmv/openmv · GitHub. Attached is the fixed firmware.
firmware.zip (1.82 MB)

I tried the new firmware but was unable to see the fix because my program got an error right at the beginning.

I was getting "couldn’t find file at this line:

net = nn.load('trashscan-5.network')

However, my file is loaded in the SD. Reverting back to the previous firmware and it’s able to find the file.

Can you put a slash in front of the file name?

Sorry I haven’t answered this in a while. I’ve been too busy to try out the slash in front.

I just tried to run my program on the latest release (3.3.1). I downloaded it from the Github. The program runs no problem and I didn’t have to add the slash. I reimplemented my code to run with the background frame buffer and there’s no issue with artifacts.

Thanks,
Nicholas

Great, we were able to fix something. Ibrahim is working on the accuracy issues now.