Elmar999 / Cigarette_buts_detection

Detection of Cigarette buts on the streets using U-net segmentation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Creating Database

Elmar999 opened this issue · comments

We are going to create a database which stores image_path, mask_path, json_path for all images.
We`ll write a class named as 'Dataset' which is going to deal with creating database, adding an information to database and loading information from dataset.

  • Create a class
    Write functions that does followings:
  • Creates a database if there isn`t any.
  • Adds given image_path, mask_path, json_file to database with the same column names
  • Loads image_path, mask_path, json_file from database.