mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Speed up the algorithm by fixing the abs() issue. Do not use that function in any of your code. It by itself cut the speed of the code in half. I don't know what's in that function but I'm guessing it does ABS of a float using ints or something. I made the zoom parameter functional now too so you can use lens_corr to zoom in on the image. Argument parsing is handled too. Finally, I updated the only script where this is used. Note that I'm able to get more than 10 FPS at 160x120 on the M4 and 15 FPS at 160x120 on the M7. Previous this was at about 5 FPS and 7.5 FPS respectively. |
||
|---|---|---|
| .. | ||
| edges.py | ||
| hog.py | ||
| keypoints_save.py | ||
| keypoints.py | ||
| lbp.py | ||
| lines.py | ||
| optical_flow.py | ||
| qrcodes_with_lens_corr.py | ||
| qrcodes_with_lens_zoom.py | ||
| template_matching.py | ||