utils module

@author: Carlton Joseph

utils.basefn(imgfns, color, channel)[source]
class utils.car(img, car, y_top, x, y)[source]

Bases: object

class utils.car_analysis[source]

Bases: object

Analysis of car size measure on test images

utils.check_md5sum()[source]

Check to verify that all the trained svm are actually different

utils.check_single(items)[source]
utils.check_singles(channels, ssahbs, colors)[source]
class utils.detect(channel, ssahb, color, train_big, heat_only, xy_windows, subsample, heat_thres, history)[source]

Bases: object

get_cars(image)[source]
utils.gen_channels()[source]

Shows all channel for a given image and color space by creating images

utils.gen_trained_sets(train_big, cfg)[source]
utils.gen_view_md()[source]
utils.get_example_fns(train_big)[source]

Get image files name based on configuration

utils.get_example_out_fn(img)[source]

Creates an output filename based on an input filename

utils.get_image_fns(base_dirs)[source]

Get image filenames from a directory set

utils.get_video_out(v_in, channel, ssahb, color, bs, thres, history)[source]
utils.load_trained_svm(fn)[source]
utils.print_img_info(img)[source]

Prints some information about an image

utils.save_fn(train_big, ssahb, channel, color, ss, fn)[source]
utils.save_trained_svm(fn, svc, X_scaler)[source]
utils.scale_img(img)[source]

Scales an image to full scale values

utils.show_feature_info(cat, notcar)[source]
utils.store_example_image(imgs)[source]

Extracts the middle image out of a list of images

utils.store_example_images(cars, notcars)[source]

Saves the middle image of cars and notcars

class utils.time_log(tlog)[source]

Bases: object

time()[source]
utils.trained_fn(train_big, ssahb, channel, color)[source]
utils.view_fn(train_big, ssahb, channel, color, fn)[source]