help@rskworld.in +91 93305 39277
RSK World
  • Home
  • Development
    • Web Development
    • Mobile Apps
    • Software
    • Games
    • Project
  • Technologies
    • Data Science
    • AI Development
    • Cloud Development
    • Blockchain
    • Cyber Security
    • Dev Tools
    • Testing Tools
  • Blog
  • About
  • Contact

Theme Settings

Color Scheme
Display Options
Font Size
100%
Back to Project
RSK World
satellite-images
RSK World
satellite-images
Satellite Images Dataset - Land Cover Classification + Building Detection + Remote Sensing + Geospatial Analysis
satellite-images
  • __pycache__
  • data
  • visualizations
  • .gitignore780 B
  • ADVANCED_FEATURES.md7.2 KB
  • ATTRIBUTION.md1.5 KB
  • DATA_SUMMARY.md3.9 KB
  • DOWNLOAD_REAL_DATA_GUIDE.md3.4 KB
  • ERROR_FIXES_SUMMARY.md3.2 KB
  • GITHUB_RELEASE_INSTRUCTIONS.md4.9 KB
  • LICENSE1.2 KB
  • PROJECT_INFO.md3 KB
  • QUICK_DOWNLOAD_GUIDE.md2.1 KB
  • QUICK_START_ADVANCED.md2 KB
  • README.md8.1 KB
  • RELEASE_NOTES_v1.0.0.md7.1 KB
  • advanced_example.py11 KB
  • advanced_processing.py17.3 KB
  • advanced_visualization.py15.5 KB
  • batch_processing.py11.9 KB
  • batch_processor.py10.8 KB
  • check_errors.py6.9 KB
  • config.py1.1 KB
  • create_placeholder_image.py3.5 KB
  • create_sample_images.py5.3 KB
  • data_loader.py6 KB
  • download_real_images.py5 KB
  • download_real_satellite_data.py8.4 KB
  • download_with_landsatxplore.py4.6 KB
  • download_with_sentinelsat.py6 KB
  • enhanced_real_image_downloader.py17.8 KB
  • example_usage.py4.3 KB
  • generate_sample_data.py7.2 KB
  • get_real_satellite_data.py9.6 KB
  • index.html18.5 KB
  • ml_features.py11.8 KB
  • ml_integration.py13.6 KB
  • process_images.py7 KB
  • real_image_downloader.py15.7 KB
  • requirements.txt632 B
  • requirements_download.txt474 B
  • satellite-images.png2.6 MB
  • setup.py1.6 KB
  • visualize.py5.8 KB
create_placeholder_image.py
create_placeholder_image.py
Raw Download
Find: Go to:
#!/usr/bin/env python3
"""
Create Placeholder Image for Satellite Image Dataset
Created by: RSK World
Website: https://rskworld.in
Email: help@rskworld.in
Phone: +91 93305 39277

This script creates a placeholder image for the project.
"""

from PIL import Image, ImageDraw, ImageFont
import numpy as np


def create_placeholder_image(output_path: str = "satellite-images.png", 
                            size: tuple = (800, 600)):
    """
    Create a placeholder image for the satellite dataset.
    Created by: RSK World (https://rskworld.in)
    
    Args:
        output_path: Path to save the image
        size: Image size (width, height)
    """
    # Create image with gradient background (simulating satellite imagery)
    img = Image.new('RGB', size, color='#1a4d80')
    draw = ImageDraw.Draw(img)
    
    # Create gradient effect
    width, height = size
    for y in range(height):
        # Create a gradient from dark blue to lighter blue
        r = int(26 + (y / height) * 20)
        g = int(77 + (y / height) * 30)
        b = int(128 + (y / height) * 40)
        color = (r, g, b)
        draw.line([(0, y), (width, y)], fill=color)
    
    # Add some "land" patches (green/brown rectangles)
    land_colors = ['#2d5016', '#4a7c2a', '#6b8e23', '#8b7355']
    for i in range(5):
        x = np.random.randint(0, width - 100)
        y = np.random.randint(height // 3, height - 50)
        w = np.random.randint(50, 150)
        h = np.random.randint(30, 80)
        color = np.random.choice(land_colors)
        draw.rectangle([x, y, x + w, y + h], fill=color)
    
    # Add some "urban" patches (gray rectangles)
    for i in range(3):
        x = np.random.randint(0, width - 80)
        y = np.random.randint(height // 2, height - 40)
        w = np.random.randint(40, 100)
        h = np.random.randint(20, 60)
        draw.rectangle([x, y, x + w, y + h], fill='#555555')
    
    # Add title text
    try:
        # Try to use a larger font
        font_size = 40
        font = ImageFont.truetype("arial.ttf", font_size)
    except:
        try:
            font = ImageFont.truetype("C:/Windows/Fonts/arial.ttf", font_size)
        except:
            font = ImageFont.load_default()
    
    text = "Satellite Image Dataset"
    bbox = draw.textbbox((0, 0), text, font=font)
    text_width = bbox[2] - bbox[0]
    text_height = bbox[3] - bbox[1]
    
    # Draw text with shadow
    text_x = (width - text_width) // 2
    text_y = height // 4
    
    # Shadow
    draw.text((text_x + 2, text_y + 2), text, font=font, fill='#000000')
    # Main text
    draw.text((text_x, text_y), text, font=font, fill='#ffffff')
    
    # Add subtitle
    try:
        subtitle_font = ImageFont.truetype("C:/Windows/Fonts/arial.ttf", 20)
    except:
        subtitle_font = ImageFont.load_default()
    
    subtitle = "RSK World - rskworld.in"
    bbox = draw.textbbox((0, 0), subtitle, font=subtitle_font)
    subtitle_width = bbox[2] - bbox[0]
    subtitle_x = (width - subtitle_width) // 2
    subtitle_y = text_y + text_height + 20
    
    draw.text((subtitle_x + 1, subtitle_y + 1), subtitle, 
             font=subtitle_font, fill='#000000')
    draw.text((subtitle_x, subtitle_y), subtitle, 
             font=subtitle_font, fill='#0dcaf0')
    
    # Save image
    img.save(output_path, 'PNG')
    print(f"Placeholder image created: {output_path}")
    print("Created by: RSK World (https://rskworld.in)")


if __name__ == "__main__":
    create_placeholder_image()

109 lines•3.5 KB
python

About RSK World

Founded by Molla Samser, with Designer & Tester Rima Khatun, RSK World is your one-stop destination for free programming resources, source code, and development tools.

Founder: Molla Samser
Designer & Tester: Rima Khatun

Development

  • Game Development
  • Web Development
  • Mobile Development
  • AI Development
  • Development Tools

Legal

  • Terms & Conditions
  • Privacy Policy
  • Disclaimer

Contact Info

Nutanhat, Mongolkote
Purba Burdwan, West Bengal
India, 713147

+91 93305 39277

hello@rskworld.in
support@rskworld.in

© 2026 RSK World. All rights reserved.

Content used for educational purposes only. View Disclaimer