Skip to content

Instantly share code, notes, and snippets.

View ashishrana160796's full-sized avatar
👣
Am I Blue?

Ashish Rana ashishrana160796

👣
Am I Blue?
  • Mannheim, Germany
View GitHub Profile
@ashishrana160796
ashishrana160796 / UCSD_count_preprocess.py
Last active January 1, 2022 22:07 — forked from rkwitt/UCSD_Ped_Counting_Dataset.py
Data loading for the UCSD pedestrian counting(http://www.svcl.ucsd.edu/projects/peoplecnt/) dataset for images with their respective count from matlab scripts provided along.
import glob
import os
import scipy.io as sio
import numpy as np
import numpy as np
from PIL import *
class UCSD():
"""UCSD pedestrian counting data."""