Write Date On Image
This function block allows you to overlay the current date and time onto an image. It enables customization in terms of font style, size, color, and position, making it a versatile tool for annotating images with timestamps.
📥 Inputs
Image Any
An input image on which the date will be written.
📤 Outputs
Image Any
The output image with the current date and time overlaid on it.
🕹️ Controls
Font Scale
A slider that adjusts the size of the font used to display the date.
Horizontal Position
A slider to set the horizontal position of the text overlay, ranging from 0 to 100%.
Vertical Position
A slider to set the vertical position of the text overlay, ranging from 0 to 100%.
Font Thickness
A slider to control the thickness of the text.
Font
A dropdown menu to select the desired font style for the text.
Color
A dropdown menu to choose the text color from several predefined options.
🎨 Features
Customizable Text Overlay
Users can adjust the font size, thickness, style, and color to fit their needs.
Dynamic Date and Time
The block automatically retrieves and displays the current date and time.
User-Friendly Interface
Easy-to-use sliders and dropdowns make it simple to customize the overlay.
📝 Usage Instructions
Connect Input Image: Link an image to the
Image Any
input.Set Font and Color: Choose your desired font style and color using the dropdown menus.
Adjust Text Properties: Use the sliders to adjust the font scale, position (horizontal and vertical), and thickness.
Evaluate the Block: Run the block to overlay the current date and time on the input image and obtain the modified image.
📊 Evaluation
Upon executing this function block, it processes the input image to display the current date and time, providing an annotated output image.
💡 Tips and Tricks
🛠️ Troubleshooting
Last updated