Skip to content

Latest commit

 

History

History
54 lines (30 loc) · 3.08 KB

File metadata and controls

54 lines (30 loc) · 3.08 KB
graph LR
    Image_Preprocessing_Module["Image Preprocessing Module"]
    Image_Loader["Image Loader"]
    Image_Transformer["Image Transformer"]
    TensorFlow_Model_Inference["TensorFlow Model Inference"]
    Image_Preprocessing_Module -- "orchestrates" --> Image_Loader
    Image_Preprocessing_Module -- "orchestrates" --> Image_Transformer
    Image_Loader -- "loads image and passes to" --> Image_Transformer
    Image_Transformer -- "transforms image for" --> TensorFlow_Model_Inference
    Image_Transformer -- "provides input to" --> TensorFlow_Model_Inference
    click Image_Preprocessing_Module href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/YOLO_tensorflow/Image_Preprocessing_Module.md" "Details"
Loading

CodeBoardingDemoContact

Details

The image preprocessing pipeline within the YOLO_TF system is designed to prepare diverse image inputs for TensorFlow model inference. The Image Preprocessing Module, embodied by the YOLO_TF class, acts as the central orchestrator, initiating the process by either loading images from files or directly accepting in-memory image data. The Image Loader component, specifically the detect_from_file method, handles the initial acquisition of image data from file paths, converting it into a raw OpenCV cv::Mat format. Subsequently, the Image Transformer component, represented by the detect_from_cvmat method, applies a series of essential transformations, including resizing, color space conversion, and pixel normalization. This transformed image data is then prepared as a TensorFlow-compatible tensor, which is directly provided as input to the TensorFlow Model Inference component for object detection. This structured approach ensures efficient and accurate preparation of visual data for the downstream detection tasks.

Image Preprocessing Module [Expand]

The central orchestrator, initiating the process by either loading images from files or directly accepting in-memory image data.

Related Classes/Methods:

Image Loader

Handles the initial acquisition of image data from file paths, converting it into a raw OpenCV cv::Mat format.

Related Classes/Methods:

Image Transformer

Applies a series of essential transformations, including resizing, color space conversion, and pixel normalization.

Related Classes/Methods:

TensorFlow Model Inference

Receives transformed image data for object detection.

Related Classes/Methods: None