First see the documentation for this project (the embedded
pod converted into html), which is available here:
Image::BoxFind pod.
The following is the actual code for the project (including test files), converted into web browseable form.
Alternately, if you are so inclined you may just download the tar ball.
Image/BoxFind.pm
Tests of primitives (all should pass: prove '0*.t' '1*.t' ):
Image/t/00-basics-scan_right_one_pix-major_color-average_color.t
Image/t/01-looks_rectangular.t
Image/t/02-is_dupe_box-uniq_boxes-sort_boxes.t
Image/t/03-scans_and_turns_using_luminence_also_plus_edge_detect.t
Image/t/04-dump_rects-is_rect-is_rect_list.t
Image/t/05-roughly_raster_simple_cases-color_distance-pre_pixpat.t
Image/t/07-determine_pixpat_transverse.t
Image/t/08-follow_pixpat_methods.t
Image/t/09-has_pixpat_changed_past_threshold-color_distance.t
Image/t/10-boxfind_downward_via_pixpat-firefox_save_as.t
Image/t/11-looks_like_edge.t
Image/t/12-scan_for_edgey_pixpat.t
Image/t/13-boxfind_downward_purely_via_pixpat-firefox_save_as.t
Image/t/14-set_direction.t
Image/t/15-direction_axis_direction_sign.t
Image/t/16-spot_bounds_truncate.t
Image/t/17-center_on_edge.t
Image/t/18-save_image_using_suffix.t
Image/t/19-draw_rects.t
Tests of techniques under development (not all will pass):
Image/t/22-roughly_raster-boxfind_downward_via_pixpat.t
Image/t/23-bang_along-look_up_for_rect_via_pixpat.t
Image/t/24-roughly_raster-look_down_for_rect_purely_via_pixpat.t
Image/t/25-roughly_raster-boxfind_downward_recenter.t
Image/t/26-smart_sweep_for_squarish_shapes.t
Library of data used by test code (expected rectangles, as determined by
"eyeballing" the images):
Image/t/lib/Image/BoxFind/Testing/Eyeballs.pm
Image/t/lib/Image/BoxFind/Testing/t/Image-BoxFind-Testing-Eyeballs.t