Skip to content

This repository contains two tasks given by Markable, a start up based in Chicago.

Notifications You must be signed in to change notification settings

bhadresh74/Markable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Markable

This repository contains two task given by Markable, a start up based in Chicago

  1. Humand Detector
  2. Spring Framework
1. Human Detector

To run the humandetector, follow this instruction:

  1. Open command prompt
  2. Go to the directory where all three files humandetector.py, preprocess.py, boundingbox.py are present.
  3. type command python to start python console
  4. Then follow this commands:

    import humandetector as hd
    hd.findhumans('path where all the images are stored')
    E.g. 'C:/CV_Task Examples/'

Note:
Do not forget to put '/' at the end of your path
If access denied error occurs, try to run it again or check access privilages on the image folder

Input Path format must be: 'C:/CV_Task Examples/'
Try to run this script as administrator if you have access issues

Technique: Otsu's thresholding method with basic image processing
Time Complexity: Less than 1 sec per image
Accuracy: ~95%

Steps:
1.Load the image and read it as a grayscale
2.Downsample the image by 60%
3.Threshold the image
4.Consider forground pixels as human
5.Label the image and find regionprops
6.Draw bounding box around the interested regionprops

2. Spring Framework

To deploy this service, run client.java

About

This repository contains two tasks given by Markable, a start up based in Chicago.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published