{"id":153,"date":"2026-11-25T18:50:00","date_gmt":"2026-11-25T13:20:00","guid":{"rendered":"https:\/\/blogs.projectduniya.com\/?p=153"},"modified":"2026-11-23T13:54:14","modified_gmt":"2026-11-23T08:24:14","slug":"smart-parking-management-system-using-opencv-and-python-vehicle-detection-and-parking-slot-monitoring","status":"publish","type":"post","link":"https:\/\/blogs.projectduniya.com\/index.php\/2026\/11\/25\/smart-parking-management-system-using-opencv-and-python-vehicle-detection-and-parking-slot-monitoring\/","title":{"rendered":"Smart Parking Management System Using OpenCV and Python: Vehicle Detection and Parking Slot Monitoring"},"content":{"rendered":"\n<style>\n.pd-article {\n  font-family: Arial, sans-serif;\n  font-size: 16px;\n  line-height: 1.75;\n  color: #263238;\n}\n.pd-article h2 {\n  color: #12345a;\n  font-size: 26px;\n  line-height: 1.3;\n  margin: 32px 0 14px;\n}\n.pd-article h3 {\n  color: #174b75;\n  font-size: 20px;\n  margin: 24px 0 10px;\n}\n.pd-article p { margin: 0 0 16px; }\n.pd-article ul, .pd-article ol {\n  margin: 0 0 20px;\n  padding-left: 26px;\n}\n.pd-article li { margin-bottom: 8px; }\n.pd-article a { color: #0875c1; text-decoration: underline; }\n.pd-article .pd-note {\n  background: #eaf4ff;\n  border-left: 4px solid #2786d5;\n  padding: 15px 18px;\n  margin: 20px 0;\n  border-radius: 5px;\n}\n.pd-article .pd-example {\n  background: #f3f6f8;\n  border: 1px solid #dce3e8;\n  border-radius: 6px;\n  padding: 15px 18px;\n  margin: 18px 0;\n}\n.pd-article .pd-table-wrap {\n  overflow-x: auto;\n  margin: 20px 0;\n}\n.pd-article table {\n  width: 100%;\n  min-width: 560px;\n  border-collapse: collapse;\n}\n.pd-article th, .pd-article td {\n  border: 1px solid #cbd5df;\n  padding: 11px;\n  text-align: left;\n}\n.pd-article th {\n  background: #12345a;\n  color: #fff;\n}\n.pd-article tr:nth-child(even) { background: #f1f5f8; }\n.pd-article pre {\n  overflow-x: auto;\n  background: #17212b;\n  color: #e8f1f8;\n  padding: 17px;\n  border-radius: 7px;\n  font-size: 13px;\n  line-height: 1.6;\n}\n.pd-article code { font-family: Consolas, monospace; }\n.pd-article .pd-conclusion {\n  background: #eef6f1;\n  border-left: 4px solid #329568;\n  padding: 17px 19px;\n  margin: 24px 0;\n  border-radius: 5px;\n}\n<\/style>\n\n<div class=\"pd-article\">\n\n<h2>Introduction<\/h2>\n\n<p>Finding an available parking space can be difficult in busy areas such as shopping centres, colleges, hospitals, office buildings, and residential complexes. Drivers may spend unnecessary time moving around a parking area because they do not know which spaces are vacant.<\/p>\n\n<p>A Smart Parking Management System uses computer vision to monitor parking spaces and identify whether each space is occupied or available. A camera captures images or video of the parking area, and an image-processing application analyzes the parking spaces to determine their status.<\/p>\n\n<p>In this project, you will build a Smart Parking Management System using Python and OpenCV. The application will process a parking-lot image or video, examine predefined parking-space regions, classify each space as occupied or vacant, and display the available-space count.<\/p>\n\n<div class=\"pd-note\">\n<strong>Project objective:<\/strong> Develop a computer-vision application that monitors predefined parking spaces using a fixed camera and displays their occupancy status in near real time.\n<\/div>\n\n<h2>1. Project Overview<\/h2>\n\n<div class=\"pd-table-wrap\">\n<table>\n<thead>\n<tr><th>Project component<\/th><th>Description<\/th><\/tr>\n<\/thead>\n<tbody>\n<tr><td>Project title<\/td><td>Smart Parking Management System<\/td><\/tr>\n<tr><td>Programming language<\/td><td>Python<\/td><\/tr>\n<tr><td>Computer vision library<\/td><td>OpenCV<\/td><\/tr>\n<tr><td>Supporting libraries<\/td><td>NumPy, Pickle<\/td><\/tr>\n<tr><td>Input<\/td><td>Parking-lot image or video<\/td><\/tr>\n<tr><td>Processing method<\/td><td>Image processing and region-based occupancy classification<\/td><\/tr>\n<tr><td>Output<\/td><td>Occupied spaces, vacant spaces, and visual parking status<\/td><\/tr>\n<tr><td>Optional interface<\/td><td>Streamlit dashboard<\/td><\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n\n<h2>2. Main Features of the System<\/h2>\n\n<p>The basic project can include the following features:<\/p>\n\n<ul>\n<li>Read a parking-lot image or video from a camera.<\/li>\n<li>Define individual parking spaces using rectangular coordinates.<\/li>\n<li>Analyze each parking-space region using OpenCV.<\/li>\n<li>Classify each space as occupied or vacant.<\/li>\n<li>Display vacant and occupied spaces using different colours.<\/li>\n<li>Calculate the total number of available spaces.<\/li>\n<li>Show a live or repeatedly updated parking status.<\/li>\n<li>Extend the application with a dashboard and occupancy history.<\/li>\n<\/ul>\n\n<h2>3. How the Smart Parking System Works<\/h2>\n\n<p>The system uses a fixed camera that provides a consistent view of the parking area. Each parking space is marked once, and the application checks those regions in subsequent frames.<\/p>\n\n<ol>\n<li><strong>Capture an image:<\/strong> Read a parking-lot image or obtain a frame from a video.<\/li>\n<li><strong>Define parking spaces:<\/strong> Store the coordinates of each parking-space region.<\/li>\n<li><strong>Preprocess the frame:<\/strong> Convert the image to grayscale and apply smoothing.<\/li>\n<li><strong>Analyze each region:<\/strong> Calculate image characteristics such as edge density or thresholded pixel count.<\/li>\n<li><strong>Determine occupancy:<\/strong> Compare the calculated value with a configured threshold.<\/li>\n<li><strong>Update the display:<\/strong> Mark occupied and vacant spaces with different colours.<\/li>\n<li><strong>Calculate availability:<\/strong> Count the spaces classified as vacant.<\/li>\n<\/ol>\n\n<div class=\"pd-example\">\n<strong>Example output<\/strong>\n<ul>\n<li>Total parking spaces: 20<\/li>\n<li>Occupied spaces: 13<\/li>\n<li>Available spaces: 7<\/li>\n<\/ul>\n<p>These numbers are illustrative. Actual results depend on the input image or video and the configured parking-space regions.<\/p>\n<\/div>\n\n<h2>4. Technologies Required<\/h2>\n\n<h3>Python<\/h3>\n<p>Python is used to implement the application logic, process image data, and connect the computer-vision components.<\/p>\n\n<h3>OpenCV<\/h3>\n<p>OpenCV provides functions for reading video frames, resizing images, converting colour spaces, applying thresholds, detecting edges, and drawing parking-space indicators.<\/p>\n\n<h3>NumPy<\/h3>\n<p>NumPy supports numerical operations on image arrays and helps calculate pixel statistics for each parking-space region.<\/p>\n\n<h3>Pickle<\/h3>\n<p>Pickle can store and reload parking-space coordinates so that users do not need to mark the same spaces every time the application starts.<\/p>\n\n<h3>Streamlit (optional)<\/h3>\n<p>Streamlit can be used to build a browser-based dashboard that displays parking availability and processed images.<\/p>\n\n<h2>5. Project Folder Structure<\/h2>\n\n<p>Create a project directory with the following structure:<\/p>\n\n<pre><code>smart-parking-system\/\n\u2502\n\u251c\u2500\u2500 main.py\n\u251c\u2500\u2500 parking_space_selector.py\n\u251c\u2500\u2500 parking_spaces.pkl\n\u2502\n\u251c\u2500\u2500 images\/\n\u2502   \u2514\u2500\u2500 parking_lot.jpg\n\u2502\n\u251c\u2500\u2500 videos\/\n\u2502   \u2514\u2500\u2500 parking_video.mp4\n\u2502\n\u251c\u2500\u2500 output\/\n\u2502\n\u2514\u2500\u2500 requirements.txt<\/code><\/pre>\n\n<p>The image and video files shown above are sample input files that you must provide. Use a fixed camera view with clearly visible parking-space boundaries for the first experiment.<\/p>\n\n<h2>6. Install Python Libraries<\/h2>\n\n<p>Create and activate a virtual environment:<\/p>\n\n<pre><code>python -m venv venv<\/code><\/pre>\n\n<p>On Windows:<\/p>\n\n<pre><code>venv\\Scripts\\activate<\/code><\/pre>\n\n<p>On macOS or Linux:<\/p>\n\n<pre><code>source venv\/bin\/activate<\/code><\/pre>\n\n<p>Install the required libraries:<\/p>\n\n<pre><code>pip install opencv-python numpy<\/code><\/pre>\n\n<p>Pickle is included in Python&#8217;s standard library, so it does not require a separate installation.<\/p>\n\n<h2>7. Define Parking Spaces<\/h2>\n\n<p>The first important task is identifying the location of every parking space in the camera image. For a beginner-friendly implementation, use rectangular regions.<\/p>\n\n<p>Create <code>parking_space_selector.py<\/code>:<\/p>\n\n<pre><code>import cv2\nimport pickle\n\nIMAGE_PATH = \"images\/parking_lot.jpg\"\nSAVE_PATH = \"parking_spaces.pkl\"\n\nimage = cv2.imread(IMAGE_PATH)\n\nif image is None:\n    raise FileNotFoundError(\n        f\"Could not load image: {IMAGE_PATH}\"\n    )\n\nspaces = []\ndrawing = False\nstart_x, start_y = 0, 0\n\ndef mouse_callback(event, x, y, flags, param):\n    global drawing, start_x, start_y, image\n\n    if event == cv2.EVENT_LBUTTONDOWN:\n        drawing = True\n        start_x, start_y = x, y\n\n    elif event == cv2.EVENT_LBUTTONUP:\n        drawing = False\n\n        x1 = min(start_x, x)\n        y1 = min(start_y, y)\n        x2 = max(start_x, x)\n        y2 = max(start_y, y)\n\n        if x2 &gt; x1 and y2 &gt; y1:\n            spaces.append((x1, y1, x2, y2))\n\n        display = image.copy()\n\n        for sx1, sy1, sx2, sy2 in spaces:\n            cv2.rectangle(\n                display,\n                (sx1, sy1),\n                (sx2, sy2),\n                (255, 0, 0),\n                2\n            )\n\n        cv2.imshow(\"Select Parking Spaces\", display)\n\n\ncv2.namedWindow(\"Select Parking Spaces\")\ncv2.setMouseCallback(\n    \"Select Parking Spaces\",\n    mouse_callback\n)\n\nwhile True:\n    display = image.copy()\n\n    for x1, y1, x2, y2 in spaces:\n        cv2.rectangle(\n            display,\n            (x1, y1),\n            (x2, y2),\n            (255, 0, 0),\n            2\n        )\n\n    cv2.imshow(\"Select Parking Spaces\", display)\n\n    key = cv2.waitKey(20) &amp; 0xFF\n\n    if key == ord(\"s\"):\n        with open(SAVE_PATH, \"wb\") as file:\n            pickle.dump(spaces, file)\n\n        print(\"Parking spaces saved.\")\n        break\n\n    if key == ord(\"r\"):\n        spaces.clear()\n        print(\"All selections cleared.\")\n\n    if key == 27:\n        break\n\ncv2.destroyAllWindows()<\/code><\/pre>\n\n<p>Run the selector:<\/p>\n\n<pre><code>python parking_space_selector.py<\/code><\/pre>\n\n<p>Click and drag over each parking space to draw a rectangle. Press <code>S<\/code> to save the selected coordinates. Press <code>R<\/code> to clear all selections or <code>Esc<\/code> to exit.<\/p>\n\n<div class=\"pd-note\">\n<strong>Camera setup matters:<\/strong> Select the spaces using the same camera resolution and viewpoint that you will use during detection. If the camera moves or the image is resized differently, the saved coordinates may no longer align with the parking spaces.\n<\/div>\n\n<h2>8. Build the Parking Occupancy Detection Module<\/h2>\n\n<p>Now create <code>main.py<\/code>. This implementation uses grayscale conversion, Gaussian smoothing, adaptive thresholding, and edge detection to estimate how much visual detail is present in each marked region.<\/p>\n\n<p>It is a simple baseline for a fixed camera. It does not use a trained vehicle detector, and its threshold must be calibrated using representative images from your own parking area.<\/p>\n\n<pre><code>import cv2\nimport numpy as np\nimport pickle\nimport os\n\nVIDEO_PATH = \"videos\/parking_video.mp4\"\nSPACE_FILE = \"parking_spaces.pkl\"\n\nif not os.path.exists(SPACE_FILE):\n    raise FileNotFoundError(\n        \"Run parking_space_selector.py first.\"\n    )\n\nwith open(SPACE_FILE, \"rb\") as file:\n    parking_spaces = pickle.load(file)\n\nif not parking_spaces:\n    raise ValueError(\"No parking spaces were selected.\")\n\ncap = cv2.VideoCapture(VIDEO_PATH)\n\nif not cap.isOpened():\n    raise FileNotFoundError(\n        f\"Could not open video: {VIDEO_PATH}\"\n    )\n\n# Tune this threshold using sample frames.\nOCCUPANCY_THRESHOLD = 120\n\ndef inspect_space(frame, coordinates):\n    x1, y1, x2, y2 = coordinates\n\n    height, width = frame.shape[:2]\n\n    if not (\n        0 &lt;= x1 &lt; x2 &lt;= width\n        and 0 &lt;= y1 &lt; y2 &lt;= height\n    ):\n        return None\n\n    roi = frame[y1:y2, x1:x2]\n\n    if roi.size == 0:\n        return None\n\n    gray = cv2.cvtColor(\n        roi,\n        cv2.COLOR_BGR2GRAY\n    )\n\n    blurred = cv2.GaussianBlur(\n        gray,\n        (5, 5),\n        0\n    )\n\n    threshold = cv2.adaptiveThreshold(\n        blurred,\n        255,\n        cv2.ADAPTIVE_THRESH_GAUSSIAN_C,\n        cv2.THRESH_BINARY_INV,\n        25,\n        16\n    )\n\n    edges = cv2.Canny(\n        blurred,\n        50,\n        150\n    )\n\n    threshold_pixels = cv2.countNonZero(threshold)\n    edge_pixels = cv2.countNonZero(edges)\n\n    # Combined visual activity score.\n    score = threshold_pixels + edge_pixels\n\n    return score\n\n\nwhile True:\n    success, frame = cap.read()\n\n    if not success:\n        # Restart the video for a continuous demo.\n        cap.set(cv2.CAP_PROP_POS_FRAMES, 0)\n        continue\n\n    occupied_count = 0\n    available_count = 0\n\n    for coordinates in parking_spaces:\n        x1, y1, x2, y2 = coordinates\n\n        score = inspect_space(\n            frame,\n            coordinates\n        )\n\n        if score is None:\n            continue\n\n        occupied = score &gt; OCCUPANCY_THRESHOLD\n\n        if occupied:\n            occupied_count += 1\n            color = (0, 0, 255)\n            label = \"Occupied\"\n        else:\n            available_count += 1\n            color = (0, 200, 0)\n            label = \"Available\"\n\n        cv2.rectangle(\n            frame,\n            (x1, y1),\n            (x2, y2),\n            color,\n            2\n        )\n\n        cv2.putText(\n            frame,\n            label,\n            (x1, max(y1 - 8, 20)),\n            cv2.FONT_HERSHEY_SIMPLEX,\n            0.5,\n            color,\n            2\n        )\n\n    cv2.putText(\n        frame,\n        f\"Occupied: {occupied_count}\",\n        (20, 35),\n        cv2.FONT_HERSHEY_SIMPLEX,\n        0.8,\n        (0, 0, 255),\n        2\n    )\n\n    cv2.putText(\n        frame,\n        f\"Available: {available_count}\",\n        (20, 70),\n        cv2.FONT_HERSHEY_SIMPLEX,\n        0.8,\n        (0, 200, 0),\n        2\n    )\n\n    cv2.imshow(\n        \"Smart Parking Management System\",\n        frame\n    )\n\n    key = cv2.waitKey(30) &amp; 0xFF\n\n    if key == ord(\"q\"):\n        break\n\ncap.release()\ncv2.destroyAllWindows()<\/code><\/pre>\n\n<p>Run the application:<\/p>\n\n<pre><code>python main.py<\/code><\/pre>\n\n<p>Press <code>Q<\/code> to close the video window.<\/p>\n\n<h2>9. Understand the Occupancy Detection Logic<\/h2>\n\n<p>The example uses a combined image-processing score to estimate whether a parking space contains a vehicle. The main operations are:<\/p>\n\n<ul>\n<li><strong>Grayscale conversion:<\/strong> Converts the region into a single intensity channel.<\/li>\n<li><strong>Gaussian blur:<\/strong> Reduces some image noise before thresholding and edge detection.<\/li>\n<li><strong>Adaptive thresholding:<\/strong> Separates brighter and darker image regions using a locally calculated threshold.<\/li>\n<li><strong>Canny edge detection:<\/strong> Identifies edges and visual boundaries within the parking-space region.<\/li>\n<li><strong>Pixel counting:<\/strong> Counts the detected threshold and edge pixels to create a simple score.<\/li>\n<\/ul>\n\n<p>The application compares this score with a configured threshold. If the score exceeds the threshold, the region is classified as occupied. Otherwise, it is classified as available.<\/p>\n\n<div class=\"pd-note\">\n<strong>Important limitation:<\/strong> This score is a heuristic, not a trained occupancy classifier. Shadows, sunlight, pavement markings, reflections, rain, and camera movement can change the score. A fixed threshold may fail when lighting conditions change. Calibrate it with labelled empty and occupied examples, and evaluate it on separate test frames.\n<\/div>\n\n<h2>10. Improve Detection with a Vehicle Detection Model<\/h2>\n\n<p>For a more advanced version, replace or supplement the pixel-based method with an object detection model such as YOLO. A detector can identify vehicle bounding boxes, which can then be mapped to the predefined parking spaces.<\/p>\n\n<p>The improved workflow is:<\/p>\n\n<ol>\n<li>Read a frame from the camera.<\/li>\n<li>Run a vehicle detector on the frame.<\/li>\n<li>Collect the bounding boxes for relevant vehicle classes.<\/li>\n<li>Compare each vehicle box with the predefined parking-space regions.<\/li>\n<li>Mark a parking space occupied when a vehicle overlaps it sufficiently.<\/li>\n<li>Use tracking or multiple consecutive frames to reduce unstable status changes.<\/li>\n<\/ol>\n\n<p>For example, the following overlap function can estimate how much of a parking-space rectangle is covered by a vehicle detection box:<\/p>\n\n<pre><code>def overlap_ratio(vehicle_box, parking_box):\n    vx1, vy1, vx2, vy2 = vehicle_box\n    px1, py1, px2, py2 = parking_box\n\n    ix1 = max(vx1, px1)\n    iy1 = max(vy1, py1)\n    ix2 = min(vx2, px2)\n    iy2 = min(vy2, py2)\n\n    if ix2 &lt;= ix1 or iy2 &lt;= iy1:\n        return 0.0\n\n    intersection = (\n        (ix2 - ix1) * (iy2 - iy1)\n    )\n\n    parking_area = (\n        (px2 - px1) * (py2 - py1)\n    )\n\n    return intersection \/ parking_area\n\n\ndef is_space_occupied(\n    vehicle_boxes,\n    parking_box,\n    minimum_overlap=0.20\n):\n    for vehicle_box in vehicle_boxes:\n        ratio = overlap_ratio(\n            vehicle_box,\n            parking_box\n        )\n\n        if ratio &gt;= minimum_overlap:\n            return True\n\n    return False<\/code><\/pre>\n\n<p>This function assumes that both boxes use the same image coordinate system. The overlap threshold is an example starting value and must be tuned for the camera angle and parking-space geometry.<\/p>\n\n<p>For an actual YOLO implementation, you must load a suitable trained model, select vehicle classes, configure a confidence threshold, and verify that the model performs well on your camera&#8217;s viewpoint. A general street-scene detector may struggle with top-down or distant vehicles.<\/p>\n\n<h2>11. Dataset Collection and Research<\/h2>\n\n<p>To evaluate the system properly, use images that show different parking conditions rather than relying on a single demonstration video.<\/p>\n\n<p>Useful research datasets include:<\/p>\n\n<ul>\n<li><strong>PKLot:<\/strong> A parking-lot dataset used in research on occupied and vacant parking-space classification.<\/li>\n<li><strong>CNRPark-EXT:<\/strong> A dataset containing parking-space images captured across different camera views and environmental conditions.<\/li>\n<li><strong>MetaPKLot:<\/strong> A newer harmonized benchmark that extends existing parking datasets and supports occupancy recognition, dwell-time estimation, and parking-space extraction.<\/li>\n<\/ul>\n\n<p>Before using any dataset, review its licence, download instructions, annotation format, and permitted uses. The basic code in this article expects manually selected parking-space coordinates and a video or image sequence; public datasets may require an adapter to their annotation format.<\/p>\n\n<h2>12. Evaluate the System<\/h2>\n\n<p>Do not evaluate the project only by showing a video in which the coloured rectangles appear to work. Prepare labelled examples of occupied and vacant parking spaces and compare the predictions with the correct labels.<\/p>\n\n<p>Useful evaluation measures include:<\/p>\n\n<ul>\n<li><strong>Accuracy:<\/strong> Percentage of parking-space predictions that are correct.<\/li>\n<li><strong>Precision:<\/strong> Of the spaces predicted as occupied, how many are actually occupied?<\/li>\n<li><strong>Recall:<\/strong> Of all occupied spaces, how many did the system identify?<\/li>\n<li><strong>F1-score:<\/strong> A combined measure of precision and recall.<\/li>\n<li><strong>Processing speed:<\/strong> Frames processed per second on the test hardware.<\/li>\n<\/ul>\n\n<p>Test the application under different conditions, including:<\/p>\n\n<ul>\n<li>Bright sunlight and cloudy weather.<\/li>\n<li>Morning, afternoon, and evening lighting.<\/li>\n<li>Partially visible vehicles.<\/li>\n<li>Shadows covering empty spaces.<\/li>\n<li>Different vehicle sizes and colours.<\/li>\n<li>Camera vibration or changes in viewpoint.<\/li>\n<\/ul>\n\n<p>Use separate training or calibration examples and test examples. If the same video frames are used to tune and report the final performance, the evaluation may be overly optimistic.<\/p>\n\n<h2>13. Advantages of the Project<\/h2>\n\n<ul>\n<li>Demonstrates practical computer-vision concepts using Python.<\/li>\n<li>Can process recorded video and, with suitable camera access, live feeds.<\/li>\n<li>Displays occupied and vacant spaces visually.<\/li>\n<li>Can be developed initially without training a deep-learning model.<\/li>\n<li>Provides a foundation for adding vehicle detection and tracking.<\/li>\n<li>Can be extended into a parking dashboard or management application.<\/li>\n<\/ul>\n\n<h2>14. Limitations of the Basic System<\/h2>\n\n<p>The basic image-processing approach has several limitations:<\/p>\n\n<ul>\n<li>It depends on a fixed camera position and predefined parking-space coordinates.<\/li>\n<li>Lighting changes can affect the threshold\n","protected":false},"excerpt":{"rendered":"<p>Smart Parking Management System Using OpenCV and Python: Vehicle Detection and Parking Slot Monitoring<\/p>\n","protected":false},"author":1,"featured_media":155,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[9],"tags":[14,154,12,202,200,199,17,203,198,201],"class_list":["post-153","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-final-year-projects","tag-ai-projects","tag-computer-vision","tag-final-year-projects","tag-image-processing","tag-opencv-projects","tag-parking-space-detection","tag-python-projects","tag-smart-city-projects","tag-smart-parking-system","tag-vehicle-detection"],"jetpack_publicize_connections":[],"_links":{"self":[{"href":"https:\/\/blogs.projectduniya.com\/index.php\/wp-json\/wp\/v2\/posts\/153","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.projectduniya.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.projectduniya.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.projectduniya.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.projectduniya.com\/index.php\/wp-json\/wp\/v2\/comments?post=153"}],"version-history":[{"count":2,"href":"https:\/\/blogs.projectduniya.com\/index.php\/wp-json\/wp\/v2\/posts\/153\/revisions"}],"predecessor-version":[{"id":156,"href":"https:\/\/blogs.projectduniya.com\/index.php\/wp-json\/wp\/v2\/posts\/153\/revisions\/156"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.projectduniya.com\/index.php\/wp-json\/wp\/v2\/media\/155"}],"wp:attachment":[{"href":"https:\/\/blogs.projectduniya.com\/index.php\/wp-json\/wp\/v2\/media?parent=153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.projectduniya.com\/index.php\/wp-json\/wp\/v2\/categories?post=153"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.projectduniya.com\/index.php\/wp-json\/wp\/v2\/tags?post=153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}