├── .gitignore ├── ISSUE_TEMPLATE.md ├── MANIFEST.in ├── README.md ├── dlib ├── .gitignore ├── .hgignore ├── .hgtags ├── README.txt ├── dlib │ ├── CMakeLists.txt │ ├── LICENSE.txt │ ├── README.txt │ ├── add_python_module │ ├── algs.h │ ├── all │ │ └── source.cpp │ ├── all_console.cpp │ ├── all_gui.cpp │ ├── any.h │ ├── any │ │ ├── any.h │ │ ├── any_abstract.h │ │ ├── any_decision_function.h │ │ ├── any_decision_function_abstract.h │ │ ├── any_function.h │ │ ├── any_function_abstract.h │ │ ├── any_function_impl.h │ │ ├── any_function_impl2.h │ │ ├── any_trainer.h │ │ └── any_trainer_abstract.h │ ├── array.h │ ├── array │ │ ├── array_kernel.h │ │ ├── array_kernel_abstract.h │ │ ├── array_tools.h │ │ └── array_tools_abstract.h │ ├── array2d.h │ ├── array2d │ │ ├── array2d_generic_image.h │ │ ├── array2d_kernel.h │ │ ├── array2d_kernel_abstract.h │ │ └── serialize_pixel_overloads.h │ ├── assert.h │ ├── base64.h │ ├── base64 │ │ ├── base64_kernel_1.cpp │ │ ├── base64_kernel_1.h │ │ └── base64_kernel_abstract.h │ ├── bayes_utils.h │ ├── bayes_utils │ │ ├── bayes_utils.h │ │ └── bayes_utils_abstract.h │ ├── bigint.h │ ├── bigint │ │ ├── bigint_kernel_1.cpp │ │ ├── bigint_kernel_1.h │ │ ├── bigint_kernel_2.cpp │ │ ├── bigint_kernel_2.h │ │ ├── bigint_kernel_abstract.h │ │ └── bigint_kernel_c.h │ ├── binary_search_tree.h │ ├── binary_search_tree │ │ ├── binary_search_tree_kernel_1.h │ │ ├── binary_search_tree_kernel_2.h │ │ ├── binary_search_tree_kernel_abstract.h │ │ └── binary_search_tree_kernel_c.h │ ├── bit_stream.h │ ├── bit_stream │ │ ├── bit_stream_kernel_1.cpp │ │ ├── bit_stream_kernel_1.h │ │ ├── bit_stream_kernel_abstract.h │ │ ├── bit_stream_kernel_c.h │ │ ├── bit_stream_multi_1.h │ │ ├── bit_stream_multi_abstract.h │ │ └── bit_stream_multi_c.h │ ├── bound_function_pointer.h │ ├── bound_function_pointer │ │ ├── bound_function_pointer_kernel_1.h │ │ └── bound_function_pointer_kernel_abstract.h │ ├── bridge.h │ ├── bridge │ │ ├── bridge.h │ │ └── bridge_abstract.h │ ├── bsp.h │ ├── bsp │ │ ├── bsp.cpp │ │ ├── bsp.h │ │ └── bsp_abstract.h │ ├── byte_orderer.h │ ├── byte_orderer │ │ ├── byte_orderer_kernel_1.h │ │ └── byte_orderer_kernel_abstract.h │ ├── cassert │ ├── clustering.h │ ├── clustering │ │ ├── bottom_up_cluster.h │ │ ├── bottom_up_cluster_abstract.h │ │ ├── chinese_whispers.h │ │ ├── chinese_whispers_abstract.h │ │ ├── modularity_clustering.h │ │ ├── modularity_clustering_abstract.h │ │ ├── spectral_cluster.h │ │ └── spectral_cluster_abstract.h │ ├── cmake │ ├── cmake_find_blas.txt │ ├── cmd_line_parser.h │ ├── cmd_line_parser │ │ ├── cmd_line_parser_check_1.h │ │ ├── cmd_line_parser_check_c.h │ │ ├── cmd_line_parser_kernel_1.h │ │ ├── cmd_line_parser_kernel_abstract.h │ │ ├── cmd_line_parser_kernel_c.h │ │ ├── cmd_line_parser_print_1.h │ │ ├── get_option.h │ │ └── get_option_abstract.h │ ├── compress_stream.h │ ├── compress_stream │ │ ├── compress_stream_kernel_1.h │ │ ├── compress_stream_kernel_2.h │ │ ├── compress_stream_kernel_3.h │ │ └── compress_stream_kernel_abstract.h │ ├── conditioning_class.h │ ├── conditioning_class │ │ ├── conditioning_class_kernel_1.h │ │ ├── conditioning_class_kernel_2.h │ │ ├── conditioning_class_kernel_3.h │ │ ├── conditioning_class_kernel_4.h │ │ ├── conditioning_class_kernel_abstract.h │ │ └── conditioning_class_kernel_c.h │ ├── config.h │ ├── config_reader.h │ ├── config_reader │ │ ├── config_reader_kernel_1.h │ │ ├── config_reader_kernel_abstract.h │ │ ├── config_reader_thread_safe_1.h │ │ └── config_reader_thread_safe_abstract.h │ ├── console_progress_indicator.h │ ├── control.h │ ├── control │ │ ├── approximate_linear_models.h │ │ ├── approximate_linear_models_abstract.h │ │ ├── lspi.h │ │ ├── lspi_abstract.h │ │ ├── mpc.h │ │ └── mpc_abstract.h │ ├── cpp_pretty_printer.h │ ├── cpp_pretty_printer │ │ ├── cpp_pretty_printer_kernel_1.h │ │ ├── cpp_pretty_printer_kernel_2.h │ │ └── cpp_pretty_printer_kernel_abstract.h │ ├── cpp_tokenizer.h │ ├── cpp_tokenizer │ │ ├── cpp_tokenizer_kernel_1.h │ │ ├── cpp_tokenizer_kernel_abstract.h │ │ └── cpp_tokenizer_kernel_c.h │ ├── crc32.h │ ├── crc32 │ │ ├── crc32_kernel_1.h │ │ └── crc32_kernel_abstract.h │ ├── cstring │ ├── data_io.h │ ├── data_io │ │ ├── image_dataset_metadata.cpp │ │ ├── image_dataset_metadata.h │ │ ├── libsvm_io.h │ │ ├── libsvm_io_abstract.h │ │ ├── load_image_dataset.h │ │ └── load_image_dataset_abstract.h │ ├── dir_nav.h │ ├── dir_nav │ │ ├── dir_nav_extensions.cpp │ │ ├── dir_nav_extensions.h │ │ ├── dir_nav_extensions_abstract.h │ │ ├── dir_nav_kernel_1.cpp │ │ ├── dir_nav_kernel_1.h │ │ ├── dir_nav_kernel_2.cpp │ │ ├── dir_nav_kernel_2.h │ │ ├── dir_nav_kernel_abstract.h │ │ ├── posix.h │ │ └── windows.h │ ├── directed_graph.h │ ├── directed_graph │ │ ├── directed_graph_kernel_1.h │ │ └── directed_graph_kernel_abstract.h │ ├── disjoint_subsets.h │ ├── disjoint_subsets │ │ ├── disjoint_subsets.h │ │ └── disjoint_subsets_abstract.h │ ├── dlib_include_path_tutorial.txt │ ├── enable_if.h │ ├── entropy_decoder.h │ ├── entropy_decoder │ │ ├── entropy_decoder_kernel_1.cpp │ │ ├── entropy_decoder_kernel_1.h │ │ ├── entropy_decoder_kernel_2.cpp │ │ ├── entropy_decoder_kernel_2.h │ │ ├── entropy_decoder_kernel_abstract.h │ │ └── entropy_decoder_kernel_c.h │ ├── entropy_decoder_model.h │ ├── entropy_decoder_model │ │ ├── entropy_decoder_model_kernel_1.h │ │ ├── entropy_decoder_model_kernel_2.h │ │ ├── entropy_decoder_model_kernel_3.h │ │ ├── entropy_decoder_model_kernel_4.h │ │ ├── entropy_decoder_model_kernel_5.h │ │ ├── entropy_decoder_model_kernel_6.h │ │ └── entropy_decoder_model_kernel_abstract.h │ ├── entropy_encoder.h │ ├── entropy_encoder │ │ ├── entropy_encoder_kernel_1.cpp │ │ ├── entropy_encoder_kernel_1.h │ │ ├── entropy_encoder_kernel_2.cpp │ │ ├── entropy_encoder_kernel_2.h │ │ ├── entropy_encoder_kernel_abstract.h │ │ └── entropy_encoder_kernel_c.h │ ├── entropy_encoder_model.h │ ├── entropy_encoder_model │ │ ├── entropy_encoder_model_kernel_1.h │ │ ├── entropy_encoder_model_kernel_2.h │ │ ├── entropy_encoder_model_kernel_3.h │ │ ├── entropy_encoder_model_kernel_4.h │ │ ├── entropy_encoder_model_kernel_5.h │ │ ├── entropy_encoder_model_kernel_6.h │ │ ├── entropy_encoder_model_kernel_abstract.h │ │ └── entropy_encoder_model_kernel_c.h │ ├── error.h │ ├── external │ │ ├── libjpeg │ │ │ ├── README │ │ │ ├── jcapimin.cpp │ │ │ ├── jcapistd.cpp │ │ │ ├── jccoefct.cpp │ │ │ ├── jccolor.cpp │ │ │ ├── jcdctmgr.cpp │ │ │ ├── jchuff.cpp │ │ │ ├── jchuff.h │ │ │ ├── jcinit.cpp │ │ │ ├── jcmainct.cpp │ │ │ ├── jcmarker.cpp │ │ │ ├── jcmaster.cpp │ │ │ ├── jcomapi.cpp │ │ │ ├── jconfig.h │ │ │ ├── jcparam.cpp │ │ │ ├── jcphuff.cpp │ │ │ ├── jcprepct.cpp │ │ │ ├── jcsample.cpp │ │ │ ├── jdapimin.cpp │ │ │ ├── jdapistd.cpp │ │ │ ├── jdatadst.cpp │ │ │ ├── jdatasrc.cpp │ │ │ ├── jdcoefct.cpp │ │ │ ├── jdcolor.cpp │ │ │ ├── jdct.h │ │ │ ├── jddctmgr.cpp │ │ │ ├── jdhuff.cpp │ │ │ ├── jdhuff.h │ │ │ ├── jdinput.cpp │ │ │ ├── jdmainct.cpp │ │ │ ├── jdmarker.cpp │ │ │ ├── jdmaster.cpp │ │ │ ├── jdmerge.cpp │ │ │ ├── jdphuff.cpp │ │ │ ├── jdpostct.cpp │ │ │ ├── jdsample.cpp │ │ │ ├── jerror.cpp │ │ │ ├── jerror.h │ │ │ ├── jfdctflt.cpp │ │ │ ├── jfdctfst.cpp │ │ │ ├── jfdctint.cpp │ │ │ ├── jidctflt.cpp │ │ │ ├── jidctfst.cpp │ │ │ ├── jidctint.cpp │ │ │ ├── jidctred.cpp │ │ │ ├── jinclude.h │ │ │ ├── jmemmgr.cpp │ │ │ ├── jmemnobs.cpp │ │ │ ├── jmemsys.h │ │ │ ├── jmorecfg.h │ │ │ ├── jpegint.h │ │ │ ├── jpeglib.h │ │ │ ├── jquant1.cpp │ │ │ ├── jquant2.cpp │ │ │ ├── jutils.cpp │ │ │ └── jversion.h │ │ ├── libpng │ │ │ ├── LICENSE │ │ │ ├── README │ │ │ ├── png.c │ │ │ ├── png.h │ │ │ ├── pngconf.h │ │ │ ├── pngdebug.h │ │ │ ├── pngerror.c │ │ │ ├── pngget.c │ │ │ ├── pnginfo.h │ │ │ ├── pnglibconf.h │ │ │ ├── pngmem.c │ │ │ ├── pngpread.c │ │ │ ├── pngpriv.h │ │ │ ├── pngread.c │ │ │ ├── pngrio.c │ │ │ ├── pngrtran.c │ │ │ ├── pngrutil.c │ │ │ ├── pngset.c │ │ │ ├── pngstruct.h │ │ │ ├── pngtrans.c │ │ │ ├── pngwio.c │ │ │ ├── pngwrite.c │ │ │ ├── pngwtran.c │ │ │ └── pngwutil.c │ │ └── zlib │ │ │ ├── README │ │ │ ├── adler32.c │ │ │ ├── compress.c │ │ │ ├── crc32.c │ │ │ ├── crc32.h │ │ │ ├── deflate.c │ │ │ ├── deflate.h │ │ │ ├── gzclose.c │ │ │ ├── gzguts.h │ │ │ ├── gzlib.c │ │ │ ├── gzread.c │ │ │ ├── gzwrite.c │ │ │ ├── infback.c │ │ │ ├── inffast.c │ │ │ ├── inffast.h │ │ │ ├── inffixed.h │ │ │ ├── inflate.c │ │ │ ├── inflate.h │ │ │ ├── inftrees.c │ │ │ ├── inftrees.h │ │ │ ├── trees.c │ │ │ ├── trees.h │ │ │ ├── uncompr.c │ │ │ ├── zconf.h │ │ │ ├── zlib.h │ │ │ ├── zutil.c │ │ │ └── zutil.h │ ├── filtering.h │ ├── filtering │ │ ├── kalman_filter.h │ │ ├── kalman_filter_abstract.h │ │ ├── rls_filter.h │ │ └── rls_filter_abstract.h │ ├── float_details.h │ ├── fstream │ ├── general_hash │ │ ├── count_bits.h │ │ ├── count_bits_abstract.h │ │ ├── general_hash.h │ │ ├── hash.h │ │ ├── hash_abstract.h │ │ ├── murmur_hash3.h │ │ ├── murmur_hash3_abstract.h │ │ ├── random_hashing.h │ │ └── random_hashing_abstract.h │ ├── geometry.h │ ├── geometry │ │ ├── border_enumerator.h │ │ ├── border_enumerator_abstract.h │ │ ├── drectangle.h │ │ ├── drectangle_abstract.h │ │ ├── point_transforms.h │ │ ├── point_transforms_abstract.h │ │ ├── rectangle.h │ │ ├── rectangle_abstract.h │ │ ├── vector.h │ │ └── vector_abstract.h │ ├── graph.h │ ├── graph │ │ ├── graph_kernel_1.h │ │ └── graph_kernel_abstract.h │ ├── graph_cuts.h │ ├── graph_cuts │ │ ├── find_max_factor_graph_potts.h │ │ ├── find_max_factor_graph_potts_abstract.h │ │ ├── general_flow_graph.h │ │ ├── general_potts_problem.h │ │ ├── graph_labeler.h │ │ ├── graph_labeler_abstract.h │ │ ├── min_cut.h │ │ └── min_cut_abstract.h │ ├── graph_utils.h │ ├── graph_utils │ │ ├── edge_list_graphs.h │ │ ├── edge_list_graphs_abstract.h │ │ ├── find_k_nearest_neighbors_lsh.h │ │ ├── find_k_nearest_neighbors_lsh_abstract.h │ │ ├── function_objects.h │ │ ├── function_objects_abstract.h │ │ ├── graph_utils.h │ │ ├── graph_utils_abstract.h │ │ ├── ordered_sample_pair.h │ │ ├── ordered_sample_pair_abstract.h │ │ ├── sample_pair.h │ │ └── sample_pair_abstract.h │ ├── graph_utils_threaded.h │ ├── gui_core.h │ ├── gui_core │ │ ├── gui_core_kernel_1.cpp │ │ ├── gui_core_kernel_1.h │ │ ├── gui_core_kernel_2.cpp │ │ ├── gui_core_kernel_2.h │ │ ├── gui_core_kernel_abstract.h │ │ ├── windows.h │ │ └── xlib.h │ ├── gui_widgets.h │ ├── gui_widgets │ │ ├── base_widgets.cpp │ │ ├── base_widgets.h │ │ ├── base_widgets_abstract.h │ │ ├── canvas_drawing.cpp │ │ ├── canvas_drawing.h │ │ ├── canvas_drawing_abstract.h │ │ ├── drawable.cpp │ │ ├── drawable.h │ │ ├── drawable_abstract.h │ │ ├── fonts.cpp │ │ ├── fonts.h │ │ ├── fonts_abstract.h │ │ ├── nativefont.h │ │ ├── style.cpp │ │ ├── style.h │ │ ├── style_abstract.h │ │ ├── widgets.cpp │ │ ├── widgets.h │ │ └── widgets_abstract.h │ ├── hash.h │ ├── hash_map.h │ ├── hash_map │ │ ├── hash_map_kernel_1.h │ │ ├── hash_map_kernel_abstract.h │ │ └── hash_map_kernel_c.h │ ├── hash_set.h │ ├── hash_set │ │ ├── hash_set_kernel_1.h │ │ ├── hash_set_kernel_abstract.h │ │ └── hash_set_kernel_c.h │ ├── hash_table.h │ ├── hash_table │ │ ├── hash_table_kernel_1.h │ │ ├── hash_table_kernel_2.h │ │ ├── hash_table_kernel_abstract.h │ │ └── hash_table_kernel_c.h │ ├── http_client │ │ ├── http_client.cpp │ │ ├── http_client.h │ │ └── http_client_abstract.h │ ├── image_io.h │ ├── image_keypoint.h │ ├── image_keypoint │ │ ├── binned_vector_feature_image.h │ │ ├── binned_vector_feature_image_abstract.h │ │ ├── build_separable_poly_filters.h │ │ ├── draw_surf_points.h │ │ ├── draw_surf_points_abstract.h │ │ ├── fine_hog_image.h │ │ ├── fine_hog_image_abstract.h │ │ ├── hashed_feature_image.h │ │ ├── hashed_feature_image_abstract.h │ │ ├── hessian_pyramid.h │ │ ├── hessian_pyramid_abstract.h │ │ ├── hog.h │ │ ├── hog_abstract.h │ │ ├── nearest_neighbor_feature_image.h │ │ ├── nearest_neighbor_feature_image_abstract.h │ │ ├── poly_image.h │ │ ├── poly_image_abstract.h │ │ ├── surf.h │ │ └── surf_abstract.h │ ├── image_loader │ │ ├── image_loader.h │ │ ├── image_loader_abstract.h │ │ ├── jpeg_loader.cpp │ │ ├── jpeg_loader.h │ │ ├── jpeg_loader_abstract.h │ │ ├── load_image.h │ │ ├── load_image_abstract.h │ │ ├── png_loader.cpp │ │ ├── png_loader.h │ │ └── png_loader_abstract.h │ ├── image_processing.h │ ├── image_processing │ │ ├── box_overlap_testing.h │ │ ├── box_overlap_testing_abstract.h │ │ ├── correlation_tracker.h │ │ ├── correlation_tracker_abstract.h │ │ ├── detection_template_tools.h │ │ ├── detection_template_tools_abstract.h │ │ ├── frontal_face_detector.h │ │ ├── frontal_face_detector_abstract.h │ │ ├── full_object_detection.h │ │ ├── full_object_detection_abstract.h │ │ ├── generic_image.h │ │ ├── object_detector.h │ │ ├── object_detector_abstract.h │ │ ├── remove_unobtainable_rectangles.h │ │ ├── remove_unobtainable_rectangles_abstract.h │ │ ├── render_face_detections.h │ │ ├── render_face_detections_abstract.h │ │ ├── scan_fhog_pyramid.h │ │ ├── scan_fhog_pyramid_abstract.h │ │ ├── scan_image.h │ │ ├── scan_image_abstract.h │ │ ├── scan_image_boxes.h │ │ ├── scan_image_boxes_abstract.h │ │ ├── scan_image_custom.h │ │ ├── scan_image_custom_abstract.h │ │ ├── scan_image_pyramid.h │ │ ├── scan_image_pyramid_abstract.h │ │ ├── scan_image_pyramid_tools.h │ │ ├── scan_image_pyramid_tools_abstract.h │ │ ├── setup_hashed_features.h │ │ ├── setup_hashed_features_abstract.h │ │ ├── shape_predictor.h │ │ └── shape_predictor_abstract.h │ ├── image_saver │ │ ├── dng_shared.h │ │ ├── image_saver.h │ │ ├── image_saver_abstract.h │ │ ├── save_jpeg.cpp │ │ ├── save_jpeg.h │ │ ├── save_jpeg_abstract.h │ │ ├── save_png.cpp │ │ ├── save_png.h │ │ └── save_png_abstract.h │ ├── image_transforms.h │ ├── image_transforms │ │ ├── assign_image.h │ │ ├── assign_image_abstract.h │ │ ├── colormaps.h │ │ ├── colormaps_abstract.h │ │ ├── draw.h │ │ ├── draw_abstract.h │ │ ├── edge_detector.h │ │ ├── edge_detector_abstract.h │ │ ├── equalize_histogram.h │ │ ├── equalize_histogram_abstract.h │ │ ├── fhog.h │ │ ├── fhog_abstract.h │ │ ├── hough_transform.h │ │ ├── hough_transform_abstract.h │ │ ├── image_pyramid.h │ │ ├── image_pyramid_abstract.h │ │ ├── integral_image.h │ │ ├── integral_image_abstract.h │ │ ├── interpolation.h │ │ ├── interpolation_abstract.h │ │ ├── label_connected_blobs.h │ │ ├── label_connected_blobs_abstract.h │ │ ├── lbp.h │ │ ├── lbp_abstract.h │ │ ├── morphological_operations.h │ │ ├── morphological_operations_abstract.h │ │ ├── segment_image.h │ │ ├── segment_image_abstract.h │ │ ├── spatial_filtering.h │ │ ├── spatial_filtering_abstract.h │ │ ├── thresholding.h │ │ └── thresholding_abstract.h │ ├── interfaces │ │ ├── cmd_line_parser_option.h │ │ ├── enumerable.h │ │ ├── map_pair.h │ │ └── remover.h │ ├── iomanip │ ├── iosfwd │ ├── iosockstream.h │ ├── iosockstream │ │ ├── iosockstream.h │ │ └── iosockstream_abstract.h │ ├── iostream │ ├── is_kind.h │ ├── istream │ ├── linker.h │ ├── linker │ │ ├── linker_kernel_1.cpp │ │ ├── linker_kernel_1.h │ │ └── linker_kernel_abstract.h │ ├── locale │ ├── logger.h │ ├── logger │ │ ├── extra_logger_headers.cpp │ │ ├── extra_logger_headers.h │ │ ├── logger_config_file.cpp │ │ ├── logger_config_file.h │ │ ├── logger_kernel_1.cpp │ │ ├── logger_kernel_1.h │ │ └── logger_kernel_abstract.h │ ├── lsh.h │ ├── lsh │ │ ├── create_random_projection_hash.h │ │ ├── create_random_projection_hash_abstract.h │ │ ├── hashes.h │ │ ├── hashes_abstract.h │ │ ├── projection_hash.h │ │ └── projection_hash_abstract.h │ ├── lz77_buffer.h │ ├── lz77_buffer │ │ ├── lz77_buffer_kernel_1.h │ │ ├── lz77_buffer_kernel_2.h │ │ ├── lz77_buffer_kernel_abstract.h │ │ └── lz77_buffer_kernel_c.h │ ├── lzp_buffer.h │ ├── lzp_buffer │ │ ├── lzp_buffer_kernel_1.h │ │ ├── lzp_buffer_kernel_2.h │ │ ├── lzp_buffer_kernel_abstract.h │ │ └── lzp_buffer_kernel_c.h │ ├── manifold_regularization.h │ ├── manifold_regularization │ │ ├── linear_manifold_regularizer.h │ │ └── linear_manifold_regularizer_abstract.h │ ├── map.h │ ├── map │ │ ├── map_kernel_1.h │ │ ├── map_kernel_abstract.h │ │ └── map_kernel_c.h │ ├── matlab │ │ ├── CMakeLists.txt │ │ ├── README.txt │ │ ├── call_matlab.h │ │ ├── cmake_mex_wrapper │ │ ├── example.m │ │ ├── example_mex_callback.cpp │ │ ├── example_mex_function.cpp │ │ └── mex_wrapper.cpp │ ├── matrix.h │ ├── matrix │ │ ├── cblas_constants.h │ │ ├── lapack │ │ │ ├── fortran_id.h │ │ │ ├── gees.h │ │ │ ├── geev.h │ │ │ ├── geqrf.h │ │ │ ├── gesdd.h │ │ │ ├── gesvd.h │ │ │ ├── getrf.h │ │ │ ├── ormqr.h │ │ │ ├── potrf.h │ │ │ ├── syev.h │ │ │ └── syevr.h │ │ ├── matrix.h │ │ ├── matrix_abstract.h │ │ ├── matrix_assign.h │ │ ├── matrix_assign_fwd.h │ │ ├── matrix_blas_bindings.h │ │ ├── matrix_cholesky.h │ │ ├── matrix_conj_trans.h │ │ ├── matrix_conv.h │ │ ├── matrix_conv_abstract.h │ │ ├── matrix_data_layout.h │ │ ├── matrix_data_layout_abstract.h │ │ ├── matrix_default_mul.h │ │ ├── matrix_eigenvalue.h │ │ ├── matrix_exp.h │ │ ├── matrix_exp_abstract.h │ │ ├── matrix_expressions.h │ │ ├── matrix_fft.h │ │ ├── matrix_fft_abstract.h │ │ ├── matrix_fwd.h │ │ ├── matrix_generic_image.h │ │ ├── matrix_la.h │ │ ├── matrix_la_abstract.h │ │ ├── matrix_lu.h │ │ ├── matrix_mat.h │ │ ├── matrix_mat_abstract.h │ │ ├── matrix_math_functions.h │ │ ├── matrix_math_functions_abstract.h │ │ ├── matrix_op.h │ │ ├── matrix_qr.h │ │ ├── matrix_read_from_istream.h │ │ ├── matrix_subexp.h │ │ ├── matrix_subexp_abstract.h │ │ ├── matrix_trsm.h │ │ ├── matrix_utilities.h │ │ ├── matrix_utilities_abstract.h │ │ ├── symmetric_matrix_cache.h │ │ └── symmetric_matrix_cache_abstract.h │ ├── md5.h │ ├── md5 │ │ ├── md5_kernel_1.cpp │ │ ├── md5_kernel_1.h │ │ └── md5_kernel_abstract.h │ ├── member_function_pointer.h │ ├── member_function_pointer │ │ ├── make_mfp.h │ │ ├── make_mfp_abstract.h │ │ ├── member_function_pointer_kernel_1.h │ │ └── member_function_pointer_kernel_abstract.h │ ├── memory_manager.h │ ├── memory_manager │ │ ├── memory_manager_kernel_1.h │ │ ├── memory_manager_kernel_2.h │ │ ├── memory_manager_kernel_3.h │ │ └── memory_manager_kernel_abstract.h │ ├── memory_manager_global.h │ ├── memory_manager_global │ │ ├── memory_manager_global_kernel_1.h │ │ └── memory_manager_global_kernel_abstract.h │ ├── memory_manager_stateless.h │ ├── memory_manager_stateless │ │ ├── memory_manager_stateless_kernel_1.h │ │ ├── memory_manager_stateless_kernel_2.h │ │ └── memory_manager_stateless_kernel_abstract.h │ ├── misc_api.h │ ├── misc_api │ │ ├── misc_api_kernel_1.cpp │ │ ├── misc_api_kernel_1.h │ │ ├── misc_api_kernel_2.cpp │ │ ├── misc_api_kernel_2.h │ │ ├── misc_api_kernel_abstract.h │ │ ├── misc_api_shared.h │ │ ├── posix.h │ │ └── windows.h │ ├── mlp.h │ ├── mlp │ │ ├── mlp_kernel_1.h │ │ ├── mlp_kernel_abstract.h │ │ └── mlp_kernel_c.h │ ├── noncopyable.h │ ├── numeric_constants.h │ ├── numerical_integration.h │ ├── numerical_integration │ │ ├── integrate_function_adapt_simpson.h │ │ └── integrate_function_adapt_simpson_abstract.h │ ├── opencv.h │ ├── opencv │ │ ├── cv_image.h │ │ ├── cv_image_abstract.h │ │ ├── to_open_cv.h │ │ └── to_open_cv_abstract.h │ ├── optimization.h │ ├── optimization │ │ ├── find_max_factor_graph_nmplp.h │ │ ├── find_max_factor_graph_nmplp_abstract.h │ │ ├── find_max_factor_graph_viterbi.h │ │ ├── find_max_factor_graph_viterbi_abstract.h │ │ ├── find_max_parse_cky.h │ │ ├── find_max_parse_cky_abstract.h │ │ ├── max_cost_assignment.h │ │ ├── max_cost_assignment_abstract.h │ │ ├── max_sum_submatrix.h │ │ ├── max_sum_submatrix_abstract.h │ │ ├── optimization.h │ │ ├── optimization_abstract.h │ │ ├── optimization_bobyqa.h │ │ ├── optimization_bobyqa_abstract.h │ │ ├── optimization_least_squares.h │ │ ├── optimization_least_squares_abstract.h │ │ ├── optimization_line_search.h │ │ ├── optimization_line_search_abstract.h │ │ ├── optimization_oca.h │ │ ├── optimization_oca_abstract.h │ │ ├── optimization_search_strategies.h │ │ ├── optimization_search_strategies_abstract.h │ │ ├── optimization_solve_qp2_using_smo.h │ │ ├── optimization_solve_qp2_using_smo_abstract.h │ │ ├── optimization_solve_qp3_using_smo.h │ │ ├── optimization_solve_qp3_using_smo_abstract.h │ │ ├── optimization_solve_qp_using_smo.h │ │ ├── optimization_solve_qp_using_smo_abstract.h │ │ ├── optimization_stop_strategies.h │ │ ├── optimization_stop_strategies_abstract.h │ │ ├── optimization_trust_region.h │ │ └── optimization_trust_region_abstract.h │ ├── ostream │ ├── pipe.h │ ├── pipe │ │ ├── pipe_kernel_1.h │ │ └── pipe_kernel_abstract.h │ ├── pixel.h │ ├── platform.h │ ├── python.h │ ├── python │ │ ├── boost_python_utils.h │ │ ├── numpy.h │ │ ├── numpy_image.h │ │ ├── pyassert.h │ │ └── serialize_pickle.h │ ├── quantum_computing.h │ ├── quantum_computing │ │ ├── quantum_computing.h │ │ └── quantum_computing_abstract.h │ ├── queue.h │ ├── queue │ │ ├── queue_kernel_1.h │ │ ├── queue_kernel_2.h │ │ ├── queue_kernel_abstract.h │ │ ├── queue_kernel_c.h │ │ ├── queue_sort_1.h │ │ └── queue_sort_abstract.h │ ├── rand.h │ ├── rand │ │ ├── mersenne_twister.h │ │ ├── rand_kernel_1.h │ │ └── rand_kernel_abstract.h │ ├── ref.h │ ├── reference_counter.h │ ├── reference_counter │ │ ├── reference_counter_kernel_1.h │ │ └── reference_counter_kernel_abstract.h │ ├── release_build_by_default │ ├── sequence.h │ ├── sequence │ │ ├── sequence_compare_1.h │ │ ├── sequence_compare_abstract.h │ │ ├── sequence_kernel_1.h │ │ ├── sequence_kernel_2.h │ │ ├── sequence_kernel_abstract.h │ │ ├── sequence_kernel_c.h │ │ ├── sequence_sort_1.h │ │ ├── sequence_sort_2.h │ │ └── sequence_sort_abstract.h │ ├── serialize.h │ ├── server.h │ ├── server │ │ ├── server_http.cpp │ │ ├── server_http.h │ │ ├── server_http_abstract.h │ │ ├── server_iostream.cpp │ │ ├── server_iostream.h │ │ ├── server_iostream_abstract.h │ │ ├── server_kernel.cpp │ │ ├── server_kernel.h │ │ └── server_kernel_abstract.h │ ├── set.h │ ├── set │ │ ├── set_compare_1.h │ │ ├── set_compare_abstract.h │ │ ├── set_kernel_1.h │ │ ├── set_kernel_abstract.h │ │ └── set_kernel_c.h │ ├── set_utils.h │ ├── set_utils │ │ ├── set_utils.h │ │ └── set_utils_abstract.h │ ├── simd.h │ ├── simd │ │ ├── simd4f.h │ │ ├── simd4i.h │ │ ├── simd8f.h │ │ ├── simd8i.h │ │ └── simd_check.h │ ├── sliding_buffer.h │ ├── sliding_buffer │ │ ├── circular_buffer.h │ │ ├── circular_buffer_abstract.h │ │ ├── sliding_buffer_kernel_1.h │ │ ├── sliding_buffer_kernel_abstract.h │ │ └── sliding_buffer_kernel_c.h │ ├── smart_pointers.h │ ├── smart_pointers │ │ ├── scoped_ptr.h │ │ ├── scoped_ptr_abstract.h │ │ ├── shared_ptr.h │ │ ├── shared_ptr_abstract.h │ │ ├── shared_ptr_thread_safe.h │ │ ├── shared_ptr_thread_safe_abstract.h │ │ ├── weak_ptr.h │ │ └── weak_ptr_abstract.h │ ├── smart_pointers_thread_safe.h │ ├── sockets.h │ ├── sockets │ │ ├── posix.h │ │ ├── sockets_extensions.cpp │ │ ├── sockets_extensions.h │ │ ├── sockets_extensions_abstract.h │ │ ├── sockets_kernel_1.cpp │ │ ├── sockets_kernel_1.h │ │ ├── sockets_kernel_2.cpp │ │ ├── sockets_kernel_2.h │ │ ├── sockets_kernel_abstract.h │ │ └── windows.h │ ├── sockstreambuf.h │ ├── sockstreambuf │ │ ├── sockstreambuf.cpp │ │ ├── sockstreambuf.h │ │ ├── sockstreambuf_abstract.h │ │ ├── sockstreambuf_unbuffered.cpp │ │ └── sockstreambuf_unbuffered.h │ ├── sort.h │ ├── sparse_vector.h │ ├── sqlite.h │ ├── sqlite │ │ ├── sqlite.h │ │ ├── sqlite_abstract.h │ │ ├── sqlite_tools.h │ │ └── sqlite_tools_abstract.h │ ├── sstream │ ├── stack.h │ ├── stack │ │ ├── stack_kernel_1.h │ │ ├── stack_kernel_abstract.h │ │ └── stack_kernel_c.h │ ├── stack_trace.cpp │ ├── stack_trace.h │ ├── static_map.h │ ├── static_map │ │ ├── static_map_kernel_1.h │ │ ├── static_map_kernel_abstract.h │ │ └── static_map_kernel_c.h │ ├── static_set.h │ ├── static_set │ │ ├── static_set_compare_1.h │ │ ├── static_set_compare_abstract.h │ │ ├── static_set_kernel_1.h │ │ ├── static_set_kernel_abstract.h │ │ └── static_set_kernel_c.h │ ├── statistics.h │ ├── statistics │ │ ├── average_precision.h │ │ ├── average_precision_abstract.h │ │ ├── cca.h │ │ ├── cca_abstract.h │ │ ├── dpca.h │ │ ├── dpca_abstract.h │ │ ├── image_feature_sampling.h │ │ ├── image_feature_sampling_abstract.h │ │ ├── lda.h │ │ ├── lda_abstract.h │ │ ├── random_subset_selector.h │ │ ├── random_subset_selector_abstract.h │ │ ├── sammon.h │ │ ├── sammon_abstract.h │ │ ├── statistics.h │ │ ├── statistics_abstract.h │ │ ├── vector_normalizer_frobmetric.h │ │ └── vector_normalizer_frobmetric_abstract.h │ ├── std_allocator.h │ ├── stl_checked.h │ ├── stl_checked │ │ ├── std_vector_c.h │ │ └── std_vector_c_abstract.h │ ├── string.h │ ├── string │ │ ├── cassert │ │ ├── iomanip │ │ ├── iosfwd │ │ ├── iostream │ │ ├── locale │ │ ├── string.h │ │ └── string_abstract.h │ ├── svm.h │ ├── svm │ │ ├── active_learning.h │ │ ├── active_learning_abstract.h │ │ ├── assignment_function.h │ │ ├── assignment_function_abstract.h │ │ ├── cross_validate_assignment_trainer.h │ │ ├── cross_validate_assignment_trainer_abstract.h │ │ ├── cross_validate_graph_labeling_trainer.h │ │ ├── cross_validate_graph_labeling_trainer_abstract.h │ │ ├── cross_validate_multiclass_trainer.h │ │ ├── cross_validate_multiclass_trainer_abstract.h │ │ ├── cross_validate_object_detection_trainer.h │ │ ├── cross_validate_object_detection_trainer_abstract.h │ │ ├── cross_validate_regression_trainer.h │ │ ├── cross_validate_regression_trainer_abstract.h │ │ ├── cross_validate_sequence_labeler.h │ │ ├── cross_validate_sequence_labeler_abstract.h │ │ ├── cross_validate_sequence_segmenter.h │ │ ├── cross_validate_sequence_segmenter_abstract.h │ │ ├── cross_validate_track_association_trainer.h │ │ ├── cross_validate_track_association_trainer_abstract.h │ │ ├── empirical_kernel_map.h │ │ ├── empirical_kernel_map_abstract.h │ │ ├── feature_ranking.h │ │ ├── feature_ranking_abstract.h │ │ ├── function.h │ │ ├── function_abstract.h │ │ ├── kcentroid.h │ │ ├── kcentroid_abstract.h │ │ ├── kcentroid_overloads.h │ │ ├── kernel.h │ │ ├── kernel_abstract.h │ │ ├── kernel_matrix.h │ │ ├── kernel_matrix_abstract.h │ │ ├── kkmeans.h │ │ ├── kkmeans_abstract.h │ │ ├── krls.h │ │ ├── krls_abstract.h │ │ ├── krr_trainer.h │ │ ├── krr_trainer_abstract.h │ │ ├── linearly_independent_subset_finder.h │ │ ├── linearly_independent_subset_finder_abstract.h │ │ ├── multiclass_tools.h │ │ ├── multiclass_tools_abstract.h │ │ ├── null_df.h │ │ ├── null_trainer.h │ │ ├── null_trainer_abstract.h │ │ ├── num_nonnegative_weights.h │ │ ├── one_vs_all_decision_function.h │ │ ├── one_vs_all_decision_function_abstract.h │ │ ├── one_vs_all_trainer.h │ │ ├── one_vs_all_trainer_abstract.h │ │ ├── one_vs_one_decision_function.h │ │ ├── one_vs_one_decision_function_abstract.h │ │ ├── one_vs_one_trainer.h │ │ ├── one_vs_one_trainer_abstract.h │ │ ├── pegasos.h │ │ ├── pegasos_abstract.h │ │ ├── ranking_tools.h │ │ ├── ranking_tools_abstract.h │ │ ├── rbf_network.h │ │ ├── rbf_network_abstract.h │ │ ├── reduced.h │ │ ├── reduced_abstract.h │ │ ├── rls.h │ │ ├── rls_abstract.h │ │ ├── roc_trainer.h │ │ ├── roc_trainer_abstract.h │ │ ├── rr_trainer.h │ │ ├── rr_trainer_abstract.h │ │ ├── rvm.h │ │ ├── rvm_abstract.h │ │ ├── sequence_labeler.h │ │ ├── sequence_labeler_abstract.h │ │ ├── sequence_segmenter.h │ │ ├── sequence_segmenter_abstract.h │ │ ├── simplify_linear_decision_function.h │ │ ├── simplify_linear_decision_function_abstract.h │ │ ├── sort_basis_vectors.h │ │ ├── sort_basis_vectors_abstract.h │ │ ├── sparse_kernel.h │ │ ├── sparse_kernel_abstract.h │ │ ├── sparse_vector.h │ │ ├── sparse_vector_abstract.h │ │ ├── structural_assignment_trainer.h │ │ ├── structural_assignment_trainer_abstract.h │ │ ├── structural_graph_labeling_trainer.h │ │ ├── structural_graph_labeling_trainer_abstract.h │ │ ├── structural_object_detection_trainer.h │ │ ├── structural_object_detection_trainer_abstract.h │ │ ├── structural_sequence_labeling_trainer.h │ │ ├── structural_sequence_labeling_trainer_abstract.h │ │ ├── structural_sequence_segmentation_trainer.h │ │ ├── structural_sequence_segmentation_trainer_abstract.h │ │ ├── structural_svm_assignment_problem.h │ │ ├── structural_svm_assignment_problem_abstract.h │ │ ├── structural_svm_distributed.h │ │ ├── structural_svm_distributed_abstract.h │ │ ├── structural_svm_graph_labeling_problem.h │ │ ├── structural_svm_graph_labeling_problem_abstract.h │ │ ├── structural_svm_object_detection_problem.h │ │ ├── structural_svm_object_detection_problem_abstract.h │ │ ├── structural_svm_problem.h │ │ ├── structural_svm_problem_abstract.h │ │ ├── structural_svm_problem_threaded.h │ │ ├── structural_svm_problem_threaded_abstract.h │ │ ├── structural_svm_sequence_labeling_problem.h │ │ ├── structural_svm_sequence_labeling_problem_abstract.h │ │ ├── structural_track_association_trainer.h │ │ ├── structural_track_association_trainer_abstract.h │ │ ├── svm.h │ │ ├── svm_abstract.h │ │ ├── svm_c_ekm_trainer.h │ │ ├── svm_c_ekm_trainer_abstract.h │ │ ├── svm_c_linear_dcd_trainer.h │ │ ├── svm_c_linear_dcd_trainer_abstract.h │ │ ├── svm_c_linear_trainer.h │ │ ├── svm_c_linear_trainer_abstract.h │ │ ├── svm_c_trainer.h │ │ ├── svm_c_trainer_abstract.h │ │ ├── svm_multiclass_linear_trainer.h │ │ ├── svm_multiclass_linear_trainer_abstract.h │ │ ├── svm_nu_trainer.h │ │ ├── svm_nu_trainer_abstract.h │ │ ├── svm_one_class_trainer.h │ │ ├── svm_one_class_trainer_abstract.h │ │ ├── svm_rank_trainer.h │ │ ├── svm_rank_trainer_abstract.h │ │ ├── svm_threaded.h │ │ ├── svm_threaded_abstract.h │ │ ├── svr_linear_trainer.h │ │ ├── svr_linear_trainer_abstract.h │ │ ├── svr_trainer.h │ │ ├── svr_trainer_abstract.h │ │ ├── track_association_function.h │ │ └── track_association_function_abstract.h │ ├── svm_threaded.h │ ├── sync_extension.h │ ├── sync_extension │ │ ├── sync_extension_kernel_1.h │ │ └── sync_extension_kernel_abstract.h │ ├── test │ │ ├── CMakeLists.txt │ │ ├── active_learning.cpp │ │ ├── any.cpp │ │ ├── any_function.cpp │ │ ├── array.cpp │ │ ├── array2d.cpp │ │ ├── assignment_learning.cpp │ │ ├── base64.cpp │ │ ├── bayes_nets.cpp │ │ ├── bigint.cpp │ │ ├── binary_search_tree.h │ │ ├── binary_search_tree_kernel_1a.cpp │ │ ├── binary_search_tree_kernel_2a.cpp │ │ ├── binary_search_tree_mm1.cpp │ │ ├── binary_search_tree_mm2.cpp │ │ ├── blas_bindings │ │ │ ├── CMakeLists.txt │ │ │ ├── blas_bindings_dot.cpp │ │ │ ├── blas_bindings_gemm.cpp │ │ │ ├── blas_bindings_gemv.cpp │ │ │ ├── blas_bindings_ger.cpp │ │ │ ├── blas_bindings_scal_axpy.cpp │ │ │ └── vector.cpp │ │ ├── bridge.cpp │ │ ├── bsp.cpp │ │ ├── byte_orderer.cpp │ │ ├── cca.cpp │ │ ├── checkerboard.h │ │ ├── clustering.cpp │ │ ├── cmd_line_parser.cpp │ │ ├── cmd_line_parser.h │ │ ├── cmd_line_parser_wchar_t.cpp │ │ ├── compress_stream.cpp │ │ ├── conditioning_class.cpp │ │ ├── conditioning_class.h │ │ ├── conditioning_class_c.cpp │ │ ├── config_reader.cpp │ │ ├── crc32.cpp │ │ ├── create_iris_datafile.cpp │ │ ├── create_iris_datafile.h │ │ ├── data_io.cpp │ │ ├── directed_graph.cpp │ │ ├── discriminant_pca.cpp │ │ ├── disjoint_subsets.cpp │ │ ├── ekm_and_lisf.cpp │ │ ├── empirical_kernel_map.cpp │ │ ├── entropy_coder.cpp │ │ ├── entropy_encoder_model.cpp │ │ ├── example.cpp │ │ ├── example_args.cpp │ │ ├── examples │ │ │ └── CMakeLists.txt │ │ ├── face.cpp │ │ ├── fft.cpp │ │ ├── fhog.cpp │ │ ├── filtering.cpp │ │ ├── find_max_factor_graph_nmplp.cpp │ │ ├── find_max_factor_graph_viterbi.cpp │ │ ├── geometry.cpp │ │ ├── graph.cpp │ │ ├── graph_cuts.cpp │ │ ├── graph_labeler.cpp │ │ ├── gui │ │ │ ├── CMakeLists.txt │ │ │ └── main.cpp │ │ ├── hash.cpp │ │ ├── hash_map.cpp │ │ ├── hash_set.cpp │ │ ├── hash_table.cpp │ │ ├── hog_image.cpp │ │ ├── image.cpp │ │ ├── iosockstream.cpp │ │ ├── is_same_object.cpp │ │ ├── kcentroid.cpp │ │ ├── kernel_matrix.cpp │ │ ├── kmeans.cpp │ │ ├── learning_to_track.cpp │ │ ├── least_squares.cpp │ │ ├── linear_manifold_regularizer.cpp │ │ ├── lspi.cpp │ │ ├── lz77_buffer.cpp │ │ ├── main.cpp │ │ ├── makefile │ │ ├── map.cpp │ │ ├── matrix.cpp │ │ ├── matrix2.cpp │ │ ├── matrix3.cpp │ │ ├── matrix4.cpp │ │ ├── matrix_chol.cpp │ │ ├── matrix_eig.cpp │ │ ├── matrix_lu.cpp │ │ ├── matrix_qr.cpp │ │ ├── max_cost_assignment.cpp │ │ ├── max_sum_submatrix.cpp │ │ ├── md5.cpp │ │ ├── member_function_pointer.cpp │ │ ├── metaprogramming.cpp │ │ ├── mpc.cpp │ │ ├── multithreaded_object.cpp │ │ ├── numerical_integration.cpp │ │ ├── object_detector.cpp │ │ ├── oca.cpp │ │ ├── one_vs_all_trainer.cpp │ │ ├── one_vs_one_trainer.cpp │ │ ├── opt_qp_solver.cpp │ │ ├── optimization.cpp │ │ ├── optimization_test_functions.cpp │ │ ├── optimization_test_functions.h │ │ ├── parallel_for.cpp │ │ ├── parse.cpp │ │ ├── pipe.cpp │ │ ├── pixel.cpp │ │ ├── probabilistic.cpp │ │ ├── pyramid_down.cpp │ │ ├── queue.cpp │ │ ├── rand.cpp │ │ ├── ranking.cpp │ │ ├── read_write_mutex.cpp │ │ ├── reference_counter.cpp │ │ ├── rls.cpp │ │ ├── sammon.cpp │ │ ├── scan_image.cpp │ │ ├── sequence.cpp │ │ ├── sequence_labeler.cpp │ │ ├── sequence_segmenter.cpp │ │ ├── serialize.cpp │ │ ├── set.cpp │ │ ├── sldf.cpp │ │ ├── sliding_buffer.cpp │ │ ├── smart_pointers.cpp │ │ ├── sockets.cpp │ │ ├── sockets2.cpp │ │ ├── sockstreambuf.cpp │ │ ├── sparse_vector.cpp │ │ ├── stack.cpp │ │ ├── static_map.cpp │ │ ├── static_set.cpp │ │ ├── statistics.cpp │ │ ├── std_vector_c.cpp │ │ ├── string.cpp │ │ ├── svm.cpp │ │ ├── svm_c_linear.cpp │ │ ├── svm_c_linear_dcd.cpp │ │ ├── svm_multiclass_linear.cpp │ │ ├── svm_struct.cpp │ │ ├── svr_linear_trainer.cpp │ │ ├── symmetric_matrix_cache.cpp │ │ ├── tester.cpp │ │ ├── tester.h │ │ ├── thread_pool.cpp │ │ ├── threads.cpp │ │ ├── timer.cpp │ │ ├── tokenizer.cpp │ │ ├── trust_region.cpp │ │ ├── tuple.cpp │ │ ├── type_safe_union.cpp │ │ └── vectorstream.cpp │ ├── threads.h │ ├── threads │ │ ├── auto_mutex_extension.h │ │ ├── auto_mutex_extension_abstract.h │ │ ├── auto_unlock_extension.h │ │ ├── auto_unlock_extension_abstract.h │ │ ├── create_new_thread_extension.h │ │ ├── create_new_thread_extension_abstract.h │ │ ├── multithreaded_object_extension.cpp │ │ ├── multithreaded_object_extension.h │ │ ├── multithreaded_object_extension_abstract.h │ │ ├── parallel_for_extension.h │ │ ├── parallel_for_extension_abstract.h │ │ ├── posix.h │ │ ├── read_write_mutex_extension.h │ │ ├── read_write_mutex_extension_abstract.h │ │ ├── rmutex_extension.h │ │ ├── rmutex_extension_abstract.h │ │ ├── rsignaler_extension.h │ │ ├── rsignaler_extension_abstract.h │ │ ├── thread_function_extension.h │ │ ├── thread_function_extension_abstract.h │ │ ├── thread_pool_extension.cpp │ │ ├── thread_pool_extension.h │ │ ├── thread_pool_extension_abstract.h │ │ ├── thread_specific_data_extension.h │ │ ├── thread_specific_data_extension_abstract.h │ │ ├── threaded_object_extension.cpp │ │ ├── threaded_object_extension.h │ │ ├── threaded_object_extension_abstract.h │ │ ├── threads_kernel.h │ │ ├── threads_kernel_1.cpp │ │ ├── threads_kernel_1.h │ │ ├── threads_kernel_2.cpp │ │ ├── threads_kernel_2.h │ │ ├── threads_kernel_abstract.h │ │ ├── threads_kernel_shared.cpp │ │ ├── threads_kernel_shared.h │ │ └── windows.h │ ├── time_this.h │ ├── timeout.h │ ├── timeout │ │ ├── timeout.h │ │ └── timeout_abstract.h │ ├── timer.h │ ├── timer │ │ ├── timer.cpp │ │ ├── timer.h │ │ ├── timer_abstract.h │ │ └── timer_heavy.h │ ├── timing.h │ ├── tokenizer.h │ ├── tokenizer │ │ ├── tokenizer_kernel_1.cpp │ │ ├── tokenizer_kernel_1.h │ │ ├── tokenizer_kernel_abstract.h │ │ └── tokenizer_kernel_c.h │ ├── tuple.h │ ├── tuple │ │ ├── tuple.h │ │ └── tuple_abstract.h │ ├── type_safe_union.h │ ├── type_safe_union │ │ ├── type_safe_union_kernel.h │ │ └── type_safe_union_kernel_abstract.h │ ├── uintn.h │ ├── unicode.h │ ├── unicode │ │ ├── unicode.cpp │ │ ├── unicode.h │ │ └── unicode_abstract.h │ ├── unordered_pair.h │ ├── vectorstream.h │ ├── vectorstream │ │ ├── vectorstream.h │ │ └── vectorstream_abstract.h │ ├── windows_magic.h │ ├── xml_parser.h │ └── xml_parser │ │ ├── xml_parser_kernel_1.h │ │ ├── xml_parser_kernel_abstract.h │ │ └── xml_parser_kernel_interfaces.h ├── docs │ ├── .current_minor_release_number │ ├── .current_release_number │ ├── .logger_revnum │ ├── README.txt │ ├── docs │ │ ├── algorithms.xml │ │ ├── api.xml │ │ ├── bayes.xml │ │ ├── bigminus.gif │ │ ├── bigplus.gif │ │ ├── books.xml │ │ ├── boost.png │ │ ├── change_log.xml │ │ ├── chm │ │ │ ├── READ THE README. DO NOT EDIT THE TABLE OF CONTENTS FILE │ │ │ ├── READ THE README. DO NOT EDIT THE TABLE OF CONTENTS FILE2 │ │ │ ├── READ THE README. DO NOT EDIT THE TABLE OF CONTENTS FILE3 │ │ │ ├── README.txt │ │ │ ├── documentation.html │ │ │ ├── htmlhelp │ │ │ │ ├── hha.dll │ │ │ │ ├── hhc.exe │ │ │ │ ├── htmlhelp.reg │ │ │ │ ├── itcc.dll │ │ │ │ ├── itircl.dll │ │ │ │ ├── itss.dll │ │ │ │ └── setup_htmlhelp.sh │ │ │ ├── htmlhelp_stylesheet.xsl │ │ │ ├── lib.hhp │ │ │ └── toc.xml │ │ ├── compile.xml │ │ ├── compression.xml │ │ ├── containers.xml │ │ ├── dlib-icon-30x32.png │ │ ├── dlib-icon-32.png │ │ ├── dlib-icon-48.png │ │ ├── dlib-icon-64.png │ │ ├── dlib-icon.ico │ │ ├── dlib-logo-and-icons.svg │ │ ├── dlib-logo-small.png │ │ ├── dlib-logo.png │ │ ├── down.gif │ │ ├── enable_if.html │ │ ├── face_landmarking_example.png │ │ ├── faq.xml │ │ ├── graph_tools.xml │ │ ├── guipics │ │ │ ├── button.png │ │ │ ├── check_box.png │ │ │ ├── directed_graph_drawer.png │ │ │ ├── image_window.jpg │ │ │ ├── label.png │ │ │ ├── list_box.png │ │ │ ├── menu_bar.png │ │ │ ├── message_box.png │ │ │ ├── mouse_tracker.png │ │ │ ├── named_rectangle.png │ │ │ ├── open_existing_file_box.png │ │ │ ├── open_file_box.png │ │ │ ├── perspective_window.png │ │ │ ├── popup_menu.png │ │ │ ├── radio_button.png │ │ │ ├── save_file_box.png │ │ │ ├── scroll_bar.png │ │ │ ├── tabbed_display.png │ │ │ ├── text_box.png │ │ │ ├── text_field.png │ │ │ └── text_grid.png │ │ ├── heatmap.png │ │ ├── howto_contribute.xml │ │ ├── imaging.xml │ │ ├── index.xml │ │ ├── intro.xml │ │ ├── jet.png │ │ ├── kernel_1a.txt │ │ ├── kernel_1a.xml │ │ ├── kernel_1b.txt │ │ ├── kernel_1b.xml │ │ ├── kernel_1c.txt │ │ ├── kernel_1c.xml │ │ ├── kernel_1da.txt │ │ ├── kernel_1da.xml │ │ ├── kernel_1db.txt │ │ ├── kernel_1db.xml │ │ ├── kernel_1ea.txt │ │ ├── kernel_1ea.xml │ │ ├── kernel_1eb.txt │ │ ├── kernel_1eb.xml │ │ ├── kernel_1ec.txt │ │ ├── kernel_1ec.xml │ │ ├── kernel_2a.txt │ │ ├── kernel_2a.xml │ │ ├── kernel_3a.txt │ │ ├── kernel_3a.xml │ │ ├── kernel_3b.txt │ │ ├── kernel_3b.xml │ │ ├── license.xml │ │ ├── linear_algebra.xml │ │ ├── main_menu.xml │ │ ├── metaprogramming.xml │ │ ├── minus.gif │ │ ├── ml.xml │ │ ├── ml_guide.dia │ │ ├── ml_guide.svg │ │ ├── network.xml │ │ ├── old_change_log.xml │ │ ├── old_release_notes.xml │ │ ├── optimization.xml │ │ ├── other.xml │ │ ├── parsing.xml │ │ ├── plus.gif │ │ ├── python │ │ │ ├── conf.py │ │ │ ├── generate_dlib_listing.py │ │ │ └── index.rst │ │ ├── rbf_big_gamma.gif │ │ ├── rbf_normal.gif │ │ ├── rbf_small_gamma.gif │ │ ├── release_notes.xml │ │ ├── right.gif │ │ ├── stylesheet.xsl │ │ ├── term_index.xml │ │ ├── vs-cmake-gui.png │ │ ├── vs_mode_1.png │ │ ├── vs_mode_2.png │ │ └── vs_mode_3.png │ ├── makedocs │ ├── makerel │ ├── testenv │ └── testenv_rel ├── examples │ ├── 3d_point_cloud_ex.cpp │ ├── CMakeLists.txt │ ├── LICENSE_FOR_EXAMPLE_PROGRAMS.txt │ ├── assignment_learning_ex.cpp │ ├── bayes_net_ex.cpp │ ├── bayes_net_from_disk_ex.cpp │ ├── bayes_net_gui_ex.cpp │ ├── bridge_ex.cpp │ ├── bsp_ex.cpp │ ├── compress_stream_ex.cpp │ ├── config.txt │ ├── config_reader_ex.cpp │ ├── custom_trainer_ex.cpp │ ├── dir_nav_ex.cpp │ ├── empirical_kernel_map_ex.cpp │ ├── face_detection_ex.cpp │ ├── face_landmark_detection_ex.cpp │ ├── faces │ │ ├── 2007_007763.jpg │ │ ├── 2008_001009.jpg │ │ ├── 2008_001322.jpg │ │ ├── 2008_002079.jpg │ │ ├── 2008_002470.jpg │ │ ├── 2008_002506.jpg │ │ ├── 2008_004176.jpg │ │ ├── 2008_007676.jpg │ │ ├── 2009_004587.jpg │ │ ├── image_metadata_stylesheet.xsl │ │ ├── testing.xml │ │ ├── testing_with_face_landmarks.xml │ │ ├── training.xml │ │ └── training_with_face_landmarks.xml │ ├── fhog_ex.cpp │ ├── fhog_object_detector_ex.cpp │ ├── file_to_code_ex.cpp │ ├── graph_labeling_ex.cpp │ ├── gui_api_ex.cpp │ ├── hough_transform_ex.cpp │ ├── image_ex.cpp │ ├── integrate_function_adapt_simp_ex.cpp │ ├── iosockstream_ex.cpp │ ├── kcentroid_ex.cpp │ ├── kkmeans_ex.cpp │ ├── krls_ex.cpp │ ├── krls_filter_ex.cpp │ ├── krr_classification_ex.cpp │ ├── krr_regression_ex.cpp │ ├── learning_to_track_ex.cpp │ ├── least_squares_ex.cpp │ ├── linear_manifold_regularizer_ex.cpp │ ├── logger_custom_output_ex.cpp │ ├── logger_ex.cpp │ ├── logger_ex_2.cpp │ ├── matrix_ex.cpp │ ├── matrix_expressions_ex.cpp │ ├── max_cost_assignment_ex.cpp │ ├── member_function_pointer_ex.cpp │ ├── mlp_ex.cpp │ ├── model_selection_ex.cpp │ ├── mpc_ex.cpp │ ├── multiclass_classification_ex.cpp │ ├── multithreaded_object_ex.cpp │ ├── object_detector_advanced_ex.cpp │ ├── object_detector_ex.cpp │ ├── one_class_classifiers_ex.cpp │ ├── optimization_ex.cpp │ ├── parallel_for_ex.cpp │ ├── pipe_ex.cpp │ ├── pipe_ex_2.cpp │ ├── quantum_computing_ex.cpp │ ├── queue_ex.cpp │ ├── rank_features_ex.cpp │ ├── running_stats_ex.cpp │ ├── rvm_ex.cpp │ ├── rvm_regression_ex.cpp │ ├── sequence_labeler_ex.cpp │ ├── sequence_segmenter_ex.cpp │ ├── server_http_ex.cpp │ ├── server_iostream_ex.cpp │ ├── sockets_ex.cpp │ ├── sockstreambuf_ex.cpp │ ├── sqlite_ex.cpp │ ├── std_allocator_ex.cpp │ ├── surf_ex.cpp │ ├── svm_c_ex.cpp │ ├── svm_ex.cpp │ ├── svm_pegasos_ex.cpp │ ├── svm_rank_ex.cpp │ ├── svm_sparse_ex.cpp │ ├── svm_struct_ex.cpp │ ├── svr_ex.cpp │ ├── thread_function_ex.cpp │ ├── thread_pool_ex.cpp │ ├── threaded_object_ex.cpp │ ├── threads_ex.cpp │ ├── timer_ex.cpp │ ├── train_object_detector.cpp │ ├── train_shape_predictor_ex.cpp │ ├── using_custom_kernels_ex.cpp │ ├── video_frames │ │ ├── frame_000100.jpg │ │ ├── frame_000101.jpg │ │ ├── frame_000102.jpg │ │ ├── frame_000103.jpg │ │ ├── frame_000104.jpg │ │ ├── frame_000105.jpg │ │ ├── frame_000106.jpg │ │ ├── frame_000107.jpg │ │ ├── frame_000108.jpg │ │ ├── frame_000109.jpg │ │ ├── frame_000110.jpg │ │ ├── frame_000111.jpg │ │ ├── frame_000112.jpg │ │ ├── frame_000113.jpg │ │ ├── frame_000114.jpg │ │ ├── frame_000115.jpg │ │ ├── frame_000116.jpg │ │ ├── frame_000117.jpg │ │ ├── frame_000118.jpg │ │ ├── frame_000119.jpg │ │ ├── frame_000120.jpg │ │ ├── frame_000121.jpg │ │ ├── frame_000122.jpg │ │ ├── frame_000123.jpg │ │ ├── frame_000124.jpg │ │ ├── frame_000125.jpg │ │ ├── frame_000126.jpg │ │ ├── frame_000127.jpg │ │ ├── frame_000128.jpg │ │ ├── frame_000129.jpg │ │ ├── frame_000130.jpg │ │ ├── frame_000131.jpg │ │ ├── frame_000132.jpg │ │ ├── frame_000133.jpg │ │ ├── frame_000134.jpg │ │ ├── frame_000135.jpg │ │ ├── frame_000136.jpg │ │ ├── frame_000137.jpg │ │ ├── frame_000138.jpg │ │ ├── frame_000139.jpg │ │ ├── frame_000140.jpg │ │ ├── frame_000141.jpg │ │ ├── frame_000142.jpg │ │ ├── frame_000143.jpg │ │ ├── frame_000144.jpg │ │ ├── frame_000145.jpg │ │ ├── frame_000146.jpg │ │ ├── frame_000147.jpg │ │ ├── frame_000148.jpg │ │ ├── frame_000149.jpg │ │ ├── frame_000150.jpg │ │ ├── frame_000151.jpg │ │ ├── frame_000152.jpg │ │ ├── frame_000153.jpg │ │ ├── frame_000154.jpg │ │ ├── frame_000155.jpg │ │ ├── frame_000156.jpg │ │ ├── frame_000157.jpg │ │ ├── frame_000158.jpg │ │ ├── frame_000159.jpg │ │ ├── frame_000160.jpg │ │ ├── frame_000161.jpg │ │ ├── frame_000162.jpg │ │ ├── frame_000163.jpg │ │ ├── frame_000164.jpg │ │ ├── frame_000165.jpg │ │ ├── frame_000166.jpg │ │ ├── frame_000167.jpg │ │ ├── frame_000168.jpg │ │ ├── frame_000169.jpg │ │ ├── frame_000170.jpg │ │ ├── frame_000171.jpg │ │ ├── frame_000172.jpg │ │ ├── frame_000173.jpg │ │ ├── frame_000174.jpg │ │ ├── frame_000175.jpg │ │ ├── frame_000176.jpg │ │ ├── frame_000177.jpg │ │ ├── frame_000178.jpg │ │ ├── frame_000179.jpg │ │ ├── frame_000180.jpg │ │ ├── frame_000181.jpg │ │ ├── frame_000182.jpg │ │ ├── frame_000183.jpg │ │ ├── frame_000184.jpg │ │ ├── frame_000185.jpg │ │ ├── frame_000186.jpg │ │ ├── frame_000187.jpg │ │ ├── frame_000188.jpg │ │ ├── frame_000189.jpg │ │ ├── frame_000190.jpg │ │ ├── frame_000191.jpg │ │ ├── frame_000192.jpg │ │ ├── frame_000193.jpg │ │ ├── frame_000194.jpg │ │ ├── frame_000195.jpg │ │ ├── frame_000196.jpg │ │ ├── frame_000197.jpg │ │ ├── frame_000198.jpg │ │ ├── frame_000199.jpg │ │ ├── frame_000200.jpg │ │ ├── frame_000201.jpg │ │ ├── frame_000202.jpg │ │ ├── frame_000203.jpg │ │ ├── frame_000204.jpg │ │ ├── frame_000205.jpg │ │ ├── frame_000206.jpg │ │ ├── frame_000207.jpg │ │ ├── frame_000208.jpg │ │ ├── frame_000209.jpg │ │ ├── frame_000210.jpg │ │ ├── frame_000211.jpg │ │ ├── frame_000212.jpg │ │ ├── frame_000213.jpg │ │ ├── frame_000214.jpg │ │ ├── frame_000215.jpg │ │ ├── frame_000216.jpg │ │ ├── frame_000217.jpg │ │ ├── frame_000218.jpg │ │ ├── frame_000219.jpg │ │ ├── frame_000220.jpg │ │ ├── frame_000221.jpg │ │ ├── frame_000222.jpg │ │ ├── frame_000223.jpg │ │ ├── frame_000224.jpg │ │ ├── frame_000225.jpg │ │ ├── frame_000226.jpg │ │ ├── frame_000227.jpg │ │ ├── frame_000228.jpg │ │ ├── frame_000229.jpg │ │ ├── frame_000230.jpg │ │ ├── frame_000231.jpg │ │ ├── frame_000232.jpg │ │ ├── frame_000233.jpg │ │ ├── frame_000234.jpg │ │ ├── frame_000235.jpg │ │ ├── frame_000236.jpg │ │ ├── frame_000237.jpg │ │ ├── frame_000238.jpg │ │ ├── frame_000239.jpg │ │ ├── frame_000240.jpg │ │ ├── frame_000241.jpg │ │ ├── frame_000242.jpg │ │ ├── frame_000243.jpg │ │ ├── frame_000244.jpg │ │ ├── frame_000245.jpg │ │ ├── frame_000246.jpg │ │ ├── frame_000247.jpg │ │ ├── frame_000248.jpg │ │ ├── frame_000249.jpg │ │ ├── frame_000250.jpg │ │ └── license.txt │ ├── video_tracking_ex.cpp │ ├── webcam_face_pose_ex.cpp │ └── xml_parser_ex.cpp ├── python_examples │ ├── LICENSE_FOR_EXAMPLE_PROGRAMS.txt │ ├── compile_dlib_python_module.bat │ ├── correlation_tracker.py │ ├── face_detector.py │ ├── face_landmark_detection.py │ ├── find_candidate_object_locations.py │ ├── max_cost_assignment.py │ ├── sequence_segmenter.py │ ├── svm_rank.py │ ├── svm_struct.py │ ├── train_object_detector.py │ └── train_shape_predictor.py └── tools │ ├── htmlify │ ├── CMakeLists.txt │ ├── htmlify.cpp │ ├── to_xml.cpp │ ├── to_xml.h │ └── to_xml_example │ │ ├── bigminus.gif │ │ ├── bigplus.gif │ │ ├── example.xml │ │ ├── minus.gif │ │ ├── output.xml │ │ ├── plus.gif │ │ ├── stylesheet.xsl │ │ └── test.cpp │ ├── imglab │ ├── CMakeLists.txt │ ├── README.txt │ └── src │ │ ├── cluster.cpp │ │ ├── cluster.h │ │ ├── common.cpp │ │ ├── common.h │ │ ├── convert_idl.cpp │ │ ├── convert_idl.h │ │ ├── convert_pascal_v1.cpp │ │ ├── convert_pascal_v1.h │ │ ├── convert_pascal_xml.cpp │ │ ├── convert_pascal_xml.h │ │ ├── main.cpp │ │ ├── metadata_editor.cpp │ │ └── metadata_editor.h │ ├── mltool │ ├── CMakeLists.txt │ └── src │ │ ├── common.h │ │ ├── main.cpp │ │ ├── option_range.cpp │ │ ├── option_range.h │ │ ├── regression.cpp │ │ └── regression.h │ └── python │ ├── CMakeLists.txt │ └── src │ ├── basic.cpp │ ├── cca.cpp │ ├── conversion.h │ ├── correlation_tracker.cpp │ ├── decision_functions.cpp │ ├── dlib.cpp │ ├── gui.cpp │ ├── image.cpp │ ├── indexing.h │ ├── matrix.cpp │ ├── object_detection.cpp │ ├── other.cpp │ ├── rectangles.cpp │ ├── sequence_segmenter.cpp │ ├── serialize_object_detector.h │ ├── shape_predictor.cpp │ ├── shape_predictor.h │ ├── simple_object_detector.h │ ├── simple_object_detector_py.h │ ├── svm_c_trainer.cpp │ ├── svm_rank_trainer.cpp │ ├── svm_struct.cpp │ ├── testing_results.h │ └── vector.cpp ├── examples ├── C │ ├── ner │ │ ├── CMakeLists.txt │ │ ├── makefile │ │ └── ner_example.c │ └── relation_extraction │ │ ├── CMakeLists.txt │ │ ├── makefile │ │ └── relation_extraction_example.c ├── cpp │ ├── ner │ │ ├── CMakeLists.txt │ │ ├── makefile │ │ └── ner_example.cpp │ ├── relation_extraction │ │ ├── CMakeLists.txt │ │ ├── makefile │ │ └── relation_extraction_example.cpp │ ├── text_categorizer │ │ ├── CMakeLists.txt │ │ ├── makefile │ │ └── text_categorizer_example.cpp │ ├── train_ner │ │ ├── CMakeLists.txt │ │ ├── makefile │ │ └── train_ner_example.cpp │ ├── train_relation_extraction │ │ ├── CMakeLists.txt │ │ ├── makefile │ │ └── train_relation_extraction_example.cpp │ ├── train_text_categorizer │ │ ├── CMakeLists.txt │ │ ├── makefile │ │ └── train_text_categorizer_example.cpp │ └── train_text_categorizer_BoW │ │ ├── CMakeLists.txt │ │ ├── makefile │ │ └── train_text_categorizer_BoW_example.cpp ├── java │ ├── NerExample.java │ ├── TrainNerExample.java │ ├── TrainSeparateDocCategorizerExample.java │ ├── TrainSeparateNerExample.java │ ├── run_ner.bat │ ├── run_ner.sh │ ├── run_train_ner.sh │ ├── run_train_separate_doc_categorizer.sh │ └── run_train_separate_ner.sh ├── matlab │ ├── CMakeLists.txt │ ├── extract_entities.cpp │ ├── ner_example.m │ └── tokenize_file.cpp └── python │ ├── categorize_text.py │ ├── ner.py │ ├── text_categorizer_pure_model.py │ ├── text_categorizers_with_shared_feature_extractor.py │ ├── total_word_feature_vector.py │ ├── train_ner.py │ ├── train_relation_extraction.py │ └── train_text_categorizer.py ├── makefile ├── merge_changes_from_dlib ├── mitielib ├── CMakeLists.txt ├── LICENSE.txt ├── __init__.py ├── cmake ├── include │ ├── mitie.h │ └── mitie │ │ ├── approximate_substring_set.h │ │ ├── binary_relation_detector.h │ │ ├── binary_relation_detector_trainer.h │ │ ├── conll_parser.h │ │ ├── conll_tokenizer.h │ │ ├── count_min_sketch.h │ │ ├── gigaword_reader.h │ │ ├── group_tokenizer.h │ │ ├── named_entity_extractor.h │ │ ├── ner_feature_extraction.h │ │ ├── ner_trainer.h │ │ ├── stemmer.h │ │ ├── text_categorizer.h │ │ ├── text_categorizer_trainer.h │ │ ├── text_feature_extraction.h │ │ ├── total_word_feature_extractor.h │ │ ├── unigram_tokenizer.h │ │ └── word_morphology_feature_extractor.h ├── java │ ├── CMakeLists.txt │ ├── README │ ├── cmake_swig_jni │ └── swig_api.h ├── makefile ├── mitie.py ├── mitie_logo.png ├── mitie_logo.svg ├── src │ ├── binary_relation_detector.cpp │ ├── binary_relation_detector_trainer.cpp │ ├── conll_parser.cpp │ ├── mitie.cpp │ ├── named_entity_extractor.cpp │ ├── ner_feature_extraction.cpp │ ├── ner_trainer.cpp │ ├── stem.c │ ├── stemmer.cpp │ ├── text_categorizer.cpp │ ├── text_categorizer_trainer.cpp │ └── text_feature_extraction.cpp └── tell_visual_studio_to_use_static_runtime.cmake ├── sample_text.reference-output ├── sample_text.reference-output-relations ├── sample_text.txt ├── setup.py └── tools ├── R-binding ├── MITIE │ ├── DESCRIPTION │ ├── NAMESPACE │ ├── R │ │ └── MITIE.R │ ├── man │ │ ├── BinaryRelationDetector-class.Rd │ │ ├── BinaryRelationDetectorTrainer-class.Rd │ │ ├── MITIE-package.Rd │ │ ├── NERTrainer-class.Rd │ │ ├── NERTrainingInstance-class.Rd │ │ ├── NamedEntityExtractor-class.Rd │ │ ├── mitie_load_entire_file.Rd │ │ ├── mitie_range_overlaps.Rd │ │ └── mitie_tokenize.Rd │ └── src │ │ ├── Makevars │ │ ├── Makevars.win │ │ └── mitie_r.cpp ├── README.md ├── build_binary_package.sh ├── build_source_package.sh └── copy_source.sh ├── ner_conll ├── CMakeLists.txt ├── conlleval ├── src │ └── main.cpp └── train-ner ├── ner_stream ├── CMakeLists.txt ├── makefile └── src │ └── main.cpp ├── train_freebase_relation_detector ├── CMakeLists.txt └── src │ └── main.cpp └── wordrep ├── CMakeLists.txt └── src ├── basic_morph.cpp ├── basic_morph.h ├── cca_morph.cpp ├── cca_morph.h ├── doc_vects.cpp ├── doc_vects.h ├── main.cpp ├── word_vects.cpp └── word_vects.h /MANIFEST.in: -------------------------------------------------------------------------------- 1 | include makefile 2 | include mitielib/makefile 3 | recursive-include mitielib/src * 4 | recursive-include mitielib/include * 5 | recursive-include dlib/dlib * 6 | recursive-exclude * *.py[co] 7 | -------------------------------------------------------------------------------- /dlib/.gitignore: -------------------------------------------------------------------------------- 1 | **/.idea 2 | *~ 3 | *.swp 4 | *.o 5 | *.so 6 | build 7 | -------------------------------------------------------------------------------- /dlib/.hgignore: -------------------------------------------------------------------------------- 1 | /build/ 2 | /build2/ 3 | /build_clang/ 4 | \.swp$ 5 | \.o$ 6 | \.a$ 7 | \.orig$ 8 | \.obj$ 9 | \.pyc$ 10 | ^docs/release/ 11 | ^docs/docs/web/ 12 | ^docs/docs/chm/ 13 | ^docs/docs/cache/ 14 | ^docs/docs/log.txt$ 15 | ^docs/docs/old_log.txt$ 16 | ^dlib/test/debug.txt$ 17 | ^dlib/test/test$ 18 | ^dlib/test/makefile.bak$ 19 | python_examples/.*.so$ 20 | python_examples/.*.pyd$ 21 | python_examples/.*.dll$ 22 | python_examples/.*.lib$ 23 | docs/docs/python/classes.txt 24 | docs/docs/python/functions.txt 25 | syntax: glob 26 | dlib/test/build64/* 27 | *.svm 28 | -------------------------------------------------------------------------------- /dlib/README.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | See http://dlib.net for the main project documentation. 4 | 5 | 6 | 7 | COMPILING DLIB EXAMPLE PROGRAMS 8 | Go into the examples folder and type: 9 | mkdir build; cd build; cmake .. ; cmake --build . 10 | 11 | That will build all the examples. There is nothing to install when using 12 | dlib. It's just a folder of source files. 13 | 14 | RUNNING THE UNIT TEST SUITE 15 | Type the following to compile and run the dlib unit test suite: 16 | cd dlib/test 17 | mkdir build 18 | cd build 19 | cmake .. 20 | cmake --build . --config Release 21 | ./dtest --runall 22 | 23 | Note that on windows your compiler might put the test executable in a 24 | subfolder called Release. If that's the case then you have to go to that 25 | folder before running the test. 26 | 27 | DOCUMENTATION 28 | The source control repository doesn't contain finished documentation. The 29 | stuff in the docs folder is just a bunch of scripts and xml files used to 30 | generate the documentation. There is a readme in docs/README.txt which 31 | discusses how to do this. However, unless you are trying to modify the 32 | documentation, you should just download a copy from http://dlib.net. 33 | -------------------------------------------------------------------------------- /dlib/dlib/all_console.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2006 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_ALL_CONSOLe_ 4 | #define DLIB_ALL_CONSOLe_ 5 | 6 | #error "This file has been replaced. Instead you should add dlib/all/source.cpp to your project" 7 | 8 | #endif // DLIB_ALL_CONSOLe_ 9 | 10 | -------------------------------------------------------------------------------- /dlib/dlib/all_gui.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2006 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_ALL_GUi_ 4 | #define DLIB_ALL_GUi_ 5 | 6 | #error "This file has been replaced. Instead you should add dlib/all/source.cpp to your project" 7 | 8 | #endif // DLIB_ALL_GUi_ 9 | 10 | -------------------------------------------------------------------------------- /dlib/dlib/any.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2010 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_AnY_ 4 | #define DLIB_AnY_ 5 | 6 | #include "any/any.h" 7 | #include "any/any_trainer.h" 8 | #include "any/any_decision_function.h" 9 | #include "any/any_function.h" 10 | 11 | #endif // DLIB_AnY_ 12 | 13 | 14 | -------------------------------------------------------------------------------- /dlib/dlib/array.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2003 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_ARRAy_ 4 | #define DLIB_ARRAy_ 5 | 6 | #include "array/array_kernel.h" 7 | #include "array/array_tools.h" 8 | 9 | #endif // DLIB_ARRAy_ 10 | 11 | -------------------------------------------------------------------------------- /dlib/dlib/array/array_tools.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2013 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_ARRAY_tOOLS_H_ 4 | #define DLIB_ARRAY_tOOLS_H_ 5 | 6 | #include "../assert.h" 7 | #include "array_tools_abstract.h" 8 | 9 | namespace dlib 10 | { 11 | template 12 | void split_array ( 13 | T& a, 14 | T& b, 15 | double frac 16 | ) 17 | { 18 | // make sure requires clause is not broken 19 | DLIB_ASSERT(0 <= frac && frac <= 1, 20 | "\t void split_array()" 21 | << "\n\t frac must be between 0 and 1." 22 | << "\n\t frac: " << frac 23 | ); 24 | 25 | const unsigned long asize = static_cast(a.size()*frac); 26 | const unsigned long bsize = a.size()-asize; 27 | 28 | b.resize(bsize); 29 | for (unsigned long i = 0; i < b.size(); ++i) 30 | { 31 | swap(b[i], a[i+asize]); 32 | } 33 | a.resize(asize); 34 | } 35 | } 36 | 37 | #endif // DLIB_ARRAY_tOOLS_H_ 38 | 39 | -------------------------------------------------------------------------------- /dlib/dlib/array/array_tools_abstract.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2013 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #undef DLIB_ARRAY_tOOLS_ABSTRACT_H_ 4 | #ifdef DLIB_ARRAY_tOOLS_ABSTRACT_H_ 5 | 6 | #include "array_kernel_abstract.h" 7 | 8 | namespace dlib 9 | { 10 | template 11 | void split_array ( 12 | T& a, 13 | T& b, 14 | double frac 15 | ); 16 | /*! 17 | requires 18 | - 0 <= frac <= 1 19 | - T must be an array type such as dlib::array or std::vector 20 | ensures 21 | - This function takes the elements of a and splits them into two groups. The 22 | first group remains in a and the second group is put into b. The ordering of 23 | elements in a is preserved. In particular, concatenating #a with #b will 24 | reproduce the original contents of a. 25 | - The elements in a are moved around using global swap(). So they must be 26 | swappable, but do not need to be copyable. 27 | - #a.size() == floor(a.size()*frac) 28 | - #b.size() == a.size()-#a.size() 29 | !*/ 30 | } 31 | 32 | #endif // DLIB_ARRAY_tOOLS_ABSTRACT_H_ 33 | 34 | -------------------------------------------------------------------------------- /dlib/dlib/array2d.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2006 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_ARRAY2d_ 4 | #define DLIB_ARRAY2d_ 5 | 6 | 7 | #include "array2d/array2d_kernel.h" 8 | #include "array2d/serialize_pixel_overloads.h" 9 | #include "array2d/array2d_generic_image.h" 10 | 11 | #endif // DLIB_ARRAY2d_ 12 | 13 | -------------------------------------------------------------------------------- /dlib/dlib/base64.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2006 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_BASe64_ 4 | #define DLIB_BASe64_ 5 | 6 | #include "base64/base64_kernel_1.h" 7 | 8 | #endif // DLIB_BASe64_ 9 | 10 | -------------------------------------------------------------------------------- /dlib/dlib/bayes_utils.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2007 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_BAYES_UTILs_H_ 4 | #define DLIB_BAYES_UTILs_H_ 5 | 6 | #include "bayes_utils/bayes_utils.h" 7 | 8 | #endif // DLIB_BAYES_UTILs_H_ 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /dlib/dlib/bigint.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2003 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_BIGINt_ 4 | #define DLIB_BIGINt_ 5 | 6 | #include "bigint/bigint_kernel_1.h" 7 | #include "bigint/bigint_kernel_2.h" 8 | #include "bigint/bigint_kernel_c.h" 9 | 10 | 11 | 12 | 13 | namespace dlib 14 | { 15 | 16 | 17 | class bigint 18 | { 19 | bigint() {} 20 | 21 | 22 | public: 23 | 24 | //----------- kernels --------------- 25 | 26 | // kernel_1a 27 | typedef bigint_kernel_1 28 | kernel_1a; 29 | typedef bigint_kernel_c 30 | kernel_1a_c; 31 | 32 | // kernel_2a 33 | typedef bigint_kernel_2 34 | kernel_2a; 35 | typedef bigint_kernel_c 36 | kernel_2a_c; 37 | 38 | 39 | }; 40 | } 41 | 42 | #endif // DLIB_BIGINt_ 43 | 44 | -------------------------------------------------------------------------------- /dlib/dlib/bit_stream.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2003 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_BIT_STREAm_ 4 | #define DLIB_BIT_STREAm_ 5 | 6 | #include "bit_stream/bit_stream_kernel_1.h" 7 | #include "bit_stream/bit_stream_kernel_c.h" 8 | 9 | #include "bit_stream/bit_stream_multi_1.h" 10 | #include "bit_stream/bit_stream_multi_c.h" 11 | 12 | namespace dlib 13 | { 14 | 15 | 16 | class bit_stream 17 | { 18 | bit_stream() {} 19 | public: 20 | 21 | //----------- kernels --------------- 22 | 23 | // kernel_1a 24 | typedef bit_stream_kernel_1 25 | kernel_1a; 26 | typedef bit_stream_kernel_c 27 | kernel_1a_c; 28 | 29 | //---------- extensions ------------ 30 | 31 | 32 | // multi_1 extend kernel_1a 33 | typedef bit_stream_multi_1 34 | multi_1a; 35 | typedef bit_stream_multi_c > 36 | multi_1a_c; 37 | 38 | }; 39 | } 40 | 41 | #endif // DLIB_BIT_STREAm_ 42 | 43 | -------------------------------------------------------------------------------- /dlib/dlib/bound_function_pointer.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2008 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_BOUND_FUNCTION_POINTEr_ 4 | #define DLIB_BOUND_FUNCTION_POINTEr_ 5 | 6 | #include "bound_function_pointer/bound_function_pointer_kernel_1.h" 7 | 8 | #endif // DLIB_BOUND_FUNCTION_POINTEr_ 9 | 10 | 11 | -------------------------------------------------------------------------------- /dlib/dlib/bridge.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2011 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_BRIdGE_ 4 | #define DLIB_BRIdGE_ 5 | 6 | 7 | #include "bridge/bridge.h" 8 | 9 | #endif // DLIB_BRIdGE_ 10 | 11 | 12 | -------------------------------------------------------------------------------- /dlib/dlib/bsp.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2012 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_BSPh_ 4 | #define DLIB_BSPh_ 5 | 6 | 7 | #include "bsp/bsp.h" 8 | 9 | #endif // DLIB_BSPh_ 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /dlib/dlib/byte_orderer.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2006 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_BYTE_ORDEREr_ 4 | #define DLIB_BYTE_ORDEREr_ 5 | 6 | 7 | #include "byte_orderer/byte_orderer_kernel_1.h" 8 | 9 | #endif // DLIB_BYTE_ORDEREr_ 10 | 11 | -------------------------------------------------------------------------------- /dlib/dlib/cassert: -------------------------------------------------------------------------------- 1 | #include "dlib_include_path_tutorial.txt" 2 | -------------------------------------------------------------------------------- /dlib/dlib/clustering.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2012 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_CLuSTERING_ 4 | #define DLIB_CLuSTERING_ 5 | 6 | #include "clustering/modularity_clustering.h" 7 | #include "clustering/chinese_whispers.h" 8 | #include "clustering/spectral_cluster.h" 9 | #include "clustering/bottom_up_cluster.h" 10 | #include "svm/kkmeans.h" 11 | 12 | #endif // DLIB_CLuSTERING_ 13 | 14 | -------------------------------------------------------------------------------- /dlib/dlib/config.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | // If you are compiling dlib as a shared library and installing it somewhere on your system 4 | // then it is important that any programs that use dlib agree on the state of the 5 | // DLIB_ASSERT statements (i.e. they are either always on or always off). Therefore, 6 | // uncomment one of the following lines to force all DLIB_ASSERTs to either always on or 7 | // always off. If you don't define one of these two macros then DLIB_ASSERT will toggle 8 | // automatically depending on the state of certain other macros, which is not what you want 9 | // when creating a shared library. 10 | //#define ENABLE_ASSERTS // asserts always enabled 11 | //#define DLIB_DISABLE_ASSERTS // asserts always disabled 12 | 13 | 14 | 15 | // You should also consider telling dlib to link against libjpeg, libpng, fftw, and a BLAS 16 | // and LAPACK library. To do this you need to uncomment the following #defines. 17 | // #define DLIB_JPEG_SUPPORT 18 | // #define DLIB_PNG_SUPPORT 19 | // #define DLIB_USE_FFTW 20 | // #define DLIB_USE_BLAS 21 | // #define DLIB_USE_LAPACK 22 | -------------------------------------------------------------------------------- /dlib/dlib/config_reader.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2003 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_CONFIG_READEr_ 4 | #define DLIB_CONFIG_READEr_ 5 | 6 | #include "config_reader/config_reader_kernel_1.h" 7 | #include "map.h" 8 | #include "tokenizer.h" 9 | #include "cmd_line_parser/get_option.h" 10 | 11 | #include "algs.h" 12 | #include "is_kind.h" 13 | 14 | 15 | namespace dlib 16 | { 17 | 18 | typedef config_reader_kernel_1< 19 | map::kernel_1b, 20 | map::kernel_1b, 21 | tokenizer::kernel_1a 22 | > config_reader; 23 | 24 | template <> struct is_config_reader { const static bool value = true; }; 25 | 26 | #ifndef DLIB_ISO_CPP_ONLY 27 | typedef config_reader_thread_safe_1< 28 | config_reader, 29 | map::kernel_1b 30 | > config_reader_thread_safe; 31 | 32 | template <> struct is_config_reader { const static bool value = true; }; 33 | #endif // DLIB_ISO_CPP_ONLY 34 | 35 | 36 | } 37 | 38 | #endif // DLIB_CONFIG_READEr_ 39 | 40 | -------------------------------------------------------------------------------- /dlib/dlib/control.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_CONTRoL_ 4 | #define DLIB_CONTRoL_ 5 | 6 | #include "control/lspi.h" 7 | #include "control/mpc.h" 8 | 9 | #endif // DLIB_CONTRoL_ 10 | 11 | 12 | -------------------------------------------------------------------------------- /dlib/dlib/cpp_pretty_printer.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2005 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_CPP_PRETTY_PRINTEr_ 4 | #define DLIB_CPP_PRETTY_PRINTEr_ 5 | 6 | 7 | #include "cpp_pretty_printer/cpp_pretty_printer_kernel_1.h" 8 | #include "cpp_pretty_printer/cpp_pretty_printer_kernel_2.h" 9 | #include "cpp_tokenizer.h" 10 | #include "stack.h" 11 | 12 | namespace dlib 13 | { 14 | 15 | class cpp_pretty_printer 16 | { 17 | cpp_pretty_printer() {} 18 | 19 | 20 | typedef stack::kernel_1a stack; 21 | typedef cpp_tokenizer::kernel_1a tok; 22 | 23 | public: 24 | 25 | //----------- kernels --------------- 26 | 27 | // kernel_1a 28 | typedef cpp_pretty_printer_kernel_1 29 | kernel_1a; 30 | 31 | // kernel_2a 32 | typedef cpp_pretty_printer_kernel_2 33 | kernel_2a; 34 | 35 | }; 36 | } 37 | 38 | #endif // DLIB_CPP_PRETTY_PRINTEr_ 39 | 40 | -------------------------------------------------------------------------------- /dlib/dlib/cpp_tokenizer.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2005 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_CPP_TOKENIZEr_ 4 | #define DLIB_CPP_TOKENIZEr_ 5 | 6 | #include 7 | #include "cpp_tokenizer/cpp_tokenizer_kernel_1.h" 8 | #include "cpp_tokenizer/cpp_tokenizer_kernel_c.h" 9 | #include "tokenizer.h" 10 | #include "queue.h" 11 | #include "set.h" 12 | 13 | namespace dlib 14 | { 15 | 16 | class cpp_tokenizer 17 | { 18 | cpp_tokenizer() {} 19 | 20 | 21 | typedef set::kernel_1a set; 22 | typedef queue::kernel_2a queue; 23 | typedef tokenizer::kernel_1a tok; 24 | 25 | public: 26 | 27 | //----------- kernels --------------- 28 | 29 | // kernel_1a 30 | typedef cpp_tokenizer_kernel_1 31 | kernel_1a; 32 | typedef cpp_tokenizer_kernel_c 33 | kernel_1a_c; 34 | 35 | 36 | }; 37 | } 38 | 39 | #endif // DLIB_CPP_TOKENIZEr_ 40 | 41 | -------------------------------------------------------------------------------- /dlib/dlib/crc32.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2005 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_CRc32_ 4 | #define DLIB_CRc32_ 5 | 6 | 7 | #include "crc32/crc32_kernel_1.h" 8 | 9 | #endif // DLIB_CRc32_ 10 | 11 | -------------------------------------------------------------------------------- /dlib/dlib/cstring: -------------------------------------------------------------------------------- 1 | #include "dlib_include_path_tutorial.txt" 2 | -------------------------------------------------------------------------------- /dlib/dlib/data_io.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2010 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_DATA_Io_HEADER 4 | #define DLIB_DATA_Io_HEADER 5 | 6 | #include "data_io/libsvm_io.h" 7 | #include "data_io/image_dataset_metadata.h" 8 | 9 | #ifndef DLIB_ISO_CPP_ONLY 10 | #include "data_io/load_image_dataset.h" 11 | #endif 12 | 13 | #endif // DLIB_DATA_Io_HEADER 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /dlib/dlib/dir_nav.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2003 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_DIR_NAv_ 4 | #define DLIB_DIR_NAv_ 5 | 6 | 7 | #include "platform.h" 8 | 9 | 10 | #ifdef WIN32 11 | #include "dir_nav/windows.h" 12 | #endif 13 | 14 | #ifndef WIN32 15 | #include "dir_nav/posix.h" 16 | #endif 17 | 18 | #include "dir_nav/dir_nav_extensions.h" 19 | 20 | #endif // DLIB_DIR_NAv_ 21 | 22 | -------------------------------------------------------------------------------- /dlib/dlib/dir_nav/posix.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2003 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_DIR_NAV_KERNEl_1_ 4 | #include "dir_nav_kernel_2.h" 5 | #endif 6 | 7 | -------------------------------------------------------------------------------- /dlib/dlib/dir_nav/windows.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2003 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_DIR_NAV_KERNEl_2_ 4 | #include "dir_nav_kernel_1.h" 5 | #endif 6 | 7 | -------------------------------------------------------------------------------- /dlib/dlib/directed_graph.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2007 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_DIRECTED_GRAPh_ 4 | #define DLIB_DIRECTED_GRAPh_ 5 | 6 | #include "directed_graph/directed_graph_kernel_1.h" 7 | 8 | #include "algs.h" 9 | 10 | namespace dlib 11 | { 12 | 13 | template < 14 | typename T, 15 | typename E = char, 16 | typename mem_manager = default_memory_manager 17 | > 18 | class directed_graph 19 | { 20 | directed_graph() {} 21 | public: 22 | 23 | 24 | //----------- kernels --------------- 25 | 26 | // kernel_1a 27 | typedef directed_graph_kernel_1 28 | kernel_1a; 29 | typedef directed_graph_kernel_1 30 | kernel_1a_c; 31 | 32 | }; 33 | } 34 | 35 | #endif // DLIB_DIRECTED_GRAPh_ 36 | 37 | 38 | -------------------------------------------------------------------------------- /dlib/dlib/disjoint_subsets.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2011 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_DISJOINt_SUBSETS_ 4 | #define DLIB_DISJOINt_SUBSETS_ 5 | 6 | 7 | #include "disjoint_subsets/disjoint_subsets.h" 8 | 9 | #endif // DLIB_DISJOINt_SUBSETS_ 10 | 11 | 12 | -------------------------------------------------------------------------------- /dlib/dlib/dlib_include_path_tutorial.txt: -------------------------------------------------------------------------------- 1 | #error "Don't put the dlib folder in your include path" 2 | /* 3 | You are getting this error because you have added the dlib folder to your 4 | compiler's include search path. 5 | 6 | You should *NOT* add the dlib folder itself to your compiler's include path. 7 | Doing so will cause the build to fail because of name collisions (such as 8 | dlib/string.h and string.h from the standard library). Instead you should 9 | add the folder that contains the dlib folder to your include search path 10 | and then use include statements of the form #include or 11 | #include "dlib/queue.h". This will ensure that everything builds correctly. 12 | 13 | XCode: 14 | The XCode IDE often puts all folders that it knows about into 15 | the compiler search path. So if you are using XCode then either 16 | don't drag the whole dlib folder into the project or alternatively 17 | modify your XCode project settings to not auto-add all folders to 18 | the include path. Instead just make sure that the dlib folder is 19 | itself inside a folder in your include path. 20 | */ 21 | -------------------------------------------------------------------------------- /dlib/dlib/entropy_decoder.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2003 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_ENTROPY_DECODEr_ 4 | #define DLIB_ENTROPY_DECODEr_ 5 | 6 | #include "entropy_decoder/entropy_decoder_kernel_1.h" 7 | #include "entropy_decoder/entropy_decoder_kernel_2.h" 8 | #include "entropy_decoder/entropy_decoder_kernel_c.h" 9 | 10 | 11 | 12 | 13 | namespace dlib 14 | { 15 | 16 | 17 | class entropy_decoder 18 | { 19 | entropy_decoder() {} 20 | 21 | 22 | public: 23 | 24 | //----------- kernels --------------- 25 | 26 | // kernel_1a 27 | typedef entropy_decoder_kernel_1 28 | kernel_1a; 29 | typedef entropy_decoder_kernel_c 30 | kernel_1a_c; 31 | 32 | 33 | // kernel_2a 34 | typedef entropy_decoder_kernel_2 35 | kernel_2a; 36 | typedef entropy_decoder_kernel_c 37 | kernel_2a_c; 38 | 39 | 40 | }; 41 | } 42 | 43 | #endif // DLIB_ENTROPY_DECODEr_ 44 | 45 | -------------------------------------------------------------------------------- /dlib/dlib/entropy_encoder.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2003 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_ENTROPY_ENCODEr_ 4 | #define DLIB_ENTROPY_ENCODEr_ 5 | 6 | #include "entropy_encoder/entropy_encoder_kernel_1.h" 7 | #include "entropy_encoder/entropy_encoder_kernel_2.h" 8 | #include "entropy_encoder/entropy_encoder_kernel_c.h" 9 | 10 | 11 | 12 | 13 | namespace dlib 14 | { 15 | 16 | 17 | class entropy_encoder 18 | { 19 | entropy_encoder() {} 20 | 21 | 22 | public: 23 | 24 | //----------- kernels --------------- 25 | 26 | // kernel_1a 27 | typedef entropy_encoder_kernel_1 28 | kernel_1a; 29 | typedef entropy_encoder_kernel_c 30 | kernel_1a_c; 31 | 32 | 33 | // kernel_2a 34 | typedef entropy_encoder_kernel_2 35 | kernel_2a; 36 | typedef entropy_encoder_kernel_c 37 | kernel_2a_c; 38 | 39 | }; 40 | } 41 | 42 | #endif // DLIB_ENTROPY_ENCODEr_ 43 | 44 | -------------------------------------------------------------------------------- /dlib/dlib/external/libjpeg/jversion.h: -------------------------------------------------------------------------------- 1 | /* 2 | * jversion.h 3 | * 4 | * Copyright (C) 1991-1998, Thomas G. Lane. 5 | * This file is part of the Independent JPEG Group's software. 6 | * For conditions of distribution and use, see the accompanying README file. 7 | * 8 | * This file contains software version identification. 9 | */ 10 | 11 | 12 | #define JVERSION "6b 27-Mar-1998" 13 | 14 | #define JCOPYRIGHT "Copyright (C) 1998, Thomas G. Lane" 15 | -------------------------------------------------------------------------------- /dlib/dlib/external/zlib/gzclose.c: -------------------------------------------------------------------------------- 1 | /* gzclose.c -- zlib gzclose() function 2 | * Copyright (C) 2004, 2010 Mark Adler 3 | * For conditions of distribution and use, see copyright notice in zlib.h 4 | */ 5 | 6 | #include "gzguts.h" 7 | 8 | /* gzclose() is in a separate file so that it is linked in only if it is used. 9 | That way the other gzclose functions can be used instead to avoid linking in 10 | unneeded compression or decompression routines. */ 11 | int ZEXPORT gzclose(file) 12 | gzFile file; 13 | { 14 | #ifndef NO_GZCOMPRESS 15 | gz_statep state; 16 | 17 | if (file == NULL) 18 | return Z_STREAM_ERROR; 19 | state = (gz_statep)file; 20 | 21 | return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file); 22 | #else 23 | return gzclose_r(file); 24 | #endif 25 | } 26 | -------------------------------------------------------------------------------- /dlib/dlib/external/zlib/inffast.h: -------------------------------------------------------------------------------- 1 | /* inffast.h -- header to use inffast.c 2 | * Copyright (C) 1995-2003, 2010 Mark Adler 3 | * For conditions of distribution and use, see copyright notice in zlib.h 4 | */ 5 | 6 | /* WARNING: this file should *not* be used by applications. It is 7 | part of the implementation of the compression library and is 8 | subject to change. Applications should only use zlib.h. 9 | */ 10 | 11 | void ZLIB_INTERNAL inflate_fast OF((z_streamp strm, unsigned start)); 12 | -------------------------------------------------------------------------------- /dlib/dlib/filtering.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2012 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_FILTERiNG_HEADER 4 | #define DLIB_FILTERiNG_HEADER 5 | 6 | #include "filtering/kalman_filter.h" 7 | #include "filtering/rls_filter.h" 8 | 9 | #endif // DLIB_FILTERiNG_HEADER 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /dlib/dlib/fstream: -------------------------------------------------------------------------------- 1 | #include "dlib_include_path_tutorial.txt" 2 | -------------------------------------------------------------------------------- /dlib/dlib/geometry.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2008 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_GEOMETRy_HEADER 4 | #define DLIB_GEOMETRy_HEADER 5 | 6 | #include "geometry/rectangle.h" 7 | #include "geometry/drectangle.h" 8 | #include "geometry/vector.h" 9 | #include "geometry/border_enumerator.h" 10 | #include "geometry/point_transforms.h" 11 | 12 | #endif // DLIB_GEOMETRy_HEADER 13 | 14 | 15 | -------------------------------------------------------------------------------- /dlib/dlib/graph.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2007 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_GRAPh_ 4 | #define DLIB_GRAPh_ 5 | 6 | #include "graph/graph_kernel_1.h" 7 | 8 | #include "algs.h" 9 | 10 | namespace dlib 11 | { 12 | 13 | template < 14 | typename T, 15 | typename E = char, 16 | typename mem_manager = default_memory_manager 17 | > 18 | class graph 19 | { 20 | graph() {} 21 | public: 22 | 23 | 24 | //----------- kernels --------------- 25 | 26 | // kernel_1a 27 | typedef graph_kernel_1 28 | kernel_1a; 29 | typedef graph_kernel_1 30 | kernel_1a_c; 31 | 32 | }; 33 | } 34 | 35 | #endif // DLIB_GRAPh_ 36 | 37 | 38 | -------------------------------------------------------------------------------- /dlib/dlib/graph_cuts.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2012 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_GRAPH_CUTs_HEADER_ 4 | #define DLIB_GRAPH_CUTs_HEADER_ 5 | 6 | #include "graph_cuts/min_cut.h" 7 | #include "graph_cuts/general_flow_graph.h" 8 | #include "graph_cuts/find_max_factor_graph_potts.h" 9 | #include "graph_cuts/graph_labeler.h" 10 | 11 | #endif // DLIB_GRAPH_CUTs_HEADER_ 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /dlib/dlib/graph_utils.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2007 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_GRAPH_UTILs_H_ 4 | #define DLIB_GRAPH_UTILs_H_ 5 | 6 | #include "graph_utils/graph_utils.h" 7 | #include "graph_utils/edge_list_graphs.h" 8 | #include "graph_utils/function_objects.h" 9 | 10 | #endif // DLIB_GRAPH_UTILs_H_ 11 | 12 | 13 | -------------------------------------------------------------------------------- /dlib/dlib/graph_utils_threaded.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2013 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_GRAPH_UTILs_THREADED_H_ 4 | #define DLIB_GRAPH_UTILs_THREADED_H_ 5 | 6 | #include "graph_utils.h" 7 | #include "graph_utils/find_k_nearest_neighbors_lsh.h" 8 | 9 | #endif // DLIB_GRAPH_UTILs_THREADED_H_ 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /dlib/dlib/gui_core.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2005 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_GUI_CORe_ 4 | #define DLIB_GUI_CORe_ 5 | 6 | 7 | #include "platform.h" 8 | 9 | 10 | 11 | #ifdef WIN32 12 | #include "gui_core/windows.h" 13 | #else 14 | #include "gui_core/xlib.h" 15 | #endif 16 | 17 | 18 | 19 | #endif // DLIB_GUI_CORe_ 20 | 21 | -------------------------------------------------------------------------------- /dlib/dlib/gui_core/windows.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2005 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_GUI_CORE_KERNEl_2_ 4 | #include "gui_core_kernel_1.h" 5 | #endif 6 | 7 | -------------------------------------------------------------------------------- /dlib/dlib/gui_core/xlib.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2005 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_GUI_CORE_KERNEl_1_ 4 | #include "gui_core_kernel_2.h" 5 | #endif 6 | 7 | -------------------------------------------------------------------------------- /dlib/dlib/gui_widgets.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2005 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_GUI_WIDGETs_ 4 | #define DLIB_GUI_WIDGETs_ 5 | 6 | 7 | 8 | #include "gui_widgets/widgets.h" 9 | 10 | 11 | 12 | #endif // DLIB_GUI_WIDGETs_ 13 | 14 | -------------------------------------------------------------------------------- /dlib/dlib/hash.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2011 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_HASh_ 4 | #define DLIB_HASh_ 5 | 6 | 7 | #include "general_hash/hash.h" 8 | #include "general_hash/random_hashing.h" 9 | #include "general_hash/count_bits.h" 10 | 11 | 12 | #endif // DLIB_HASh_ 13 | 14 | 15 | -------------------------------------------------------------------------------- /dlib/dlib/image_io.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2006 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_IMAGe_IO_ 4 | #define DLIB_IMAGe_IO_ 5 | 6 | #include "image_loader/image_loader.h" 7 | #include "image_loader/png_loader.h" 8 | #include "image_loader/jpeg_loader.h" 9 | #include "image_loader/load_image.h" 10 | #include "image_saver/image_saver.h" 11 | #include "image_saver/save_png.h" 12 | #include "image_saver/save_jpeg.h" 13 | 14 | #endif // DLIB_IMAGe_IO_ 15 | 16 | -------------------------------------------------------------------------------- /dlib/dlib/image_keypoint.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2009 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_IMAGE_KEYPOINt_H_ 4 | #define DLIB_IMAGE_KEYPOINt_H_ 5 | 6 | #include "image_keypoint/surf.h" 7 | #include "image_keypoint/hessian_pyramid.h" 8 | #include "image_keypoint/hog.h" 9 | #include "image_keypoint/poly_image.h" 10 | #include "image_keypoint/fine_hog_image.h" 11 | #include "image_keypoint/hashed_feature_image.h" 12 | #include "image_keypoint/nearest_neighbor_feature_image.h" 13 | #include "image_keypoint/binned_vector_feature_image.h" 14 | 15 | #endif // DLIB_IMAGE_KEYPOINt_H_ 16 | 17 | -------------------------------------------------------------------------------- /dlib/dlib/image_keypoint/draw_surf_points_abstract.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2013 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #undef DLIB_DRAW_SURf_POINTS_ABSTRACT_H_ 4 | #ifdef DLIB_DRAW_SURf_POINTS_ABSTRACT_H_ 5 | 6 | #include "surf_abstract.h" 7 | #include "../gui_widgets.h" 8 | 9 | namespace dlib 10 | { 11 | 12 | // ---------------------------------------------------------------------------------------- 13 | 14 | void draw_surf_points ( 15 | image_window& win, 16 | const std::vector& sp 17 | ); 18 | /*! 19 | ensures 20 | - draws all the SURF points in sp onto the given image_window. They 21 | are drawn as overlay circles with extra lines to indicate the rotation 22 | of the SURF descriptor. 23 | !*/ 24 | 25 | // ---------------------------------------------------------------------------------------- 26 | 27 | } 28 | 29 | #endif // DLIB_DRAW_SURf_POINTS_ABSTRACT_H_ 30 | 31 | -------------------------------------------------------------------------------- /dlib/dlib/image_processing.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2011 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_IMAGE_PROCESSInG_H_h_ 4 | #define DLIB_IMAGE_PROCESSInG_H_h_ 5 | 6 | #include "image_processing/scan_image.h" 7 | #include "image_processing/scan_image_pyramid.h" 8 | #include "image_processing/detection_template_tools.h" 9 | #include "image_processing/object_detector.h" 10 | #include "image_processing/box_overlap_testing.h" 11 | #include "image_processing/scan_image_pyramid_tools.h" 12 | #include "image_processing/setup_hashed_features.h" 13 | #include "image_processing/scan_image_boxes.h" 14 | #include "image_processing/scan_image_custom.h" 15 | #include "image_processing/remove_unobtainable_rectangles.h" 16 | #include "image_processing/scan_fhog_pyramid.h" 17 | #include "image_processing/shape_predictor.h" 18 | #include "image_processing/correlation_tracker.h" 19 | 20 | #endif // DLIB_IMAGE_PROCESSInG_H_h_ 21 | 22 | 23 | -------------------------------------------------------------------------------- /dlib/dlib/image_processing/frontal_face_detector_abstract.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2013 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #undef DLIB_FRONTAL_FACE_DETECTOr_ABSTRACT_Hh_ 4 | #ifdef DLIB_FRONTAL_FACE_DETECTOr_ABSTRACT_Hh_ 5 | 6 | #include "object_detector_abstract.h" 7 | #include "scan_fhog_pyramid_abstract.h" 8 | #include "../image_transforms/image_pyramid_abstract.h" 9 | 10 | namespace dlib 11 | { 12 | typedef object_detector > > frontal_face_detector; 13 | 14 | frontal_face_detector get_frontal_face_detector( 15 | ); 16 | /*! 17 | ensures 18 | - returns an object_detector that is configured to find human faces that are 19 | looking more or less towards the camera. 20 | !*/ 21 | 22 | } 23 | 24 | #endif // DLIB_FRONTAL_FACE_DETECTOr_ABSTRACT_Hh_ 25 | 26 | -------------------------------------------------------------------------------- /dlib/dlib/image_transforms.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2006 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_IMAGE_TRANSFORMs_ 4 | #define DLIB_IMAGE_TRANSFORMs_ 5 | 6 | #include "image_transforms/assign_image.h" 7 | #include "image_transforms/equalize_histogram.h" 8 | #include "image_transforms/morphological_operations.h" 9 | #include "image_transforms/spatial_filtering.h" 10 | #include "image_transforms/thresholding.h" 11 | #include "image_transforms/edge_detector.h" 12 | #include "image_transforms/draw.h" 13 | #include "image_transforms/integral_image.h" 14 | #include "image_transforms/image_pyramid.h" 15 | #include "image_transforms/hough_transform.h" 16 | #include "image_transforms/label_connected_blobs.h" 17 | #include "image_transforms/colormaps.h" 18 | #include "image_transforms/segment_image.h" 19 | #include "image_transforms/interpolation.h" 20 | #include "image_transforms/fhog.h" 21 | #include "image_transforms/lbp.h" 22 | 23 | #endif // DLIB_IMAGE_TRANSFORMs_ 24 | 25 | -------------------------------------------------------------------------------- /dlib/dlib/iomanip: -------------------------------------------------------------------------------- 1 | #include "dlib_include_path_tutorial.txt" 2 | -------------------------------------------------------------------------------- /dlib/dlib/iosfwd: -------------------------------------------------------------------------------- 1 | #include "dlib_include_path_tutorial.txt" 2 | -------------------------------------------------------------------------------- /dlib/dlib/iosockstream.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2012 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_IOSOCkSTREAM_H_h_ 4 | #define DLIB_IOSOCkSTREAM_H_h_ 5 | 6 | #include "iosockstream/iosockstream.h" 7 | 8 | 9 | #endif // DLIB_IOSOCkSTREAM_H_h_ 10 | 11 | 12 | -------------------------------------------------------------------------------- /dlib/dlib/iostream: -------------------------------------------------------------------------------- 1 | #include "dlib_include_path_tutorial.txt" 2 | -------------------------------------------------------------------------------- /dlib/dlib/istream: -------------------------------------------------------------------------------- 1 | #include "dlib_include_path_tutorial.txt" 2 | -------------------------------------------------------------------------------- /dlib/dlib/linker.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2003 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_LINKEr_ 4 | #define DLIB_LINKEr_ 5 | 6 | #include "linker/linker_kernel_1.h" 7 | 8 | #endif // DLIB_LINKEr_ 9 | 10 | -------------------------------------------------------------------------------- /dlib/dlib/locale: -------------------------------------------------------------------------------- 1 | #include "dlib_include_path_tutorial.txt" 2 | -------------------------------------------------------------------------------- /dlib/dlib/logger.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2006 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_LOGGEr_ 4 | #define DLIB_LOGGEr_ 5 | 6 | #include "logger/logger_kernel_1.h" 7 | #include "logger/extra_logger_headers.h" 8 | #include "logger/logger_config_file.h" 9 | 10 | #endif // DLIB_LOGGEr_ 11 | 12 | -------------------------------------------------------------------------------- /dlib/dlib/logger/extra_logger_headers.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2006 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_EXTRA_LOGGER_HEADERs_CPP_ 4 | #define DLIB_EXTRA_LOGGER_HEADERs_CPP_ 5 | 6 | #include "extra_logger_headers.h" 7 | #include 8 | #include 9 | 10 | // ---------------------------------------------------------------------------------------- 11 | 12 | namespace dlib 13 | { 14 | 15 | void print_datetime_logger_header ( 16 | std::ostream& out, 17 | const std::string& logger_name, 18 | const log_level& l, 19 | const uint64 thread_id 20 | ) 21 | { 22 | using namespace std; 23 | char* buf; 24 | 25 | time_t t = time(0); 26 | buf = ctime(&t); 27 | // remove the trailing '\n' 28 | size_t size = strlen(buf); 29 | buf[size-1] = '\0'; 30 | 31 | out << l.name << " (" << buf << ") [" << thread_id << "] " << logger_name << ": "; 32 | } 33 | 34 | } 35 | 36 | // ---------------------------------------------------------------------------------------- 37 | 38 | #endif // DLIB_EXTRA_LOGGER_HEADERs_CPP_ 39 | 40 | 41 | -------------------------------------------------------------------------------- /dlib/dlib/lsh.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2011 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_LSh_ 4 | #define DLIB_LSh_ 5 | 6 | 7 | #include "lsh/projection_hash.h" 8 | #include "lsh/create_random_projection_hash.h" 9 | #include "lsh/hashes.h" 10 | 11 | 12 | #endif // DLIB_LSh_ 13 | 14 | 15 | -------------------------------------------------------------------------------- /dlib/dlib/lz77_buffer.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2004 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_LZ77_BUFFEr_ 4 | #define DLIB_LZ77_BUFFEr_ 5 | 6 | 7 | #include "lz77_buffer/lz77_buffer_kernel_1.h" 8 | #include "lz77_buffer/lz77_buffer_kernel_2.h" 9 | #include "lz77_buffer/lz77_buffer_kernel_c.h" 10 | 11 | #include "sliding_buffer.h" 12 | 13 | 14 | namespace dlib 15 | { 16 | 17 | 18 | class lz77_buffer 19 | { 20 | 21 | lz77_buffer() {} 22 | 23 | typedef sliding_buffer::kernel_1a sb1; 24 | 25 | public: 26 | 27 | //----------- kernels --------------- 28 | 29 | // kernel_1a 30 | typedef lz77_buffer_kernel_1 31 | kernel_1a; 32 | typedef lz77_buffer_kernel_c 33 | kernel_1a_c; 34 | 35 | 36 | // kernel_2a 37 | typedef lz77_buffer_kernel_2 38 | kernel_2a; 39 | typedef lz77_buffer_kernel_c 40 | kernel_2a_c; 41 | 42 | 43 | }; 44 | } 45 | 46 | #endif // DLIB_LZ77_BUFFEr_ 47 | 48 | -------------------------------------------------------------------------------- /dlib/dlib/lzp_buffer.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2005 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_LZP_BUFFEr_ 4 | #define DLIB_LZP_BUFFEr_ 5 | 6 | 7 | #include "lzp_buffer/lzp_buffer_kernel_1.h" 8 | #include "lzp_buffer/lzp_buffer_kernel_2.h" 9 | #include "lzp_buffer/lzp_buffer_kernel_c.h" 10 | 11 | #include "sliding_buffer.h" 12 | 13 | 14 | namespace dlib 15 | { 16 | 17 | 18 | class lzp_buffer 19 | { 20 | 21 | lzp_buffer() {} 22 | 23 | typedef sliding_buffer::kernel_1a sb1; 24 | 25 | public: 26 | 27 | //----------- kernels --------------- 28 | 29 | // kernel_1a 30 | typedef lzp_buffer_kernel_1 31 | kernel_1a; 32 | typedef lzp_buffer_kernel_c 33 | kernel_1a_c; 34 | 35 | // kernel_2a 36 | typedef lzp_buffer_kernel_2 37 | kernel_2a; 38 | typedef lzp_buffer_kernel_c 39 | kernel_2a_c; 40 | 41 | 42 | }; 43 | } 44 | 45 | #endif // DLIB_LZP_BUFFEr_ 46 | 47 | -------------------------------------------------------------------------------- /dlib/dlib/manifold_regularization.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2010 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_MANIFOLD_REGULARIzATION_HEADER 4 | #define DLIB_MANIFOLD_REGULARIzATION_HEADER 5 | 6 | #include "graph_utils/edge_list_graphs.h" 7 | #include "manifold_regularization/linear_manifold_regularizer.h" 8 | #include "graph_utils/function_objects.h" 9 | 10 | #endif // DLIB_MANIFOLD_REGULARIzATION_HEADER 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /dlib/dlib/matlab/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | cmake_minimum_required(VERSION 2.8.4) 3 | 4 | PROJECT(mex_functions) 5 | 6 | include(cmake_mex_wrapper) 7 | 8 | include(../cmake) 9 | 10 | # Compile the example_mex_function.cpp file and link it to dlib. Note 11 | # that you can give a list of things to link to here. E.g. 12 | # add_mex_function(some_other_mex_function pthread dlib fftw) 13 | add_mex_function(example_mex_function dlib) 14 | add_mex_function(example_mex_callback dlib) 15 | 16 | -------------------------------------------------------------------------------- /dlib/dlib/matlab/README.txt: -------------------------------------------------------------------------------- 1 | This folder contains a set of tools which make it easy to create MATLAB mex 2 | functions. To understand how they work, you should read the 3 | example_mex_function.cpp and example_mex_callback.cpp examples. 4 | 5 | To compile them, you can use CMake. In particular, from this folder execute 6 | these commands: 7 | 8 | mkdir build 9 | cd build 10 | cmake .. 11 | cmake --build . --config release --target install 12 | 13 | That should build the mex files on any platform. 14 | 15 | Note that on windows you will probably need to tell CMake to use a 64bit 16 | version of visual studio. You can do this by using a command like: 17 | cmake -G "Visual Studio 10 Win64" .. 18 | instead of 19 | cmake .. 20 | 21 | -------------------------------------------------------------------------------- /dlib/dlib/matlab/example.m: -------------------------------------------------------------------------------- 1 | % This example calls the two mex functions defined in this folder. As you 2 | % can see, you call them just like you would normal MATLAB functions. 3 | 4 | x = magic(3) 5 | y = 2*magic(3) 6 | 7 | [out1, out2] = example_mex_function(x,y, 12345) 8 | 9 | z = example_mex_callback(x, @(a)a+a) 10 | 11 | -------------------------------------------------------------------------------- /dlib/dlib/matrix.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2006 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_MATRIx_HEADER 4 | #define DLIB_MATRIx_HEADER 5 | 6 | #include "matrix/matrix.h" 7 | #include "matrix/matrix_utilities.h" 8 | #include "matrix/matrix_subexp.h" 9 | #include "matrix/matrix_math_functions.h" 10 | #include "matrix/matrix_assign.h" 11 | #include "matrix/matrix_la.h" 12 | #include "matrix/symmetric_matrix_cache.h" 13 | #include "matrix/matrix_conv.h" 14 | #include "matrix/matrix_read_from_istream.h" 15 | #include "matrix/matrix_fft.h" 16 | #include "matrix/matrix_generic_image.h" 17 | 18 | #ifdef DLIB_USE_BLAS 19 | #include "matrix/matrix_blas_bindings.h" 20 | #endif 21 | 22 | #endif // DLIB_MATRIx_HEADER 23 | 24 | 25 | -------------------------------------------------------------------------------- /dlib/dlib/matrix/cblas_constants.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2010 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_CBLAS_CONSTAnTS_Hh_ 4 | #define DLIB_CBLAS_CONSTAnTS_Hh_ 5 | 6 | namespace dlib 7 | { 8 | namespace blas_bindings 9 | { 10 | enum CBLAS_ORDER {CblasRowMajor=101, CblasColMajor=102}; 11 | enum CBLAS_TRANSPOSE {CblasNoTrans=111, CblasTrans=112, CblasConjTrans=113}; 12 | enum CBLAS_UPLO {CblasUpper=121, CblasLower=122}; 13 | enum CBLAS_DIAG {CblasNonUnit=131, CblasUnit=132}; 14 | enum CBLAS_SIDE {CblasLeft=141, CblasRight=142}; 15 | 16 | } 17 | } 18 | 19 | #endif // DLIB_CBLAS_CONSTAnTS_Hh_ 20 | 21 | -------------------------------------------------------------------------------- /dlib/dlib/matrix/matrix_fwd.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2006 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_MATRIx_FWD 4 | #define DLIB_MATRIx_FWD 5 | 6 | #include "../algs.h" 7 | 8 | namespace dlib 9 | { 10 | 11 | // ---------------------------------------------------------------------------------------- 12 | 13 | struct row_major_layout; 14 | 15 | // ---------------------------------------------------------------------------------------- 16 | 17 | template < 18 | typename T, 19 | long num_rows = 0, 20 | long num_cols = 0, 21 | typename mem_manager = default_memory_manager, 22 | typename layout = row_major_layout 23 | > 24 | class matrix; 25 | 26 | // ---------------------------------------------------------------------------------------- 27 | 28 | } 29 | 30 | #endif // DLIB_MATRIx_FWD 31 | 32 | -------------------------------------------------------------------------------- /dlib/dlib/md5.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2003 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #include "md5/md5_kernel_1.h" 4 | -------------------------------------------------------------------------------- /dlib/dlib/member_function_pointer.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2005 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_MEMBER_FUNCTION_POINTEr_ 4 | #define DLIB_MEMBER_FUNCTION_POINTEr_ 5 | 6 | #include "member_function_pointer/member_function_pointer_kernel_1.h" 7 | #include "member_function_pointer/make_mfp.h" 8 | 9 | #endif // DLIB_MEMBER_FUNCTION_POINTEr_ 10 | 11 | -------------------------------------------------------------------------------- /dlib/dlib/memory_manager_global.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2006 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_MEMORY_MANAGER_GLOBAl_ 4 | #define DLIB_MEMORY_MANAGER_GLOBAl_ 5 | 6 | #include "memory_manager_global/memory_manager_global_kernel_1.h" 7 | #include "memory_manager.h" 8 | 9 | 10 | 11 | namespace dlib 12 | { 13 | 14 | template < 15 | typename T, 16 | typename factory 17 | > 18 | class memory_manager_global 19 | { 20 | memory_manager_global() {} 21 | 22 | 23 | public: 24 | 25 | //----------- kernels --------------- 26 | 27 | // kernel_1 28 | typedef memory_manager_global_kernel_1 29 | kernel_1a; 30 | 31 | 32 | 33 | 34 | }; 35 | } 36 | 37 | #endif // DLIB_MEMORY_MANAGER_GLOBAl_ 38 | 39 | -------------------------------------------------------------------------------- /dlib/dlib/misc_api.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2004 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | 4 | #ifndef DLIB_MISC_APi_ 5 | #define DLIB_MISC_APi_ 6 | 7 | #include "platform.h" 8 | 9 | #ifdef WIN32 10 | #include "misc_api/windows.h" 11 | #endif 12 | 13 | #ifndef WIN32 14 | #include "misc_api/posix.h" 15 | #endif 16 | 17 | #include "misc_api/misc_api_shared.h" 18 | 19 | #endif // DLIB_MISC_APi_ 20 | 21 | -------------------------------------------------------------------------------- /dlib/dlib/misc_api/posix.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2004 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_MISC_API_KERNEl_1_ 4 | #include "misc_api_kernel_2.h" 5 | #endif 6 | 7 | -------------------------------------------------------------------------------- /dlib/dlib/misc_api/windows.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2004 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_MISC_API_KERNEl_2_ 4 | #include "misc_api_kernel_1.h" 5 | #endif 6 | 7 | -------------------------------------------------------------------------------- /dlib/dlib/mlp.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2007 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_MLp_ 4 | #define DLIB_MLp_ 5 | 6 | #include "mlp/mlp_kernel_1.h" 7 | #include "mlp/mlp_kernel_c.h" 8 | 9 | namespace dlib 10 | { 11 | 12 | class mlp 13 | { 14 | mlp() {} 15 | 16 | public: 17 | 18 | //----------- kernels --------------- 19 | 20 | // kernel_1a 21 | typedef mlp_kernel_1 22 | kernel_1a; 23 | typedef mlp_kernel_c 24 | kernel_1a_c; 25 | 26 | }; 27 | } 28 | 29 | #endif // DLIB_MLp_ 30 | 31 | -------------------------------------------------------------------------------- /dlib/dlib/noncopyable.h: -------------------------------------------------------------------------------- 1 | // (C) Copyright Beman Dawes 1999-2003. Distributed under the Boost 2 | // Software License, Version 1.0. (See accompanying file 3 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 4 | // Contributed by Dave Abrahams 5 | // See http://www.boost.org/libs/utility for documentation. 6 | 7 | #ifndef DLIB_BOOST_NONCOPYABLE_HPP_INCLUDED 8 | #define DLIB_BOOST_NONCOPYABLE_HPP_INCLUDED 9 | 10 | 11 | namespace dlib 12 | { 13 | class noncopyable 14 | { 15 | /*! 16 | This class makes it easier to declare a class as non-copyable. 17 | If you want to make an object that can't be copied just inherit 18 | from this object. 19 | !*/ 20 | 21 | protected: 22 | noncopyable() {} 23 | ~noncopyable() {} 24 | private: // emphasize the following members are private 25 | noncopyable(const noncopyable&); 26 | const noncopyable& operator=(const noncopyable&); 27 | 28 | }; 29 | } 30 | 31 | #endif // DLIB_BOOST_NONCOPYABLE_HPP_INCLUDED 32 | 33 | -------------------------------------------------------------------------------- /dlib/dlib/numerical_integration.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2013 Steve Taylor (steve98654@gmail.com) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_INTEGRATE_FUNCTION_ADAPT_SIMPSON_HEADER 4 | #define DLIB_INTEGRATE_FUNCTION_ADAPT_SIMPSON_HEADER 5 | 6 | #include "numerical_integration/integrate_function_adapt_simpson.h" 7 | 8 | #endif // DLIB_INTEGRATE_FUNCTION_ADAPT_SIMPSON_HEADER 9 | -------------------------------------------------------------------------------- /dlib/dlib/opencv.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2009 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_OPEnCV_HEADER 4 | #define DLIB_OPEnCV_HEADER 5 | 6 | #include "opencv/cv_image.h" 7 | #include "opencv/to_open_cv.h" 8 | 9 | #endif // DLIB_OPEnCV_HEADER 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /dlib/dlib/opencv/to_open_cv_abstract.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2012 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #undef DLIB_TO_OPEN_Cv_ABSTRACTh_ 4 | #ifdef DLIB_TO_OPEN_Cv_ABSTRACTh_ 5 | 6 | #include 7 | #include "../pixel.h" 8 | 9 | namespace dlib 10 | { 11 | template < 12 | typename image_type 13 | > 14 | cv::Mat toMat ( 15 | image_type& img 16 | ); 17 | /*! 18 | requires 19 | - image_type == an image object that implements the interface defined in 20 | dlib/image_processing/generic_image.h or a dlib::matrix object which uses a 21 | row_major_layout. 22 | - pixel_traits is defined for the contents of img. 23 | ensures 24 | - returns an OpenCV Mat object which represents the same image as img. This 25 | is done by setting up the Mat object to point to the same memory as img. 26 | Therefore, the returned Mat object is valid only as long as pointers 27 | to the pixels in img remain valid. 28 | !*/ 29 | } 30 | 31 | #endif // DLIB_TO_OPEN_Cv_ABSTRACTh_ 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /dlib/dlib/optimization.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2008 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_OPTIMIZATIOn_HEADER 4 | #define DLIB_OPTIMIZATIOn_HEADER 5 | 6 | #include "optimization/optimization.h" 7 | #include "optimization/optimization_bobyqa.h" 8 | #include "optimization/optimization_solve_qp_using_smo.h" 9 | #include "optimization/optimization_solve_qp2_using_smo.h" 10 | #include "optimization/optimization_solve_qp3_using_smo.h" 11 | #include "optimization/optimization_oca.h" 12 | #include "optimization/optimization_trust_region.h" 13 | #include "optimization/optimization_least_squares.h" 14 | #include "optimization/max_cost_assignment.h" 15 | #include "optimization/max_sum_submatrix.h" 16 | #include "optimization/find_max_factor_graph_nmplp.h" 17 | #include "optimization/find_max_factor_graph_viterbi.h" 18 | #include "optimization/find_max_parse_cky.h" 19 | 20 | #endif // DLIB_OPTIMIZATIOn_HEADER 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /dlib/dlib/ostream: -------------------------------------------------------------------------------- 1 | #include "dlib_include_path_tutorial.txt" 2 | -------------------------------------------------------------------------------- /dlib/dlib/pipe.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2006 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_PIPe_ 4 | #define DLIB_PIPe_ 5 | 6 | #include "pipe/pipe_kernel_1.h" 7 | 8 | 9 | #endif // DLIB_PIPe_ 10 | 11 | -------------------------------------------------------------------------------- /dlib/dlib/python.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2013 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_PYTHoN_TOP_ 4 | #define DLIB_PYTHoN_TOP_ 5 | 6 | #include "python/boost_python_utils.h" 7 | #include "python/pyassert.h" 8 | #include "python/serialize_pickle.h" 9 | #include "python/numpy.h" 10 | #include "python/numpy_image.h" 11 | 12 | #endif // DLIB_PYTHoN_TOP_ 13 | 14 | 15 | -------------------------------------------------------------------------------- /dlib/dlib/python/pyassert.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2013 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_PYaSSERT_Hh_ 4 | #define DLIB_PYaSSERT_Hh_ 5 | 6 | #include 7 | 8 | #define pyassert(_exp,_message) \ 9 | {if ( !(_exp) ) \ 10 | { \ 11 | PyErr_SetString( PyExc_ValueError, _message ); \ 12 | boost::python::throw_error_already_set(); \ 13 | }} 14 | 15 | #endif // DLIB_PYaSSERT_Hh_ 16 | 17 | -------------------------------------------------------------------------------- /dlib/dlib/quantum_computing.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2008 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_QUANTUM_COMPUTINg_H_ 4 | #define DLIB_QUANTUM_COMPUTINg_H_ 5 | 6 | #include "quantum_computing/quantum_computing.h" 7 | 8 | #endif // DLIB_QUANTUM_COMPUTINg_H_ 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /dlib/dlib/rand.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2003 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_RANd_ 4 | #define DLIB_RANd_ 5 | 6 | #include "rand/rand_kernel_1.h" 7 | 8 | #endif // DLIB_RANd_ 9 | 10 | -------------------------------------------------------------------------------- /dlib/dlib/reference_counter.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2003 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_REFERENCE_COUNTEr_ 4 | #define DLIB_REFERENCE_COUNTEr_ 5 | 6 | #include "reference_counter/reference_counter_kernel_1.h" 7 | #include "algs.h" 8 | 9 | namespace dlib 10 | { 11 | 12 | template < 13 | typename T, 14 | typename copy = copy_functor 15 | > 16 | class reference_counter 17 | { 18 | reference_counter() {} 19 | public: 20 | 21 | //----------- kernels --------------- 22 | 23 | // kernel_1a 24 | typedef reference_counter_kernel_1 25 | kernel_1a; 26 | 27 | }; 28 | } 29 | 30 | #endif // DLIB_REFERENCE_COUNTEr_ 31 | 32 | -------------------------------------------------------------------------------- /dlib/dlib/release_build_by_default: -------------------------------------------------------------------------------- 1 | 2 | #set default build type to Release 3 | if(NOT CMAKE_BUILD_TYPE) 4 | set(CMAKE_BUILD_TYPE "Release" CACHE STRING 5 | "Choose the type of build, options are: Debug Release 6 | RelWithDebInfo MinSizeRel." FORCE) 7 | endif() 8 | 9 | 10 | -------------------------------------------------------------------------------- /dlib/dlib/server.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2003 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_SERVEr_ 4 | #define DLIB_SERVEr_ 5 | 6 | #include "server/server_kernel.h" 7 | #include "server/server_iostream.h" 8 | #include "server/server_http.h" 9 | 10 | 11 | #endif // DLIB_SERVEr_ 12 | 13 | -------------------------------------------------------------------------------- /dlib/dlib/server/server_iostream.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2003 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_SERVER_IOSTREAM_CPp_ 4 | #define DLIB_SERVER_IOSTREAM_CPp_ 5 | 6 | #include "server_iostream.h" 7 | 8 | namespace dlib 9 | { 10 | const logger server_iostream::_dLog("dlib.server_iostream"); 11 | } 12 | 13 | #endif // DLIB_SERVER_IOSTREAM_CPp_ 14 | 15 | -------------------------------------------------------------------------------- /dlib/dlib/set_utils.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2007 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_SET_UTILs_H_ 4 | #define DLIB_SET_UTILs_H_ 5 | 6 | #include "set_utils/set_utils.h" 7 | 8 | #endif // DLIB_SET_UTILs_H_ 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /dlib/dlib/simd.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2013 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_SIMd_Hh_ 4 | #define DLIB_SIMd_Hh_ 5 | 6 | #include "simd/simd4f.h" 7 | #include "simd/simd4i.h" 8 | #include "simd/simd8f.h" 9 | #include "simd/simd8i.h" 10 | 11 | #endif // DLIB_SIMd_Hh_ 12 | 13 | -------------------------------------------------------------------------------- /dlib/dlib/sliding_buffer.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2004 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_SLIDING_BUFFEr_ 4 | #define DLIB_SLIDING_BUFFEr_ 5 | 6 | 7 | #include "sliding_buffer/sliding_buffer_kernel_1.h" 8 | #include "sliding_buffer/sliding_buffer_kernel_c.h" 9 | #include "sliding_buffer/circular_buffer.h" 10 | 11 | 12 | 13 | namespace dlib 14 | { 15 | 16 | template < 17 | typename T 18 | > 19 | class sliding_buffer 20 | { 21 | 22 | sliding_buffer() {} 23 | public: 24 | 25 | //----------- kernels --------------- 26 | 27 | // kernel_1a 28 | typedef sliding_buffer_kernel_1 29 | kernel_1a; 30 | typedef sliding_buffer_kernel_c 31 | kernel_1a_c; 32 | 33 | 34 | }; 35 | } 36 | 37 | #endif // DLIB_SLIDING_BUFFEr_ 38 | 39 | -------------------------------------------------------------------------------- /dlib/dlib/smart_pointers.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2007 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_SMART_POINTERs_H_ 4 | #define DLIB_SMART_POINTERs_H_ 5 | 6 | #include "smart_pointers/scoped_ptr.h" 7 | #include "smart_pointers/shared_ptr.h" 8 | #include "smart_pointers/weak_ptr.h" 9 | 10 | #endif // DLIB_SMART_POINTERs_H_ 11 | 12 | 13 | -------------------------------------------------------------------------------- /dlib/dlib/smart_pointers_thread_safe.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2008 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_SMART_POINTERs_THREAD_SAFE_H_ 4 | #define DLIB_SMART_POINTERs_THREAD_SAFE_H_ 5 | 6 | #include "smart_pointers/shared_ptr_thread_safe.h" 7 | 8 | #endif // DLIB_SMART_POINTERs_THREAD_SAFE_H_ 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /dlib/dlib/sockets.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2003 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_SOCKETs_ 4 | #define DLIB_SOCKETs_ 5 | 6 | #include "platform.h" 7 | 8 | 9 | #ifdef WIN32 10 | #include "sockets/windows.h" 11 | #endif 12 | 13 | #ifndef WIN32 14 | #include "sockets/posix.h" 15 | #endif 16 | 17 | #include "sockets/sockets_extensions.h" 18 | 19 | #endif // DLIB_SOCKETs_ 20 | 21 | -------------------------------------------------------------------------------- /dlib/dlib/sockets/posix.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2003 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_SOCKETS_KERNEl_1_ 4 | #include "sockets_kernel_2.h" 5 | #endif 6 | 7 | -------------------------------------------------------------------------------- /dlib/dlib/sockets/windows.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2003 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_SOCKETS_KERNEl_2_ 4 | #include "sockets_kernel_1.h" 5 | #endif 6 | 7 | -------------------------------------------------------------------------------- /dlib/dlib/sockstreambuf.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2003 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_SOCKSTREAMBUf_H_h_ 4 | #define DLIB_SOCKSTREAMBUf_H_h_ 5 | 6 | #include "sockstreambuf/sockstreambuf.h" 7 | #include "sockstreambuf/sockstreambuf_unbuffered.h" 8 | 9 | 10 | #endif // DLIB_SOCKSTREAMBUf_H_h_ 11 | 12 | -------------------------------------------------------------------------------- /dlib/dlib/sparse_vector.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2012 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_SPaRSE_VECTOR_Hh_ 4 | #define DLIB_SPaRSE_VECTOR_Hh_ 5 | 6 | #include "svm/sparse_vector.h" 7 | 8 | #endif // DLIB_SPaRSE_VECTOR_Hh_ 9 | 10 | 11 | -------------------------------------------------------------------------------- /dlib/dlib/sqlite.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2011 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_SQLiTE_HEADER 4 | #define DLIB_SQLiTE_HEADER 5 | 6 | #include "sqlite/sqlite_tools.h" 7 | 8 | #endif // DLIB_SVm_HEADER 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /dlib/dlib/sstream: -------------------------------------------------------------------------------- 1 | #include "dlib_include_path_tutorial.txt" 2 | -------------------------------------------------------------------------------- /dlib/dlib/stack.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2003 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_STACk_ 4 | #define DLIB_STACk_ 5 | 6 | #include "stack/stack_kernel_1.h" 7 | #include "stack/stack_kernel_c.h" 8 | #include "algs.h" 9 | 10 | namespace dlib 11 | { 12 | 13 | template < 14 | typename T, 15 | typename mem_manager = default_memory_manager 16 | > 17 | class stack 18 | { 19 | stack() {} 20 | public: 21 | 22 | //----------- kernels --------------- 23 | 24 | // kernel_1a 25 | typedef stack_kernel_1 26 | kernel_1a; 27 | typedef stack_kernel_c 28 | kernel_1a_c; 29 | 30 | }; 31 | } 32 | 33 | #endif // DLIB_STACk_ 34 | 35 | -------------------------------------------------------------------------------- /dlib/dlib/static_map.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2005 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_STATIC_MAp_ 4 | #define DLIB_STATIC_MAp_ 5 | 6 | #include "static_map/static_map_kernel_1.h" 7 | #include "static_map/static_map_kernel_c.h" 8 | 9 | #include 10 | 11 | 12 | namespace dlib 13 | { 14 | 15 | template < 16 | typename domain, 17 | typename range, 18 | typename compare = std::less 19 | > 20 | class static_map 21 | { 22 | static_map() {} 23 | 24 | 25 | public: 26 | 27 | //----------- kernels --------------- 28 | 29 | // kernel_1a 30 | typedef static_map_kernel_1 31 | kernel_1a; 32 | typedef static_map_kernel_c 33 | kernel_1a_c; 34 | 35 | 36 | 37 | 38 | 39 | }; 40 | } 41 | 42 | #endif // DLIB_STATIC_MAp_ 43 | 44 | -------------------------------------------------------------------------------- /dlib/dlib/static_set.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2005 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_STATIC_SEt_ 4 | #define DLIB_STATIC_SEt_ 5 | 6 | #include "static_set/static_set_kernel_1.h" 7 | #include "static_set/static_set_kernel_c.h" 8 | #include "static_set/static_set_compare_1.h" 9 | 10 | #include 11 | 12 | namespace dlib 13 | { 14 | 15 | template < 16 | typename T, 17 | typename compare = std::less 18 | > 19 | class static_set 20 | { 21 | static_set() {} 22 | 23 | 24 | public: 25 | 26 | //----------- kernels --------------- 27 | 28 | // kernel_1a 29 | typedef static_set_kernel_1 30 | kernel_1a; 31 | typedef static_set_kernel_c 32 | kernel_1a_c; 33 | 34 | 35 | //----------- extensions ------------- 36 | 37 | typedef static_set_compare_1 38 | compare_1a; 39 | typedef static_set_compare_1 40 | compare_1a_c; 41 | 42 | 43 | 44 | 45 | }; 46 | } 47 | 48 | #endif // DLIB_STATIC_SEt_ 49 | 50 | -------------------------------------------------------------------------------- /dlib/dlib/statistics.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2008 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_STATISTICs_H_ 4 | #define DLIB_STATISTICs_H_ 5 | 6 | #include "statistics/statistics.h" 7 | #include "statistics/dpca.h" 8 | #include "statistics/random_subset_selector.h" 9 | #include "statistics/image_feature_sampling.h" 10 | #include "statistics/sammon.h" 11 | #include "statistics/cca.h" 12 | #include "statistics/average_precision.h" 13 | #include "statistics/vector_normalizer_frobmetric.h" 14 | #include "statistics/lda.h" 15 | 16 | #endif // DLIB_STATISTICs_H_ 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /dlib/dlib/stl_checked.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2008 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_STL_CHECKEd_HEADER 4 | #define DLIB_STL_CHECKEd_HEADER 5 | 6 | #include "stl_checked/std_vector_c.h" 7 | 8 | #endif // DLIB_STL_CHECKEd_HEADER 9 | 10 | 11 | -------------------------------------------------------------------------------- /dlib/dlib/string.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2006 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_STRINg_TOP_ 4 | #define DLIB_STRINg_TOP_ 5 | 6 | #include "string/string.h" 7 | 8 | #endif // DLIB_STRINg_TOP_ 9 | 10 | -------------------------------------------------------------------------------- /dlib/dlib/string/cassert: -------------------------------------------------------------------------------- 1 | #include "../dlib_include_path_tutorial.txt" 2 | -------------------------------------------------------------------------------- /dlib/dlib/string/iomanip: -------------------------------------------------------------------------------- 1 | #include "../dlib_include_path_tutorial.txt" 2 | -------------------------------------------------------------------------------- /dlib/dlib/string/iosfwd: -------------------------------------------------------------------------------- 1 | #include "../dlib_include_path_tutorial.txt" 2 | -------------------------------------------------------------------------------- /dlib/dlib/string/iostream: -------------------------------------------------------------------------------- 1 | #include "../dlib_include_path_tutorial.txt" 2 | -------------------------------------------------------------------------------- /dlib/dlib/string/locale: -------------------------------------------------------------------------------- 1 | #include "../dlib_include_path_tutorial.txt" 2 | -------------------------------------------------------------------------------- /dlib/dlib/svm/null_df.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2010 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_NULL_DECISION_FUnCTION_Hh_ 4 | #define DLIB_NULL_DECISION_FUnCTION_Hh_ 5 | 6 | #include 7 | 8 | namespace dlib 9 | { 10 | 11 | // ---------------------------------------------------------------------------------------- 12 | 13 | struct null_df 14 | { 15 | /*! 16 | WHAT THIS OBJECT REPRESENTS 17 | This is a type used to represent an unused field in the list of template 18 | arguments of the one_vs_one_decision_function and one_vs_all_decision_function 19 | templates. As such, null_df doesn't actually do anything. 20 | !*/ 21 | template 22 | double operator() ( const T&) const { return 0; } 23 | }; 24 | 25 | inline void serialize(const null_df&, std::ostream&) {} 26 | inline void deserialize(null_df&, std::istream&) {} 27 | 28 | // ---------------------------------------------------------------------------------------- 29 | 30 | } 31 | 32 | #endif // DLIB_NULL_DECISION_FUnCTION_Hh_ 33 | 34 | -------------------------------------------------------------------------------- /dlib/dlib/svm_threaded.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2008 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_SVm_THREADED_HEADER 4 | #define DLIB_SVm_THREADED_HEADER 5 | 6 | #include "svm.h" 7 | #include "svm/svm_threaded.h" 8 | #include "svm/structural_svm_problem_threaded.h" 9 | #include "svm/structural_svm_distributed.h" 10 | #include "svm/structural_svm_object_detection_problem.h" 11 | #include "svm/structural_object_detection_trainer.h" 12 | #include "svm/structural_svm_sequence_labeling_problem.h" 13 | #include "svm/structural_sequence_labeling_trainer.h" 14 | 15 | #include "svm/structural_svm_assignment_problem.h" 16 | #include "svm/structural_assignment_trainer.h" 17 | #include "svm/cross_validate_track_association_trainer.h" 18 | #include "svm/structural_track_association_trainer.h" 19 | 20 | #include "svm/structural_svm_graph_labeling_problem.h" 21 | #include "svm/structural_graph_labeling_trainer.h" 22 | #include "svm/cross_validate_graph_labeling_trainer.h" 23 | #include "svm/svm_multiclass_linear_trainer.h" 24 | #include "svm/one_vs_one_trainer.h" 25 | #include "svm/one_vs_all_trainer.h" 26 | #include "svm/structural_sequence_segmentation_trainer.h" 27 | 28 | #endif // DLIB_SVm_THREADED_HEADER 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /dlib/dlib/sync_extension.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2003 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_SYNC_EXTENSIOn_ 4 | #define DLIB_SYNC_EXTENSIOn_ 5 | 6 | #include "sync_extension/sync_extension_kernel_1.h" 7 | 8 | 9 | 10 | namespace dlib 11 | { 12 | 13 | template < 14 | typename base 15 | > 16 | class sync_extension 17 | { 18 | sync_extension() {} 19 | public: 20 | 21 | //----------- kernels --------------- 22 | 23 | // kernel_1a 24 | typedef sync_extension_kernel_1 25 | kernel_1a; 26 | 27 | }; 28 | } 29 | 30 | #endif // DLIB_SYNC_EXTENSIOn_ 31 | 32 | -------------------------------------------------------------------------------- /dlib/dlib/test/blas_bindings/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # This is a CMake makefile. You can find the cmake utility and 3 | # information about it at http://www.cmake.org 4 | # 5 | 6 | cmake_minimum_required(VERSION 2.6) 7 | 8 | # This variable contains a list of all the tests we are building 9 | # into the regression test suite. 10 | set (tests 11 | blas_bindings_gemm.cpp 12 | blas_bindings_gemv.cpp 13 | blas_bindings_ger.cpp 14 | blas_bindings_dot.cpp 15 | blas_bindings_scal_axpy.cpp 16 | vector.cpp 17 | ) 18 | 19 | # create a variable called target_name and set it to the string "test" 20 | set (target_name test) 21 | 22 | PROJECT(${target_name}) 23 | 24 | # add all the cpp files we want to compile to this list. This tells 25 | # cmake that they are part of our target (which is the executable named test) 26 | ADD_EXECUTABLE(${target_name} ../main.cpp ../tester.cpp ${tests}) 27 | 28 | ADD_DEFINITIONS(-DDLIB_TEST_BLAS_BINDINGS) 29 | 30 | # Tell cmake to link our target executable to dlib 31 | include(../../cmake) 32 | TARGET_LINK_LIBRARIES(${target_name} dlib ) 33 | 34 | -------------------------------------------------------------------------------- /dlib/dlib/test/cmd_line_parser.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2003 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | 4 | 5 | #include 6 | #include 7 | 8 | #include 9 | 10 | #include "tester.h" 11 | 12 | #include "cmd_line_parser.h" 13 | namespace 14 | { 15 | 16 | class cmd_line_parser_tester : public tester 17 | { 18 | public: 19 | cmd_line_parser_tester ( 20 | ) : 21 | tester ("test_cmd_line_parser_char", 22 | "Runs tests on the cmd_line_parser component.") 23 | {} 24 | 25 | void perform_test ( 26 | ) 27 | { 28 | dlog << LINFO << "testing kernel_1a with char"; 29 | cmd_line_parser_kernel_test::kernel_1a>(); 30 | print_spinner(); 31 | 32 | dlog << LINFO << "testing kernel_1a_c with char"; 33 | cmd_line_parser_kernel_test::kernel_1a_c>(); 34 | print_spinner(); 35 | } 36 | } a; 37 | 38 | } 39 | 40 | 41 | -------------------------------------------------------------------------------- /dlib/dlib/test/cmd_line_parser_wchar_t.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2003 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | 4 | 5 | #include 6 | #include 7 | 8 | #include 9 | 10 | #include "tester.h" 11 | 12 | #include "cmd_line_parser.h" 13 | namespace 14 | { 15 | 16 | class cmd_line_parser_tester : public tester 17 | { 18 | public: 19 | cmd_line_parser_tester ( 20 | ) : 21 | tester ("test_cmd_line_parser_wchar_t", 22 | "Runs tests on the cmd_line_parser component.") 23 | {} 24 | 25 | void perform_test ( 26 | ) 27 | { 28 | dlog << LINFO << "testing kernel_1a with wchar_t"; 29 | cmd_line_parser_kernel_test::kernel_1a>(); 30 | print_spinner(); 31 | 32 | dlog << LINFO << "testing kernel_1a_c with wchar_t"; 33 | cmd_line_parser_kernel_test::kernel_1a_c>(); 34 | print_spinner(); 35 | } 36 | } a; 37 | 38 | } 39 | 40 | 41 | -------------------------------------------------------------------------------- /dlib/dlib/test/create_iris_datafile.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2011 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_CREATE_IRIS_DAtAFILE_Hh_ 4 | #define DLIB_CREATE_IRIS_DAtAFILE_Hh_ 5 | 6 | namespace dlib 7 | { 8 | void create_iris_datafile ( 9 | ); 10 | /*! 11 | ensures 12 | - Creates a local file called iris.scale that contains the 13 | 150 samples from the 3-class Iris dataset from the UCI 14 | repository. The file will be in LIBSVM format (it was 15 | originally downloaded from the LIBSVM website). 16 | !*/ 17 | } 18 | 19 | #endif // DLIB_CREATE_IRIS_DAtAFILE_Hh_ 20 | -------------------------------------------------------------------------------- /dlib/dlib/test/examples/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | # Disable some warnings from gcc when compiling the examples because fixing them would make the 3 | # examples harder to read. 4 | if (CMAKE_COMPILER_IS_GNUCXX) 5 | add_definitions("-Wno-comment -Wno-unused-parameter") 6 | endif() 7 | 8 | add_subdirectory(../../../examples examples_build) 9 | -------------------------------------------------------------------------------- /dlib/dlib/test/gui/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # This is a CMake makefile. You can find the cmake utility and 3 | # information about it at http://www.cmake.org 4 | # 5 | 6 | # create a variable called target_name and set it to the string "test" 7 | set (target_name gui) 8 | 9 | PROJECT(${target_name}) 10 | 11 | # add all the cpp files we want to compile to this list. This tells 12 | # cmake that they are part of our target (which is the executable named test) 13 | ADD_EXECUTABLE(${target_name} main.cpp ) 14 | 15 | # Add the folder containing the dlib folder to the include path 16 | INCLUDE_DIRECTORIES(../../..) 17 | 18 | # Tell cmake to link our target executable to dlib. 19 | TARGET_LINK_LIBRARIES(${target_name} dlib ) 20 | 21 | -------------------------------------------------------------------------------- /dlib/dlib/threads.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2003 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_THREADs_ 4 | #define DLIB_THREADs_ 5 | 6 | #include "threads/threads_kernel.h" 7 | 8 | #include "threads/auto_mutex_extension.h" 9 | #include "threads/auto_unlock_extension.h" 10 | #include "threads/create_new_thread_extension.h" 11 | #include "threads/multithreaded_object_extension.h" 12 | #include "threads/rmutex_extension.h" 13 | #include "threads/rsignaler_extension.h" 14 | #include "threads/threaded_object_extension.h" 15 | #include "threads/thread_specific_data_extension.h" 16 | #include "threads/thread_function_extension.h" 17 | #include "threads/thread_pool_extension.h" 18 | #include "threads/read_write_mutex_extension.h" 19 | #include "threads/parallel_for_extension.h" 20 | 21 | #endif // DLIB_THREADs_ 22 | 23 | -------------------------------------------------------------------------------- /dlib/dlib/threads/create_new_thread_extension_abstract.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2006 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #undef DLIB_CREATE_NEW_THREAD_EXTENSIOn_ABSTRACT_ 4 | #ifdef DLIB_CREATE_NEW_THREAD_EXTENSIOn_ABSTRACT_ 5 | 6 | #include "threads_kernel_abstract.h" 7 | 8 | namespace dlib 9 | { 10 | 11 | // ---------------------------------------------------------------------------------------- 12 | 13 | template < 14 | typename T, 15 | void (T::*funct)() 16 | > 17 | bool create_new_thread ( 18 | T& obj 19 | ); 20 | /*! 21 | ensures 22 | - creates a new thread and calls obj.*funct() from it. 23 | - returns true upon success and false upon failure to create the new thread. 24 | !*/ 25 | 26 | // ---------------------------------------------------------------------------------------- 27 | 28 | } 29 | 30 | #endif // DLIB_CREATE_NEW_THREAD_EXTENSIOn_ABSTRACT_ 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /dlib/dlib/threads/posix.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2003 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_THREADS_KERNEl_1_ 4 | #include "threads_kernel_2.h" 5 | #endif 6 | 7 | -------------------------------------------------------------------------------- /dlib/dlib/threads/threads_kernel.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2006 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_THREADs_KERNEL_ 4 | #define DLIB_THREADs_KERNEL_ 5 | 6 | #include "../platform.h" 7 | 8 | #ifdef WIN32 9 | #include "windows.h" 10 | #endif 11 | 12 | #ifndef WIN32 13 | #include "posix.h" 14 | #endif 15 | 16 | #endif // DLIB_THREADs_KERNEL_ 17 | 18 | 19 | -------------------------------------------------------------------------------- /dlib/dlib/threads/windows.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2003 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_THREADS_KERNEl_2_ 4 | #include "threads_kernel_1.h" 5 | #endif 6 | 7 | -------------------------------------------------------------------------------- /dlib/dlib/timeout.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2007 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_TIMEOUt_ 4 | #define DLIB_TIMEOUt_ 5 | 6 | #include "timeout/timeout.h" 7 | 8 | #endif // DLIB_TIMEOUt_ 9 | 10 | 11 | -------------------------------------------------------------------------------- /dlib/dlib/timer.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2005 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_TIMEr_ 4 | #define DLIB_TIMEr_ 5 | 6 | #include "timer/timer.h" 7 | #include "timer/timer_heavy.h" 8 | 9 | #endif // DLIB_TIMEr_ 10 | 11 | -------------------------------------------------------------------------------- /dlib/dlib/tokenizer.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2005 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_TOKENIZEr_ 4 | #define DLIB_TOKENIZEr_ 5 | 6 | #include "tokenizer/tokenizer_kernel_1.h" 7 | #include "tokenizer/tokenizer_kernel_c.h" 8 | 9 | 10 | namespace dlib 11 | { 12 | 13 | class tokenizer 14 | { 15 | tokenizer() {} 16 | 17 | 18 | public: 19 | 20 | //----------- kernels --------------- 21 | 22 | // kernel_1a 23 | typedef tokenizer_kernel_1 24 | kernel_1a; 25 | typedef tokenizer_kernel_c 26 | kernel_1a_c; 27 | 28 | 29 | }; 30 | } 31 | 32 | #endif // DLIB_TOKENIZEr_ 33 | 34 | -------------------------------------------------------------------------------- /dlib/dlib/tuple.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2007 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_TUPLe_TOP_ 4 | #define DLIB_TUPLe_TOP_ 5 | 6 | #include "tuple/tuple.h" 7 | 8 | #endif // DLIB_TUPLe_TOPh_ 9 | 10 | 11 | -------------------------------------------------------------------------------- /dlib/dlib/type_safe_union.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2009 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_TYPE_SAFE_UNIOn_TOP_ 4 | #define DLIB_TYPE_SAFE_UNIOn_TOP_ 5 | 6 | #include "type_safe_union/type_safe_union_kernel.h" 7 | 8 | #endif // DLIB_TYPE_SAFE_UNIOn_TOP_ 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /dlib/dlib/unicode.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2007 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_UNICODe_TOP_ 4 | #define DLIB_UNICODe_TOP_ 5 | 6 | #include "unicode/unicode.h" 7 | 8 | #endif // DLIB_UNICODe_TOP_ 9 | 10 | -------------------------------------------------------------------------------- /dlib/dlib/vectorstream.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2012 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_VECTORSTReAMh_ 4 | #define DLIB_VECTORSTReAMh_ 5 | 6 | #include "vectorstream/vectorstream.h" 7 | 8 | 9 | #endif // DLIB_VECTORSTReAMh_ 10 | 11 | -------------------------------------------------------------------------------- /dlib/dlib/xml_parser.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2003 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_XML_PARSEr_ 4 | #define DLIB_XML_PARSEr_ 5 | 6 | #include 7 | 8 | #include "xml_parser/xml_parser_kernel_interfaces.h" 9 | #include "xml_parser/xml_parser_kernel_1.h" 10 | 11 | 12 | #endif // DLIB_XML_PARSEr_ 13 | 14 | -------------------------------------------------------------------------------- /dlib/docs/.current_minor_release_number: -------------------------------------------------------------------------------- 1 | 17 2 | -------------------------------------------------------------------------------- /dlib/docs/.current_release_number: -------------------------------------------------------------------------------- 1 | 18 2 | -------------------------------------------------------------------------------- /dlib/docs/.logger_revnum: -------------------------------------------------------------------------------- 1 | ce6f36498786 2 | -------------------------------------------------------------------------------- /dlib/docs/docs/bigminus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/bigminus.gif -------------------------------------------------------------------------------- /dlib/docs/docs/bigplus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/bigplus.gif -------------------------------------------------------------------------------- /dlib/docs/docs/boost.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/boost.png -------------------------------------------------------------------------------- /dlib/docs/docs/change_log.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Change Log 6 | 7 |
8 |
Old Change Logs
9 |
10 | 11 |
12 | -------------------------------------------------------------------------------- /dlib/docs/docs/chm/READ THE README. DO NOT EDIT THE TABLE OF CONTENTS FILE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/chm/READ THE README. DO NOT EDIT THE TABLE OF CONTENTS FILE -------------------------------------------------------------------------------- /dlib/docs/docs/chm/READ THE README. DO NOT EDIT THE TABLE OF CONTENTS FILE2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/chm/READ THE README. DO NOT EDIT THE TABLE OF CONTENTS FILE2 -------------------------------------------------------------------------------- /dlib/docs/docs/chm/READ THE README. DO NOT EDIT THE TABLE OF CONTENTS FILE3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/chm/READ THE README. DO NOT EDIT THE TABLE OF CONTENTS FILE3 -------------------------------------------------------------------------------- /dlib/docs/docs/chm/README.txt: -------------------------------------------------------------------------------- 1 | The Table of Contents.hhc file is auto generated by the toc.xml and htmlhelp_stylesheet.xsl files. 2 | You really can edit it if you want but I suggest you use the stylesheet to auto generate it instead. 3 | 4 | If you want to regenerate the table of contents file you can do so with 5 | the command "msxsl toc.xml htmlhelp_stylesheet.xsl" if you are using msxsl.exe. -------------------------------------------------------------------------------- /dlib/docs/docs/chm/documentation.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | dlib C++ library 4 | 5 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

15 | 16 | click here to go to the documentation 17 |

18 | 19 | 20 | -------------------------------------------------------------------------------- /dlib/docs/docs/chm/htmlhelp/hha.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/chm/htmlhelp/hha.dll -------------------------------------------------------------------------------- /dlib/docs/docs/chm/htmlhelp/hhc.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/chm/htmlhelp/hhc.exe -------------------------------------------------------------------------------- /dlib/docs/docs/chm/htmlhelp/htmlhelp.reg: -------------------------------------------------------------------------------- 1 | REGEDIT4 2 | 3 | 4 | [HKEY_CURRENT_USER\Software\Wine\AppDefaults\hhc.exe\DllOverrides] 5 | "itss"="native" 6 | -------------------------------------------------------------------------------- /dlib/docs/docs/chm/htmlhelp/itcc.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/chm/htmlhelp/itcc.dll -------------------------------------------------------------------------------- /dlib/docs/docs/chm/htmlhelp/itircl.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/chm/htmlhelp/itircl.dll -------------------------------------------------------------------------------- /dlib/docs/docs/chm/htmlhelp/itss.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/chm/htmlhelp/itss.dll -------------------------------------------------------------------------------- /dlib/docs/docs/chm/htmlhelp/setup_htmlhelp.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cp *.dll ~/.wine/drive_c/windows/system32/ 4 | 5 | # Setup the registry 6 | wine regedit htmlhelp.reg 7 | 8 | wine regsvr32 itcc.dll 9 | wine regsvr32 itircl.dll 10 | 11 | -------------------------------------------------------------------------------- /dlib/docs/docs/chm/toc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | docs 6 | ../main_menu.xml 7 | false 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /dlib/docs/docs/dlib-icon-30x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/dlib-icon-30x32.png -------------------------------------------------------------------------------- /dlib/docs/docs/dlib-icon-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/dlib-icon-32.png -------------------------------------------------------------------------------- /dlib/docs/docs/dlib-icon-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/dlib-icon-48.png -------------------------------------------------------------------------------- /dlib/docs/docs/dlib-icon-64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/dlib-icon-64.png -------------------------------------------------------------------------------- /dlib/docs/docs/dlib-icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/dlib-icon.ico -------------------------------------------------------------------------------- /dlib/docs/docs/dlib-logo-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/dlib-logo-small.png -------------------------------------------------------------------------------- /dlib/docs/docs/dlib-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/dlib-logo.png -------------------------------------------------------------------------------- /dlib/docs/docs/down.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/down.gif -------------------------------------------------------------------------------- /dlib/docs/docs/face_landmarking_example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/face_landmarking_example.png -------------------------------------------------------------------------------- /dlib/docs/docs/guipics/button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/guipics/button.png -------------------------------------------------------------------------------- /dlib/docs/docs/guipics/check_box.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/guipics/check_box.png -------------------------------------------------------------------------------- /dlib/docs/docs/guipics/directed_graph_drawer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/guipics/directed_graph_drawer.png -------------------------------------------------------------------------------- /dlib/docs/docs/guipics/image_window.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/guipics/image_window.jpg -------------------------------------------------------------------------------- /dlib/docs/docs/guipics/label.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/guipics/label.png -------------------------------------------------------------------------------- /dlib/docs/docs/guipics/list_box.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/guipics/list_box.png -------------------------------------------------------------------------------- /dlib/docs/docs/guipics/menu_bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/guipics/menu_bar.png -------------------------------------------------------------------------------- /dlib/docs/docs/guipics/message_box.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/guipics/message_box.png -------------------------------------------------------------------------------- /dlib/docs/docs/guipics/mouse_tracker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/guipics/mouse_tracker.png -------------------------------------------------------------------------------- /dlib/docs/docs/guipics/named_rectangle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/guipics/named_rectangle.png -------------------------------------------------------------------------------- /dlib/docs/docs/guipics/open_existing_file_box.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/guipics/open_existing_file_box.png -------------------------------------------------------------------------------- /dlib/docs/docs/guipics/open_file_box.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/guipics/open_file_box.png -------------------------------------------------------------------------------- /dlib/docs/docs/guipics/perspective_window.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/guipics/perspective_window.png -------------------------------------------------------------------------------- /dlib/docs/docs/guipics/popup_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/guipics/popup_menu.png -------------------------------------------------------------------------------- /dlib/docs/docs/guipics/radio_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/guipics/radio_button.png -------------------------------------------------------------------------------- /dlib/docs/docs/guipics/save_file_box.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/guipics/save_file_box.png -------------------------------------------------------------------------------- /dlib/docs/docs/guipics/scroll_bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/guipics/scroll_bar.png -------------------------------------------------------------------------------- /dlib/docs/docs/guipics/tabbed_display.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/guipics/tabbed_display.png -------------------------------------------------------------------------------- /dlib/docs/docs/guipics/text_box.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/guipics/text_box.png -------------------------------------------------------------------------------- /dlib/docs/docs/guipics/text_field.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/guipics/text_field.png -------------------------------------------------------------------------------- /dlib/docs/docs/guipics/text_grid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/guipics/text_grid.png -------------------------------------------------------------------------------- /dlib/docs/docs/heatmap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/heatmap.png -------------------------------------------------------------------------------- /dlib/docs/docs/jet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/jet.png -------------------------------------------------------------------------------- /dlib/docs/docs/kernel_1a.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | kernel_1a 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /dlib/docs/docs/kernel_1b.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | kernel_1b 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /dlib/docs/docs/kernel_1c.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | kernel_1c 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /dlib/docs/docs/kernel_1da.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | kernel_1da 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /dlib/docs/docs/kernel_1db.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | kernel_1db 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /dlib/docs/docs/kernel_1ea.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | kernel_1ea 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /dlib/docs/docs/kernel_1eb.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | kernel_1eb 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /dlib/docs/docs/kernel_1ec.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | kernel_1ec 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /dlib/docs/docs/kernel_2a.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | kernel_2a 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /dlib/docs/docs/kernel_3a.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | kernel_3a 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /dlib/docs/docs/kernel_3b.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | kernel_3b 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /dlib/docs/docs/minus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/minus.gif -------------------------------------------------------------------------------- /dlib/docs/docs/ml_guide.dia: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/ml_guide.dia -------------------------------------------------------------------------------- /dlib/docs/docs/old_change_log.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Old Change Logs 6 | 7 | 8 | -------------------------------------------------------------------------------- /dlib/docs/docs/old_release_notes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Old Release Notes 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /dlib/docs/docs/plus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/plus.gif -------------------------------------------------------------------------------- /dlib/docs/docs/python/generate_dlib_listing.py: -------------------------------------------------------------------------------- 1 | from __future__ import print_function 2 | import dlib 3 | import inspect 4 | 5 | def make_listing_files(): 6 | 7 | fc = open('classes.txt', 'w') 8 | ff = open('functions.txt', 'w') 9 | 10 | for obj in dir(dlib): 11 | if obj[0] == '_': 12 | continue 13 | name = 'dlib.'+obj 14 | isclass = inspect.isclass(eval(name)) 15 | if (isclass): 16 | print("* :class:`{0}`".format(name), file=fc) 17 | else: 18 | print("* :func:`{0}`".format(name), file=ff) 19 | 20 | -------------------------------------------------------------------------------- /dlib/docs/docs/python/index.rst: -------------------------------------------------------------------------------- 1 | 2 | .. image:: ../dlib-logo.png 3 | :alt: Dlib C++ Library 4 | :target: http://dlib.net 5 | 6 | Dlib is principally a C++ library, however, you can use a number of its tools 7 | from python applications. This page documents the python API for working with 8 | these dlib tools. If you haven't done so already, you should probably look at 9 | the python example programs first before consulting this reference. These 10 | example programs are little mini-tutorials for using dlib from python. They 11 | are listed on the left of the main dlib web page. 12 | 13 | Classes 14 | ============================================== 15 | 16 | .. include:: classes.txt 17 | 18 | Functions 19 | ============================================== 20 | 21 | .. include:: functions.txt 22 | 23 | 24 | Detailed API Listing 25 | ============================================== 26 | 27 | .. toctree:: 28 | :maxdepth: 2 29 | 30 | .. automodule:: dlib 31 | :members: 32 | :undoc-members: 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /dlib/docs/docs/rbf_big_gamma.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/rbf_big_gamma.gif -------------------------------------------------------------------------------- /dlib/docs/docs/rbf_normal.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/rbf_normal.gif -------------------------------------------------------------------------------- /dlib/docs/docs/rbf_small_gamma.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/rbf_small_gamma.gif -------------------------------------------------------------------------------- /dlib/docs/docs/right.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/right.gif -------------------------------------------------------------------------------- /dlib/docs/docs/vs-cmake-gui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/vs-cmake-gui.png -------------------------------------------------------------------------------- /dlib/docs/docs/vs_mode_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/vs_mode_1.png -------------------------------------------------------------------------------- /dlib/docs/docs/vs_mode_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/vs_mode_2.png -------------------------------------------------------------------------------- /dlib/docs/docs/vs_mode_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/docs/docs/vs_mode_3.png -------------------------------------------------------------------------------- /dlib/docs/testenv: -------------------------------------------------------------------------------- 1 | #/bin/sh 2 | # 3 | #This script checks to make sure all the commands we need are 4 | #present 5 | 6 | return_error() 7 | { 8 | echo "Error, can't run the $1 command" 9 | exit 1 10 | } 11 | 12 | 13 | echo Testing environment for needed utilities 14 | 15 | bc -h > /dev/null || return_error "bc"; 16 | echo nothing | awk '{}' > /dev/null || return_error "awk"; 17 | echo | sed -e "s/s/r/" > /dev/null || return_error "sed"; 18 | htmlify > /dev/null || return_error "htmlify"; 19 | echo | xargs > /dev/null || return_error "xargs"; 20 | hg > /dev/null || return_error "hg"; 21 | xsltproc -V > /dev/null || return_error "xsltproc"; 22 | tar --help > /dev/null || return_error "tar"; 23 | zip -h > /dev/null || return_error "zip"; 24 | bzip2 -h &> /dev/null || return_error "bzip2"; 25 | pygmentize -h &> /dev/null || return_error "pygmentize"; 26 | which sphinx-build &> /dev/null || return_error "sphinx-build"; 27 | 28 | 29 | echo All needed utilities found 30 | exit 0 31 | 32 | -------------------------------------------------------------------------------- /dlib/docs/testenv_rel: -------------------------------------------------------------------------------- 1 | #/bin/sh 2 | # 3 | #This script checks to make sure all the commands we need are 4 | #present 5 | 6 | return_error() 7 | { 8 | echo "Error, can't run the $1 command" 9 | exit 1 10 | } 11 | 12 | ./testenv 13 | 14 | echo Testing environment for needed release building utilities 15 | 16 | 17 | #flip -h > /dev/null || return_error "flip"; 18 | unix2dos -h &> /dev/null || return_error "unix2dos"; 19 | wine --help &> /dev/null || return_error "wine"; 20 | 21 | 22 | echo All needed utilities found 23 | exit 0 24 | 25 | -------------------------------------------------------------------------------- /dlib/examples/LICENSE_FOR_EXAMPLE_PROGRAMS.txt: -------------------------------------------------------------------------------- 1 | The intent of the example programs supplied with the dlib C++ library is 2 | to both instruct users and to also provide a simple body of code they 3 | may copy and paste from. To make this as painless as possible all the 4 | example programs have been placed into the public domain. 5 | 6 | 7 | This work is hereby released into the Public Domain. 8 | To view a copy of the public domain dedication, visit 9 | http://creativecommons.org/licenses/publicdomain/ or send a 10 | letter to 11 | Creative Commons 12 | 171 Second Street 13 | Suite 300, 14 | San Francisco, California, 94105, USA. 15 | 16 | 17 | 18 | Public domain dedications are not recognized by some countries. So 19 | if you live in an area where the above dedication isn't valid then 20 | you can consider the example programs to be licensed under the Boost 21 | Software License. 22 | 23 | -------------------------------------------------------------------------------- /dlib/examples/config.txt: -------------------------------------------------------------------------------- 1 | # This is an example config file. Note that # is used to create a comment. 2 | 3 | # At its most basic level a config file is just a bunch of key/value pairs. 4 | # So for example: 5 | key1 = value2 6 | dlib = a C++ library 7 | 8 | # You can also define "sub blocks" in your config files like so 9 | user1 10 | { 11 | # Inside a sub block you can list more key/value pairs. 12 | id = 42 13 | name = davis 14 | 15 | # you can also nest sub-blocks as deep as you want 16 | details 17 | { 18 | editor = vim 19 | home_dir = /home/davis 20 | } 21 | } 22 | user2 { 23 | id = 1234 24 | name = joe 25 | details { 26 | editor = emacs 27 | home_dir = /home/joe 28 | } 29 | } 30 | 31 | -------------------------------------------------------------------------------- /dlib/examples/faces/2007_007763.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/faces/2007_007763.jpg -------------------------------------------------------------------------------- /dlib/examples/faces/2008_001009.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/faces/2008_001009.jpg -------------------------------------------------------------------------------- /dlib/examples/faces/2008_001322.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/faces/2008_001322.jpg -------------------------------------------------------------------------------- /dlib/examples/faces/2008_002079.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/faces/2008_002079.jpg -------------------------------------------------------------------------------- /dlib/examples/faces/2008_002470.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/faces/2008_002470.jpg -------------------------------------------------------------------------------- /dlib/examples/faces/2008_002506.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/faces/2008_002506.jpg -------------------------------------------------------------------------------- /dlib/examples/faces/2008_004176.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/faces/2008_004176.jpg -------------------------------------------------------------------------------- /dlib/examples/faces/2008_007676.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/faces/2008_007676.jpg -------------------------------------------------------------------------------- /dlib/examples/faces/2009_004587.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/faces/2009_004587.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000100.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000100.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000101.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000101.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000102.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000102.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000103.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000103.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000104.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000104.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000105.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000105.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000106.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000106.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000107.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000107.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000108.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000108.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000109.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000109.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000110.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000110.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000111.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000111.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000112.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000112.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000113.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000113.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000114.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000114.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000115.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000115.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000116.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000116.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000117.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000117.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000118.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000118.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000119.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000119.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000120.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000120.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000121.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000121.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000122.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000122.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000123.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000123.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000124.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000124.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000125.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000125.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000126.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000126.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000127.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000127.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000128.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000128.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000129.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000129.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000130.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000130.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000131.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000131.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000132.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000132.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000133.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000133.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000134.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000134.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000135.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000135.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000136.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000136.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000137.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000137.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000138.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000138.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000139.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000139.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000140.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000140.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000141.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000141.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000142.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000142.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000143.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000143.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000144.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000144.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000145.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000145.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000146.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000146.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000147.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000147.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000148.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000148.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000149.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000149.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000150.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000150.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000151.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000151.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000152.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000152.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000153.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000153.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000154.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000154.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000155.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000155.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000156.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000156.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000157.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000157.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000158.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000158.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000159.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000159.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000160.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000160.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000161.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000161.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000162.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000162.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000163.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000163.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000164.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000164.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000165.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000165.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000166.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000166.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000167.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000167.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000168.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000168.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000169.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000169.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000170.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000170.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000171.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000171.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000172.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000172.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000173.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000173.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000174.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000174.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000175.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000175.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000176.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000176.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000177.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000177.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000178.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000178.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000179.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000179.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000180.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000180.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000181.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000181.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000182.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000182.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000183.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000183.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000184.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000184.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000185.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000185.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000186.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000186.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000187.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000187.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000188.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000188.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000189.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000189.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000190.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000190.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000191.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000191.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000192.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000192.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000193.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000193.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000194.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000194.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000195.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000195.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000196.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000196.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000197.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000197.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000198.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000198.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000199.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000199.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000200.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000200.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000201.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000201.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000202.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000202.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000203.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000203.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000204.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000204.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000205.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000205.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000206.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000206.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000207.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000207.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000208.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000208.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000209.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000209.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000210.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000210.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000211.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000211.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000212.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000212.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000213.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000213.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000214.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000214.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000215.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000215.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000216.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000216.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000217.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000217.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000218.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000218.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000219.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000219.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000220.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000220.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000221.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000221.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000222.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000222.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000223.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000223.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000224.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000224.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000225.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000225.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000226.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000226.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000227.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000227.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000228.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000228.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000229.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000229.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000230.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000230.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000231.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000231.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000232.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000232.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000233.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000233.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000234.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000234.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000235.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000235.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000236.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000236.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000237.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000237.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000238.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000238.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000239.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000239.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000240.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000240.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000241.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000241.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000242.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000242.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000243.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000243.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000244.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000244.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000245.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000245.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000246.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000246.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000247.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000247.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000248.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000248.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000249.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000249.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/frame_000250.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/examples/video_frames/frame_000250.jpg -------------------------------------------------------------------------------- /dlib/examples/video_frames/license.txt: -------------------------------------------------------------------------------- 1 | Please read terms of use for the content of this zip file at this websites: 2 | English: http://creativecommons.org/licenses/by-sa/3.0/de/deed.en 3 | German: http://creativecommons.org/licenses/by-sa/3.0/de/ 4 | 5 | 6 | Note that this video is from the BoBoT dataset (see http://www.iai.uni-bonn.de/~kleind/tracking/) but has been compressed a lot, cropped, and converted to grayscale to make the dlib archive file as small as possible. 7 | -------------------------------------------------------------------------------- /dlib/python_examples/LICENSE_FOR_EXAMPLE_PROGRAMS.txt: -------------------------------------------------------------------------------- 1 | The intent of the example programs supplied with the dlib C++ library is 2 | to both instruct users and to also provide a simple body of code they 3 | may copy and paste from. To make this as painless as possible all the 4 | example programs have been placed into the public domain. 5 | 6 | 7 | This work is hereby released into the Public Domain. 8 | To view a copy of the public domain dedication, visit 9 | http://creativecommons.org/licenses/publicdomain/ or send a 10 | letter to 11 | Creative Commons 12 | 171 Second Street 13 | Suite 300, 14 | San Francisco, California, 94105, USA. 15 | 16 | 17 | Public domain dedications are not recognized by some countries. So 18 | if you live in an area where the above dedication isn't valid then 19 | you can consider the example programs to be licensed under the Boost 20 | Software License. 21 | -------------------------------------------------------------------------------- /dlib/python_examples/compile_dlib_python_module.bat: -------------------------------------------------------------------------------- 1 | mkdir build 2 | cd build 3 | cmake ../../tools/python 4 | cmake --build . --config Release --target install 5 | cd .. 6 | -------------------------------------------------------------------------------- /dlib/tools/htmlify/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # This is a CMake makefile. You can find the cmake utility and 3 | # information about it at http://www.cmake.org 4 | # 5 | 6 | cmake_minimum_required(VERSION 2.8.4) 7 | 8 | # create a variable called target_name and set it to the string "htmlify" 9 | set (target_name htmlify) 10 | 11 | PROJECT(${target_name}) 12 | 13 | # add all the cpp files we want to compile to this list. This tells 14 | # cmake that they are part of our target (which is the executable named htmlify) 15 | ADD_EXECUTABLE(${target_name} 16 | htmlify.cpp 17 | to_xml.cpp 18 | ) 19 | 20 | # Tell cmake to link our target executable to dlib. 21 | include(../../dlib/cmake) 22 | TARGET_LINK_LIBRARIES(${target_name} dlib ) 23 | 24 | 25 | 26 | INSTALL(TARGETS ${target_name} 27 | RUNTIME DESTINATION bin 28 | ) 29 | 30 | 31 | -------------------------------------------------------------------------------- /dlib/tools/htmlify/to_xml.h: -------------------------------------------------------------------------------- 1 | #ifndef DLIB_HTMLIFY_TO_XmL_H__ 2 | #define DLIB_HTMLIFY_TO_XmL_H__ 3 | 4 | #include "dlib/cmd_line_parser.h" 5 | #include 6 | 7 | void generate_xml_markup( 8 | const dlib::cmd_line_parser::check_1a_c& parser, 9 | const std::string& filter, 10 | const unsigned long search_depth, 11 | const unsigned long expand_tabs 12 | ); 13 | /*! 14 | ensures 15 | - reads all the files indicated by the parser arguments and converts them 16 | to XML. The output will be stored in the output.xml file. 17 | - if (expand_tabs != 0) then 18 | - tabs will be replaced with expand_tabs spaces inside comment blocks 19 | !*/ 20 | 21 | #endif // DLIB_HTMLIFY_TO_XmL_H__ 22 | 23 | -------------------------------------------------------------------------------- /dlib/tools/htmlify/to_xml_example/bigminus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/tools/htmlify/to_xml_example/bigminus.gif -------------------------------------------------------------------------------- /dlib/tools/htmlify/to_xml_example/bigplus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/tools/htmlify/to_xml_example/bigplus.gif -------------------------------------------------------------------------------- /dlib/tools/htmlify/to_xml_example/example.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Documented Code 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /dlib/tools/htmlify/to_xml_example/minus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/tools/htmlify/to_xml_example/minus.gif -------------------------------------------------------------------------------- /dlib/tools/htmlify/to_xml_example/plus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/dlib/tools/htmlify/to_xml_example/plus.gif -------------------------------------------------------------------------------- /dlib/tools/imglab/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # This is a CMake makefile. You can find the cmake utility and 3 | # information about it at http://www.cmake.org 4 | # 5 | 6 | cmake_minimum_required(VERSION 2.8.4) 7 | 8 | # create a variable called target_name and set it to the string "imglab" 9 | set (target_name imglab) 10 | 11 | PROJECT(${target_name}) 12 | 13 | # add all the cpp files we want to compile to this list. This tells 14 | # cmake that they are part of our target (which is the executable named imglab) 15 | ADD_EXECUTABLE(${target_name} 16 | src/main.cpp 17 | src/metadata_editor.h 18 | src/metadata_editor.cpp 19 | src/convert_pascal_xml.h 20 | src/convert_pascal_xml.cpp 21 | src/convert_pascal_v1.h 22 | src/convert_pascal_v1.cpp 23 | src/convert_idl.h 24 | src/convert_idl.cpp 25 | src/common.h 26 | src/common.cpp 27 | src/cluster.cpp 28 | ) 29 | 30 | 31 | # Tell cmake to link our target executable to dlib. 32 | include(../../dlib/cmake) 33 | TARGET_LINK_LIBRARIES(${target_name} dlib ) 34 | 35 | 36 | INSTALL(TARGETS ${target_name} 37 | RUNTIME DESTINATION bin 38 | ) 39 | 40 | -------------------------------------------------------------------------------- /dlib/tools/imglab/src/cluster.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_IMGLAB_ClUSTER_H_ 4 | #define DLIB_IMGLAB_ClUSTER_H_ 5 | 6 | #include 7 | 8 | int cluster_dataset(const dlib::command_line_parser& parser); 9 | 10 | #endif //DLIB_IMGLAB_ClUSTER_H_ 11 | 12 | -------------------------------------------------------------------------------- /dlib/tools/imglab/src/common.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2011 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | 4 | #include "common.h" 5 | #include 6 | #include 7 | 8 | // ---------------------------------------------------------------------------------------- 9 | 10 | std::string strip_path ( 11 | const std::string& str, 12 | const std::string& prefix 13 | ) 14 | { 15 | unsigned long i; 16 | for (i = 0; i < str.size() && i < prefix.size(); ++i) 17 | { 18 | if (str[i] != prefix[i]) 19 | return str; 20 | } 21 | 22 | if (i < str.size() && (str[i] == '/' || str[i] == '\\')) 23 | ++i; 24 | 25 | return str.substr(i); 26 | } 27 | 28 | // ---------------------------------------------------------------------------------------- 29 | 30 | void make_empty_file ( 31 | const std::string& filename 32 | ) 33 | { 34 | std::ofstream fout(filename.c_str()); 35 | if (!fout) 36 | throw dlib::error("ERROR: Unable to open " + filename + " for writing."); 37 | } 38 | 39 | // ---------------------------------------------------------------------------------------- 40 | 41 | -------------------------------------------------------------------------------- /dlib/tools/imglab/src/common.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2011 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_IMGLAB_COmMON_H__ 4 | #define DLIB_IMGLAB_COmMON_H__ 5 | 6 | #include 7 | 8 | // ---------------------------------------------------------------------------------------- 9 | 10 | std::string strip_path ( 11 | const std::string& str, 12 | const std::string& prefix 13 | ); 14 | /*! 15 | ensures 16 | - if (prefix is a prefix of str) then 17 | - returns the part of str after the prefix 18 | (additionally, str will not begin with a / or \ character) 19 | - else 20 | - return str 21 | !*/ 22 | 23 | // ---------------------------------------------------------------------------------------- 24 | 25 | void make_empty_file ( 26 | const std::string& filename 27 | ); 28 | /*! 29 | ensures 30 | - creates an empty file of the given name 31 | !*/ 32 | 33 | // ---------------------------------------------------------------------------------------- 34 | 35 | #endif // DLIB_IMGLAB_COmMON_H__ 36 | 37 | -------------------------------------------------------------------------------- /dlib/tools/imglab/src/convert_idl.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2011 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_IMGLAB_CONVErT_IDL_H__ 4 | #define DLIB_IMGLAB_CONVErT_IDL_H__ 5 | 6 | #include "common.h" 7 | #include 8 | 9 | void convert_idl(const dlib::command_line_parser& parser); 10 | 11 | #endif // DLIB_IMGLAB_CONVErT_IDL_H__ 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /dlib/tools/imglab/src/convert_pascal_v1.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2011 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_IMGLAB_CONVERT_PASCAl_V1_H__ 4 | #define DLIB_IMGLAB_CONVERT_PASCAl_V1_H__ 5 | 6 | #include "common.h" 7 | #include 8 | 9 | void convert_pascal_v1(const dlib::command_line_parser& parser); 10 | 11 | #endif // DLIB_IMGLAB_CONVERT_PASCAl_V1_H__ 12 | 13 | 14 | -------------------------------------------------------------------------------- /dlib/tools/imglab/src/convert_pascal_xml.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2011 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_IMGLAB_CONVERT_PASCAl_XML_H__ 4 | #define DLIB_IMGLAB_CONVERT_PASCAl_XML_H__ 5 | 6 | #include "common.h" 7 | #include 8 | 9 | void convert_pascal_xml(const dlib::command_line_parser& parser); 10 | 11 | #endif // DLIB_IMGLAB_CONVERT_PASCAl_XML_H__ 12 | 13 | -------------------------------------------------------------------------------- /dlib/tools/mltool/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # This is a CMake makefile. You can find the cmake utility and 3 | # information about it at http://www.cmake.org 4 | # 5 | 6 | cmake_minimum_required(VERSION 2.8.4) 7 | 8 | # create a variable called target_name and set it to the string "mltool" 9 | set (target_name mltool) 10 | 11 | PROJECT(${target_name}) 12 | 13 | # add all the cpp files we want to compile to this list. This tells 14 | # cmake that they are part of our target (which is the executable named mltool) 15 | ADD_EXECUTABLE(${target_name} 16 | src/main.cpp 17 | src/regression.cpp 18 | src/regression.h 19 | src/common.h 20 | src/option_range.h 21 | src/option_range.cpp 22 | ) 23 | 24 | 25 | 26 | # Tell cmake to link our target executable to dlib. 27 | include(../../dlib/cmake) 28 | TARGET_LINK_LIBRARIES(${target_name} dlib ) 29 | 30 | 31 | INSTALL(TARGETS ${target_name} 32 | RUNTIME DESTINATION bin 33 | ) 34 | 35 | -------------------------------------------------------------------------------- /dlib/tools/mltool/src/common.h: -------------------------------------------------------------------------------- 1 | // The contents of this file are in the public domain. 2 | // See LICENSE_FOR_EXAMPLE_PROGRAMS.txt (in trunk/examples) 3 | // Authors: 4 | // Gregory Sharp 5 | // Davis King 6 | 7 | 8 | #ifndef DLIB_MLTOOL_COMMoN_H__ 9 | 10 | #include "dlib/cmd_line_parser.h" 11 | #include 12 | #include "dlib/matrix.h" 13 | 14 | 15 | 16 | using dlib::command_line_parser; 17 | typedef std::map sparse_sample_type; 18 | typedef dlib::matrix dense_sample_type; 19 | 20 | 21 | 22 | #endif // DLIB_MLTOOL_COMMoN_H__ 23 | 24 | -------------------------------------------------------------------------------- /dlib/tools/mltool/src/regression.h: -------------------------------------------------------------------------------- 1 | // The contents of this file are in the public domain. 2 | // See LICENSE_FOR_EXAMPLE_PROGRAMS.txt (in trunk/examples) 3 | // Authors: 4 | // Gregory Sharp 5 | // Davis King 6 | 7 | #ifndef DLIB_MLTOOL_REGREsSION_H__ 8 | #define DLIB_MLTOOL_REGREsSION_H__ 9 | 10 | #include "common.h" 11 | #include 12 | 13 | void 14 | krr_test ( 15 | command_line_parser& parser, 16 | std::vector& dense_samples, 17 | std::vector& labels 18 | ); 19 | 20 | void 21 | krls_test ( 22 | command_line_parser& parser, 23 | std::vector& dense_samples, 24 | std::vector& labels 25 | ); 26 | 27 | void 28 | mlp_test ( 29 | command_line_parser& parser, 30 | std::vector& dense_samples, 31 | std::vector& labels 32 | ); 33 | 34 | void 35 | svr_test ( 36 | command_line_parser& parser, 37 | std::vector& dense_samples, 38 | std::vector& labels 39 | ); 40 | 41 | #endif // DLIB_MLTOOL_REGREsSION_H__ 42 | 43 | -------------------------------------------------------------------------------- /dlib/tools/python/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | CMAKE_MINIMUM_REQUIRED(VERSION 2.8.4) 3 | 4 | 5 | include(../../dlib/add_python_module) 6 | 7 | # Tell cmake to compile all these cpp files into a dlib python module. 8 | set(python_srcs 9 | src/dlib.cpp 10 | src/matrix.cpp 11 | src/vector.cpp 12 | src/svm_c_trainer.cpp 13 | src/svm_rank_trainer.cpp 14 | src/decision_functions.cpp 15 | src/other.cpp 16 | src/basic.cpp 17 | src/cca.cpp 18 | src/sequence_segmenter.cpp 19 | src/svm_struct.cpp 20 | src/image.cpp 21 | src/rectangles.cpp 22 | src/object_detection.cpp 23 | src/shape_predictor.cpp 24 | src/correlation_tracker.cpp 25 | ) 26 | 27 | # Only add the GUI module if requested 28 | if(NOT ${DLIB_NO_GUI_SUPPORT}) 29 | list(APPEND python_srcs src/gui.cpp) 30 | endif(NOT ${DLIB_NO_GUI_SUPPORT}) 31 | 32 | add_python_module(dlib ${python_srcs}) 33 | 34 | # When you run "make install" we will copy the compiled dlib.so (or dlib.pyd) 35 | # library file to the python_examples folder. 36 | install_dlib_to(../../python_examples) 37 | -------------------------------------------------------------------------------- /dlib/tools/python/src/indexing.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2014 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_PYTHON_INDEXING_H__ 4 | #define DLIB_PYTHON_INDEXING_H__ 5 | 6 | #include 7 | 8 | namespace dlib 9 | { 10 | template 11 | void resize(T& v, unsigned long n) { v.resize(n); } 12 | } 13 | #endif // DLIB_PYTHON_INDEXING_H__ 14 | -------------------------------------------------------------------------------- /dlib/tools/python/src/testing_results.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2013 Davis E. King (davis@dlib.net) 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | #ifndef DLIB_TESTING_ReSULTS_H__ 4 | #define DLIB_TESTING_ReSULTS_H__ 5 | 6 | #include 7 | 8 | struct binary_test 9 | { 10 | binary_test() : class1_accuracy(0), class2_accuracy(0) {} 11 | binary_test( 12 | const dlib::matrix& m 13 | ) : class1_accuracy(m(0)), 14 | class2_accuracy(m(1)) {} 15 | 16 | double class1_accuracy; 17 | double class2_accuracy; 18 | }; 19 | 20 | struct regression_test 21 | { 22 | regression_test() : mean_squared_error(0), R_squared(0) {} 23 | regression_test( 24 | const dlib::matrix& m 25 | ) : mean_squared_error(m(0)), 26 | R_squared(m(1)) {} 27 | 28 | double mean_squared_error; 29 | double R_squared; 30 | }; 31 | 32 | struct ranking_test 33 | { 34 | ranking_test() : ranking_accuracy(0), mean_ap(0) {} 35 | ranking_test( 36 | const dlib::matrix& m 37 | ) : ranking_accuracy(m(0)), 38 | mean_ap(m(1)) {} 39 | 40 | double ranking_accuracy; 41 | double mean_ap; 42 | }; 43 | 44 | #endif // DLIB_TESTING_ReSULTS_H__ 45 | 46 | -------------------------------------------------------------------------------- /examples/C/ner/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # This is a CMake makefile. You can find the cmake utility and 3 | # information about it at http://www.cmake.org 4 | # 5 | 6 | cmake_minimum_required(VERSION 2.6) 7 | 8 | 9 | 10 | set(project_name ner_example) 11 | set(source 12 | ner_example.c 13 | ) 14 | 15 | 16 | PROJECT(${project_name}) 17 | 18 | 19 | include(../../../mitielib/cmake) 20 | 21 | 22 | ADD_EXECUTABLE(${project_name} ${source}) 23 | TARGET_LINK_LIBRARIES(${project_name} mitie) 24 | 25 | 26 | -------------------------------------------------------------------------------- /examples/C/relation_extraction/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # This is a CMake makefile. You can find the cmake utility and 3 | # information about it at http://www.cmake.org 4 | # 5 | 6 | cmake_minimum_required(VERSION 2.6) 7 | 8 | 9 | 10 | set(project_name relation_extraction_example) 11 | set(source 12 | relation_extraction_example.c 13 | ) 14 | 15 | 16 | PROJECT(${project_name}) 17 | 18 | 19 | include(../../../mitielib/cmake) 20 | 21 | 22 | ADD_EXECUTABLE(${project_name} ${source}) 23 | TARGET_LINK_LIBRARIES(${project_name} mitie) 24 | 25 | 26 | -------------------------------------------------------------------------------- /examples/cpp/ner/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # This is a CMake makefile. You can find the cmake utility and 3 | # information about it at http://www.cmake.org 4 | # 5 | 6 | cmake_minimum_required(VERSION 2.6) 7 | 8 | 9 | 10 | set(project_name ner_example) 11 | set(source 12 | ner_example.cpp 13 | ) 14 | 15 | 16 | PROJECT(${project_name}) 17 | 18 | 19 | include(../../../mitielib/cmake) 20 | 21 | 22 | ADD_EXECUTABLE(${project_name} ${source}) 23 | TARGET_LINK_LIBRARIES(${project_name} mitie) 24 | 25 | 26 | -------------------------------------------------------------------------------- /examples/cpp/relation_extraction/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # This is a CMake makefile. You can find the cmake utility and 3 | # information about it at http://www.cmake.org 4 | # 5 | 6 | cmake_minimum_required(VERSION 2.6) 7 | 8 | 9 | 10 | set(project_name relation_extraction_example) 11 | set(source 12 | relation_extraction_example.cpp 13 | ) 14 | 15 | 16 | PROJECT(${project_name}) 17 | 18 | 19 | include(../../../mitielib/cmake) 20 | 21 | 22 | ADD_EXECUTABLE(${project_name} ${source}) 23 | TARGET_LINK_LIBRARIES(${project_name} mitie) 24 | 25 | 26 | -------------------------------------------------------------------------------- /examples/cpp/text_categorizer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # This is a CMake makefile. You can find the cmake utility and 3 | # information about it at http://www.cmake.org 4 | # 5 | 6 | cmake_minimum_required(VERSION 2.6) 7 | 8 | 9 | 10 | set(project_name text_categorizer_example) 11 | set(source 12 | text_categorizer_example.cpp 13 | ) 14 | 15 | 16 | PROJECT(${project_name}) 17 | 18 | 19 | include(../../../mitielib/cmake) 20 | 21 | 22 | ADD_EXECUTABLE(${project_name} ${source}) 23 | TARGET_LINK_LIBRARIES(${project_name} mitie) 24 | 25 | 26 | -------------------------------------------------------------------------------- /examples/cpp/train_ner/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # This is a CMake makefile. You can find the cmake utility and 3 | # information about it at http://www.cmake.org 4 | # 5 | 6 | cmake_minimum_required(VERSION 2.6) 7 | 8 | 9 | 10 | set(project_name train_ner_example) 11 | set(source 12 | train_ner_example.cpp 13 | ) 14 | 15 | 16 | PROJECT(${project_name}) 17 | 18 | 19 | include(../../../mitielib/cmake) 20 | 21 | 22 | ADD_EXECUTABLE(${project_name} ${source}) 23 | TARGET_LINK_LIBRARIES(${project_name} mitie) 24 | 25 | 26 | -------------------------------------------------------------------------------- /examples/cpp/train_relation_extraction/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # This is a CMake makefile. You can find the cmake utility and 3 | # information about it at http://www.cmake.org 4 | # 5 | 6 | cmake_minimum_required(VERSION 2.6) 7 | 8 | 9 | 10 | set(project_name train_relation_extraction_example) 11 | set(source 12 | train_relation_extraction_example.cpp 13 | ) 14 | 15 | 16 | PROJECT(${project_name}) 17 | 18 | 19 | include(../../../mitielib/cmake) 20 | 21 | 22 | ADD_EXECUTABLE(${project_name} ${source}) 23 | TARGET_LINK_LIBRARIES(${project_name} mitie) 24 | 25 | 26 | -------------------------------------------------------------------------------- /examples/cpp/train_text_categorizer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # This is a CMake makefile. You can find the cmake utility and 3 | # information about it at http://www.cmake.org 4 | # 5 | 6 | cmake_minimum_required(VERSION 2.6) 7 | 8 | 9 | 10 | set(project_name train_text_categorizer_example) 11 | set(source 12 | train_text_categorizer_example.cpp 13 | ) 14 | 15 | 16 | PROJECT(${project_name}) 17 | 18 | 19 | include(../../../mitielib/cmake) 20 | 21 | 22 | ADD_EXECUTABLE(${project_name} ${source}) 23 | TARGET_LINK_LIBRARIES(${project_name} mitie) 24 | 25 | 26 | -------------------------------------------------------------------------------- /examples/cpp/train_text_categorizer_BoW/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # This is a CMake makefile. You can find the cmake utility and 3 | # information about it at http://www.cmake.org 4 | # 5 | 6 | cmake_minimum_required(VERSION 2.6) 7 | 8 | 9 | 10 | set(project_name train_text_categorizer_BoW_example) 11 | set(source 12 | train_text_categorizer_BoW_example.cpp 13 | ) 14 | 15 | 16 | PROJECT(${project_name}) 17 | 18 | 19 | include(../../../mitielib/cmake) 20 | 21 | 22 | ADD_EXECUTABLE(${project_name} ${source}) 23 | TARGET_LINK_LIBRARIES(${project_name} mitie) 24 | 25 | 26 | -------------------------------------------------------------------------------- /examples/java/run_ner.bat: -------------------------------------------------------------------------------- 1 | setlocal 2 | set PATH=../../mitielib;%PATH% 3 | set CLASSPATH=../../mitielib/javamitie.jar;. 4 | 5 | 6 | javac NerExample.java 7 | 8 | java NerExample 9 | 10 | pause 11 | -------------------------------------------------------------------------------- /examples/java/run_ner.sh: -------------------------------------------------------------------------------- 1 | # temporarily add the path to the mitie shared library to the proper linux and 2 | # mac os environment variables respectively 3 | export LD_LIBRARY_PATH=../../mitielib 4 | export DYLD_LIBRARY_PATH=../../mitielib 5 | 6 | export CLASSPATH=../../mitielib/javamitie.jar:. 7 | 8 | javac NerExample.java 9 | 10 | java -Djava.library.path="../../mitielib/" NerExample 11 | -------------------------------------------------------------------------------- /examples/java/run_train_ner.sh: -------------------------------------------------------------------------------- 1 | # temporarily add the path to the mitie shared library to the proper linux and 2 | # mac os environment variables respectively 3 | export LD_LIBRARY_PATH=../../mitielib 4 | export DYLD_LIBRARY_PATH=../../mitielib 5 | 6 | export CLASSPATH=../../mitielib/javamitie.jar:. 7 | 8 | javac TrainNerExample.java 9 | 10 | java -Djava.library.path="../../mitielib/" TrainNerExample 11 | -------------------------------------------------------------------------------- /examples/java/run_train_separate_doc_categorizer.sh: -------------------------------------------------------------------------------- 1 | # temporarily add the path to the mitie shared library to the proper linux and 2 | # mac os environment variables respectively 3 | export LD_LIBRARY_PATH=../../mitielib 4 | export DYLD_LIBRARY_PATH=../../mitielib 5 | 6 | export CLASSPATH=../../mitielib/javamitie.jar:. 7 | 8 | javac TrainSeparateDocCategorizerExample.java 9 | 10 | java -Djava.library.path="../../mitielib/" TrainSeparateDocCategorizerExample 11 | -------------------------------------------------------------------------------- /examples/java/run_train_separate_ner.sh: -------------------------------------------------------------------------------- 1 | # temporarily add the path to the mitie shared library to the proper linux and 2 | # mac os environment variables respectively 3 | export LD_LIBRARY_PATH=../../mitielib 4 | export DYLD_LIBRARY_PATH=../../mitielib 5 | 6 | export CLASSPATH=../../mitielib/javamitie.jar:. 7 | 8 | javac TrainSeparateNerExample.java 9 | 10 | java -Djava.library.path="../../mitielib/" TrainSeparateNerExample 11 | -------------------------------------------------------------------------------- /examples/matlab/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | cmake_minimum_required(VERSION 2.8.4) 3 | 4 | PROJECT(mex_functions) 5 | 6 | include(../../dlib/dlib/matlab/cmake_mex_wrapper) 7 | include(../../mitielib/cmake) 8 | 9 | add_mex_function(extract_entities mitie) 10 | add_mex_function(tokenize_file mitie) 11 | 12 | -------------------------------------------------------------------------------- /examples/matlab/tokenize_file.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2014 Massachusetts Institute of Technology, Lincoln Laboratory 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | // Authors: Davis E. King (davis@dlib.net) 4 | 5 | #include 6 | #include 7 | #include 8 | #include 9 | using namespace dlib; 10 | using namespace std; 11 | using namespace mitie; 12 | 13 | 14 | 15 | void mex_function ( 16 | const std::string& filename, 17 | std::vector& tokens 18 | ) 19 | { 20 | tokens.clear(); 21 | ifstream fin(filename.c_str()); 22 | if (!fin) 23 | throw error("Unable to load input text file: " + filename); 24 | 25 | // The conll_tokenizer splits the contents of an istream into a bunch of words and is 26 | // MITIE's default tokenization method. 27 | conll_tokenizer tok(fin); 28 | string token; 29 | // Read the tokens out of the file one at a time and store into tokens. 30 | while(tok(token)) 31 | tokens.push_back(token); 32 | 33 | } 34 | 35 | 36 | // #including this brings in all the mex boiler plate needed by MATLAB. 37 | #include "mex_wrapper.cpp" 38 | 39 | -------------------------------------------------------------------------------- /examples/python/categorize_text.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | # 3 | # This example shows how to use MITIE's text_categorizer from Python. 4 | # 5 | # 6 | import sys, os 7 | 8 | 9 | # Make sure you put the mitielib folder into the python search path. There are 10 | # a lot of ways to do this, here we do it programmatically with the following 11 | # two statements: 12 | parent = os.path.dirname(os.path.realpath(__file__)) 13 | sys.path.append(parent + '/../../mitielib') 14 | 15 | from mitie import * 16 | 17 | # We will have MITIE predict which of these two sentences express positive sentiments. 18 | test_tokens = ["What","a","black","and","bad","day"] 19 | test_tokens_2 = ["I","am","so","happy"] 20 | 21 | # Load a pre-trained text categorizer. This model is generated by 22 | # train_text_categorizer.py so run that example first to get the file. 23 | cat = text_categorizer("new_text_categorizer.dat") 24 | 25 | # Call the categorizer with a list of tokens, the response is a label (a string) 26 | # and a score (a number) indicating the confidence of the categorizer 27 | label, score = cat(test_tokens) 28 | print(label,score) 29 | 30 | 31 | label, score = cat(test_tokens_2) 32 | print(label,score) 33 | -------------------------------------------------------------------------------- /merge_changes_from_dlib: -------------------------------------------------------------------------------- 1 | git subtree pull --prefix dlib https://github.com/davisking/dlib.git master --squash 2 | -------------------------------------------------------------------------------- /mitielib/__init__.py: -------------------------------------------------------------------------------- 1 | from .mitie import * 2 | -------------------------------------------------------------------------------- /mitielib/cmake: -------------------------------------------------------------------------------- 1 | 2 | set(DLIB_LINK_WITH_LIBPNG OFF CACHE STRING "not needed by MITIE" FORCE) 3 | set(DLIB_LINK_WITH_LIBJPEG OFF CACHE STRING "not needed by MITIE" FORCE) 4 | set(DLIB_LINK_WITH_SQLITE3 OFF CACHE STRING "not needed by MITIE" FORCE) 5 | 6 | string(REPLACE "cmake" "" mitie_path ${CMAKE_CURRENT_LIST_FILE}) 7 | 8 | include(${mitie_path}/tell_visual_studio_to_use_static_runtime.cmake) 9 | 10 | # Don't add mitie if it's already been added to the cmake project 11 | if (NOT TARGET mitie) 12 | # Determine the path to mitie. 13 | include(${mitie_path}/../dlib/dlib/cmake) 14 | 15 | # Add folder containing mitie to the include search path. 16 | INCLUDE_DIRECTORIES(${mitie_path}/include) 17 | 18 | # When using this cmake file a user will be building both MITIE and their 19 | # application simultaneously. So statically link them all together since 20 | # that makes the mose sense in this case. 21 | set(BUILD_SHARED_LIBS 0) 22 | 23 | add_subdirectory(${mitie_path} mitie_build) 24 | endif() -------------------------------------------------------------------------------- /mitielib/include/mitie/stemmer.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2012 Massachusetts Institute of Technology, Lincoln Laboratory 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | // Authors: Davis E. King (davis@dlib.net) 4 | #ifndef MIT_LL_STEM_WoRD_H_ 5 | #define MIT_LL_STEM_WoRD_H_ 6 | 7 | #include 8 | 9 | namespace mitie 10 | { 11 | std::string stem_word (const std::string& word); 12 | /*! 13 | ensures 14 | - lowercases word and then applies the Porter stemmer. The 15 | results are returned. 16 | !*/ 17 | } 18 | 19 | #endif // MIT_LL_STEM_WoRD_H_ 20 | 21 | -------------------------------------------------------------------------------- /mitielib/java/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | cmake_minimum_required (VERSION 2.8.4) 3 | project (javamitie) 4 | set(java_package_name edu.mit.ll.mitie) 5 | set(source_files 6 | ../src/binary_relation_detector.cpp 7 | ../src/binary_relation_detector_trainer.cpp 8 | ../src/conll_parser.cpp 9 | ../src/mitie.cpp 10 | ../src/named_entity_extractor.cpp 11 | ../src/ner_feature_extraction.cpp 12 | ../src/ner_trainer.cpp 13 | ../src/text_categorizer.cpp 14 | ../src/text_feature_extraction.cpp 15 | ../src/text_categorizer_trainer.cpp 16 | ../src/stem.c 17 | ../src/stemmer.cpp 18 | ) 19 | 20 | include_directories( 21 | . 22 | ../include 23 | ) 24 | 25 | # Additional dependencies 26 | include(../../dlib/dlib/cmake) 27 | set(additional_link_libraries dlib) 28 | 29 | # tell swig to put the output files into the mitielib folder. 30 | set(install_target_output_folder ..) 31 | include(cmake_swig_jni) 32 | 33 | 34 | -------------------------------------------------------------------------------- /mitielib/java/README: -------------------------------------------------------------------------------- 1 | You can compile the Java API on any system by executing the following 2 | commands from within the mitielib/java folder: 3 | 4 | mkdir build 5 | cd build 6 | cmake .. 7 | cmake --build . --config Release --target install 8 | 9 | This will build a shared library and .jar file and put them into the mitielib 10 | folder. Note that you must have Swig 1.3.40 or newer, CMake 2.8.4 or newer, 11 | and the Java JDK installed to compile the MITIE interface. Finally, note that 12 | if you are using 64bit Java on Windows then you will need to use a command 13 | like: 14 | cmake -G "Visual Studio 10 Win64" .. 15 | instead of: 16 | cmake .. 17 | so that Visual Studio knows to make a 64bit library. 18 | 19 | 20 | -------------------------------------------------------------------------------- /mitielib/mitie_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mit-nlp/MITIE/f1068f544643b03ab9a2373766e097c42434dd3c/mitielib/mitie_logo.png -------------------------------------------------------------------------------- /mitielib/src/stemmer.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2012 Massachusetts Institute of Technology, Lincoln Laboratory 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | // Authors: Davis E. King (davis@dlib.net) 4 | #include 5 | #include 6 | 7 | extern "C" 8 | { 9 | struct stemmer { 10 | char * b; /* buffer for word to be stemmed */ 11 | int k; /* offset to the end of the string */ 12 | int j; /* a general offset into the string */ 13 | }; 14 | 15 | extern struct stemmer * create_stemmer(void); 16 | extern void free_stemmer(struct stemmer * z); 17 | 18 | extern int stem(struct stemmer * z, char * b, int k); 19 | } 20 | 21 | namespace mitie 22 | { 23 | std::string stem_word (const std::string& str) 24 | { 25 | std::string temp = dlib::tolower(str); 26 | 27 | if (temp.size() <= 1) 28 | return temp; 29 | 30 | stemmer z; 31 | 32 | int s = stem(&z, &temp[0], temp.size()-1); 33 | 34 | return std::string(&temp[0], s+1); 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /mitielib/tell_visual_studio_to_use_static_runtime.cmake: -------------------------------------------------------------------------------- 1 | 2 | # Including this cmake script into your cmake project will cause visual studio 3 | # to build your project against the static C runtime. 4 | 5 | cmake_minimum_required(VERSION 2.8.12) 6 | if (POLICY CMP0054) 7 | cmake_policy(SET CMP0054 NEW) 8 | endif() 9 | 10 | if (MSVC OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") 11 | foreach(flag_var 12 | CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_RELEASE 13 | CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_RELWITHDEBINFO) 14 | if(${flag_var} MATCHES "/MD") 15 | string(REGEX REPLACE "/MD" "/MT" ${flag_var} "${${flag_var}}") 16 | endif() 17 | endforeach(flag_var) 18 | endif() 19 | 20 | -------------------------------------------------------------------------------- /sample_text.reference-output-relations: -------------------------------------------------------------------------------- 1 | 2 | Number of named entities detected: 23 3 | 4 | Now look for binary relations. 5 | relation type: location.location.contains 6 | Russia # Sochi 7 | -------------------------------------------------------------------------------- /sample_text.txt: -------------------------------------------------------------------------------- 1 | A Pegasus Airlines plane landed at an Istanbul airport Friday after a passenger "said that there was a bomb on board" and wanted the plane to land in Sochi, Russia, the site of the Winter Olympics, said officials with Turkey's Transportation Ministry. 2 | 3 | 4 | Meredith Vieira will become the first woman to host Olympics primetime coverage on her own when she fills on Friday night for the ailing Bob Costas, who is battling a continuing eye infection. "It's an honor to fill in for him," Vieira said on TODAY Friday. "You think about the Olympics, and you think the athletes and then Bob Costas." "Bob's eye issue has improved but he's not quite ready to do the show," NBC Olympics Executive Producer Jim Bell told TODAY.com from Sochi on Thursday. 5 | 6 | 7 | 8 | From wikipedia we learn that Josiah Franklin's son, Benjamin Franklin was born in Boston. Since wikipedia allows anyone to edit it, you could change the entry to say that Philadelphia is the birthplace of Benjamin Franklin. However, that would be a bad edit since Benjamin Franklin was definitely born in Boston. 9 | 10 | -------------------------------------------------------------------------------- /tools/R-binding/MITIE/DESCRIPTION: -------------------------------------------------------------------------------- 1 | Package: MITIE 2 | Type: Package 3 | Title: MIT Information Extraction (MITIE) Interface 4 | Version: 0.2 5 | Date: 2014-07-10 6 | Author: Davis King, Michael Yee, Wade Shen 7 | Maintainer: Michael Yee 8 | Description: The MITIE project provides free (even for commercial use) state-of-the-art information extraction tools. 9 | The current release includes tools for performing named entity extraction and binary relation detection, 10 | as well as tools for training custom extractors and relation detectors. 11 | License: BSL-1.0 12 | URL: https://github.com/mit-nlp/MITIE 13 | Imports: Rcpp (>= 0.11.0) 14 | Depends: methods 15 | LinkingTo: Rcpp 16 | -------------------------------------------------------------------------------- /tools/R-binding/MITIE/NAMESPACE: -------------------------------------------------------------------------------- 1 | useDynLib(MITIE) 2 | exportPattern("^[[:alpha:]]+") 3 | importFrom(Rcpp, evalCpp) 4 | -------------------------------------------------------------------------------- /tools/R-binding/MITIE/man/mitie_load_entire_file.Rd: -------------------------------------------------------------------------------- 1 | \name{mitie_load_entire_file} 2 | \alias{mitie_load_entire_file} 3 | \title{Loads text from file into a string.} 4 | \description{\code{mitie_load_entire_file} reads a file from disk and returns the contents as a string.} 5 | \usage{ 6 | mitie_load_entire_file(filename) 7 | } 8 | \arguments{ 9 | \item{filename}{name of file to load from disk.} 10 | } 11 | \value{string containing contents of file.} 12 | \examples{ 13 | \dontrun{ 14 | 15 | text <- mitie_load_entire_file("article.txt") 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /tools/R-binding/MITIE/man/mitie_range_overlaps.Rd: -------------------------------------------------------------------------------- 1 | \name{mitie_range_overlaps} 2 | \alias{mitie_range_overlaps} 3 | \title{Detect whether two entity ranges overlap.} 4 | \description{\code{mitie_range_overlaps} detects whether two entity ranges overlap.} 5 | \usage{ 6 | mitie_range_overlaps(arg1, arg2) 7 | } 8 | \arguments{ 9 | \item{arg1}{named list containing members ``start'' (index of argument 1's first token) and ``end'' (index of argument 1's last token)} 10 | \item{arg2}{named list containing members ``start'' (index of argument 2's first token) and ``end'' (index of argument 2's last token)} 11 | } 12 | \value{TRUE if arg1 and arg2 overlap (where start and end are inclusive indices); FALSE otherwise} 13 | \examples{ 14 | \dontrun{ 15 | 16 | arg1 <- list(start = 2, end = 4) 17 | arg2 <- list(start = 5, end = 7) 18 | mitie_range_overlaps(arg1, arg2) 19 | # FALSE 20 | 21 | arg1 <- list(start = 2, end = 3) 22 | arg2 <- list(start = 3, end = 5) 23 | mitie_range_overlaps(arg1, arg2) 24 | # TRUE 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /tools/R-binding/MITIE/man/mitie_tokenize.Rd: -------------------------------------------------------------------------------- 1 | \name{mitie_tokenize} 2 | \alias{mitie_tokenize} 3 | \title{Tokenize text according to CoNLL 2003 conventions.} 4 | \description{\code{mitie_tokenize} tokenizes text in the same way the CoNLL 2003 dataset was tokenized.} 5 | \usage{ 6 | mitie_tokenize(text) 7 | } 8 | \arguments{ 9 | \item{text}{string to tokenize.} 10 | } 11 | \value{vector of strings, one element per non-whitespace token.} 12 | \examples{ 13 | \dontrun{ 14 | 15 | text <- mitie_load_entire_file("article.txt") 16 | tokens <- mitie_tokenize(text) 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /tools/R-binding/MITIE/src/Makevars: -------------------------------------------------------------------------------- 1 | # Modeled after RSiena's Makevars 2 | 3 | PKG_CPPFLAGS = -I./mitielib/include -I./dlib 4 | PKG_LIBS = -lpthread 5 | 6 | SOURCES = mitie_r.cpp $(wildcard mitielib/src/*.cpp mitielib/src/*.c) 7 | SOURCES += dlib/dlib/misc_api/misc_api_kernel_1.cpp 8 | SOURCES += dlib/dlib/misc_api/misc_api_kernel_2.cpp 9 | SOURCES += dlib/dlib/threads/multithreaded_object_extension.cpp 10 | SOURCES += dlib/dlib/threads/threaded_object_extension.cpp 11 | SOURCES += dlib/dlib/threads/threads_kernel_1.cpp 12 | SOURCES += dlib/dlib/threads/threads_kernel_2.cpp 13 | SOURCES += dlib/dlib/threads/threads_kernel_shared.cpp 14 | SOURCES += dlib/dlib/threads/thread_pool_extension.cpp 15 | 16 | TMP = $(SOURCES:.cpp=.o) 17 | OBJECTS = $(TMP:.c=.o) 18 | 19 | all: $(SHLIB) 20 | 21 | clean: 22 | @rm -f $(OBJECTS) 23 | -------------------------------------------------------------------------------- /tools/R-binding/MITIE/src/Makevars.win: -------------------------------------------------------------------------------- 1 | # Modeled after RSiena's Makevars 2 | 3 | PKG_CPPFLAGS = -I./mitielib/include -I./dlib 4 | 5 | SOURCES = mitie_r.cpp $(wildcard mitielib/src/*.cpp mitielib/src/*.c) 6 | SOURCES += dlib/dlib/misc_api/misc_api_kernel_1.cpp 7 | SOURCES += dlib/dlib/misc_api/misc_api_kernel_2.cpp 8 | SOURCES += dlib/dlib/threads/multithreaded_object_extension.cpp 9 | SOURCES += dlib/dlib/threads/threaded_object_extension.cpp 10 | SOURCES += dlib/dlib/threads/threads_kernel_1.cpp 11 | SOURCES += dlib/dlib/threads/threads_kernel_2.cpp 12 | SOURCES += dlib/dlib/threads/threads_kernel_shared.cpp 13 | SOURCES += dlib/dlib/threads/thread_pool_extension.cpp 14 | 15 | TMP = $(SOURCES:.cpp=.o) 16 | OBJECTS = $(TMP:.c=.o) 17 | 18 | all: $(SHLIB) 19 | 20 | clean: 21 | @rm -f $(OBJECTS) 22 | -------------------------------------------------------------------------------- /tools/R-binding/build_binary_package.sh: -------------------------------------------------------------------------------- 1 | # create MITIE_{verion and platform}.tar.gz 2 | # e.g., MITIE_1.0_R_x86_64-pc-linux-gnu.tar.gz 3 | R CMD INSTALL --build MITIE 4 | -------------------------------------------------------------------------------- /tools/R-binding/build_source_package.sh: -------------------------------------------------------------------------------- 1 | # create MITIE_{verions}.tar.gz 2 | # e.g., MITIE_1.0.tar.gz 3 | R CMD build MITIE 4 | -------------------------------------------------------------------------------- /tools/R-binding/copy_source.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | MITIE_DIR=$(cd ../../; pwd) 3 | DLIB_DIR="$MITIE_DIR/dlib" 4 | MITIELIB_DIR="$MITIE_DIR/mitielib" 5 | BINDING_DIR=`pwd`/MITIE 6 | echo "MITIE_DIR = $MITIE_DIR" 7 | echo "DLIB_DIR = $DLIB_DIR" 8 | echo "MITIELIB_DIR = $MITIELIB_DIR" 9 | echo "BINDING_DIR = $BINDING_DIR" 10 | 11 | # copy dlib source 12 | rm -rf $BINDING_DIR/src/dlib 13 | cp -r $DLIB_DIR $BINDING_DIR/src 14 | rm $BINDING_DIR/src/dlib/.[a-z]* 15 | 16 | # copy mitielib source 17 | rm -rf $BINDING_DIR/src/mitielib 18 | mkdir $BINDING_DIR/src/mitielib 19 | cp -r $MITIELIB_DIR/src $BINDING_DIR/src/mitielib 20 | cp -r $MITIELIB_DIR/include $BINDING_DIR/src/mitielib 21 | cp $MITIELIB_DIR/LICENSE.txt $BINDING_DIR/src/mitielib 22 | -------------------------------------------------------------------------------- /tools/ner_conll/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # This is a CMake makefile. You can find the cmake utility and 3 | # information about it at http://www.cmake.org 4 | # 5 | 6 | cmake_minimum_required(VERSION 2.6) 7 | 8 | 9 | 10 | set(project_name ner) 11 | set(source 12 | src/main.cpp 13 | ) 14 | 15 | 16 | PROJECT(${project_name}) 17 | 18 | 19 | include(../../mitielib/cmake) 20 | 21 | 22 | ADD_EXECUTABLE(${project_name} ${source}) 23 | TARGET_LINK_LIBRARIES(${project_name} mitie) 24 | 25 | 26 | -------------------------------------------------------------------------------- /tools/ner_conll/train-ner: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | export MITIE_MODELS=../../../MITIE-models 4 | 5 | 6 | run_default_params() 7 | { 8 | THREADS="--threads=16" 9 | LOG=test_default.txt 10 | ./ner --train-chunker eng.train_all_some_sentences_combined $THREADS > $LOG 11 | ./ner --train-id eng.train_all_some_sentences_combined $THREADS >> $LOG 12 | 13 | ./ner --test-id eng.testb >> $LOG 14 | ./ner --tag-conll-file ner_model.dat eng.testb | ./conlleval 15 | echo $LOG 16 | tail -n1 $LOG 17 | } 18 | 19 | run_default_params 20 | -------------------------------------------------------------------------------- /tools/ner_stream/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # This is a CMake makefile. You can find the cmake utility and 3 | # information about it at http://www.cmake.org 4 | # 5 | 6 | cmake_minimum_required(VERSION 2.6) 7 | 8 | 9 | 10 | set(project_name ner_stream) 11 | set(source 12 | src/main.cpp 13 | ) 14 | 15 | 16 | PROJECT(${project_name}) 17 | 18 | 19 | include(../../mitielib/cmake) 20 | 21 | 22 | ADD_EXECUTABLE(${project_name} ${source}) 23 | TARGET_LINK_LIBRARIES(${project_name} mitie) 24 | 25 | 26 | -------------------------------------------------------------------------------- /tools/train_freebase_relation_detector/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # This is a CMake makefile. You can find the cmake utility and 3 | # information about it at http://www.cmake.org 4 | # 5 | 6 | cmake_minimum_required(VERSION 2.6) 7 | 8 | 9 | 10 | set(project_name train_relation_detector) 11 | set(source 12 | src/main.cpp 13 | ) 14 | 15 | 16 | PROJECT(${project_name}) 17 | 18 | 19 | include(../../mitielib/cmake) 20 | 21 | 22 | ADD_EXECUTABLE(${project_name} ${source}) 23 | TARGET_LINK_LIBRARIES(${project_name} mitie) 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /tools/wordrep/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # This is a CMake makefile. You can find the cmake utility and 3 | # information about it at http://www.cmake.org 4 | # 5 | 6 | 7 | cmake_minimum_required(VERSION 2.6) 8 | 9 | 10 | 11 | set(project_name wordrep) 12 | set(source 13 | src/main.cpp 14 | src/basic_morph.cpp 15 | src/word_vects.cpp 16 | src/cca_morph.cpp 17 | src/doc_vects.cpp 18 | ) 19 | 20 | 21 | PROJECT(${project_name}) 22 | 23 | include(../../mitielib/cmake) 24 | 25 | 26 | ADD_EXECUTABLE(${project_name} ${source}) 27 | TARGET_LINK_LIBRARIES(${project_name} mitie ) 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /tools/wordrep/src/basic_morph.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2013 Massachusetts Institute of Technology, Lincoln Laboratory 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | // Authors: Davis E. King (davis@dlib.net) 4 | #ifndef MIT_LL_BASiC_MORPH_H_ 5 | #define MIT_LL_BASiC_MORPH_H_ 6 | 7 | #include 8 | 9 | void basic_morph(const dlib::command_line_parser& parser); 10 | 11 | #endif // MIT_LL_BASiC_MORPH_H_ 12 | 13 | -------------------------------------------------------------------------------- /tools/wordrep/src/cca_morph.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2013 Massachusetts Institute of Technology, Lincoln Laboratory 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | // Authors: Davis E. King (davis@dlib.net) 4 | #ifndef MIT_LL_CCa_MORPH_H_ 5 | #define MIT_LL_CCa_MORPH_H_ 6 | 7 | #include 8 | 9 | void cca_morph(const dlib::command_line_parser& parser); 10 | 11 | #endif // MIT_LL_CCa_MORPH_H_ 12 | 13 | 14 | -------------------------------------------------------------------------------- /tools/wordrep/src/doc_vects.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2013 Massachusetts Institute of Technology, Lincoln Laboratory 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | // Authors: Davis E. King (davis@dlib.net) 4 | #ifndef MIT_LL_DOC_VEcTS_H_ 5 | #define MIT_LL_DOC_VEcTS_H_ 6 | 7 | #include 8 | 9 | void make_doc_vects(const dlib::command_line_parser& parser); 10 | 11 | #endif // MIT_LL_DOC_VEcTS_H_ 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /tools/wordrep/src/word_vects.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2013 Massachusetts Institute of Technology, Lincoln Laboratory 2 | // License: Boost Software License See LICENSE.txt for the full license. 3 | // Authors: Davis E. King (davis@dlib.net) 4 | #ifndef MIT_LL_WORD_VEcTS_H_ 5 | #define MIT_LL_WORD_VEcTS_H_ 6 | 7 | #include 8 | 9 | void word_vects(const dlib::command_line_parser& parser); 10 | 11 | #endif // MIT_LL_WORD_VEcTS_H_ 12 | 13 | 14 | --------------------------------------------------------------------------------