# Object Detection

## Training a typical classifier with near the edge cropping

![](https://2552912007-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LzGBVuquaFNrwdmJna0%2F-MHnHPUVp49aepa6jL6i%2F-MHnJ2ILZVC8dkZ7_46h%2FScreen%20Shot%202020-09-21%20at%206.56.33%20PM.png?alt=media\&token=c28127d3-957d-4c66-9b7a-d32878ea3ed1)

### Then perform sliding windows detection

![](https://2552912007-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LzGBVuquaFNrwdmJna0%2F-MHnHPUVp49aepa6jL6i%2F-MHnJPYZtrlYT_n4spT5%2FScreen%20Shot%202020-09-21%20at%206.58.02%20PM.png?alt=media\&token=9299f063-90a2-40e5-a402-27bc7605b535)

{% hint style="warning" %}
**Computationally costly!**
{% endhint %}

## Convolutional Implementation of Sliding Windows

![Pre-requisite - Turning FC layer into convolutional layers](https://2552912007-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LzGBVuquaFNrwdmJna0%2F-MHnJpLxB1NLMMMfWQxS%2F-MHnKvOWgu2seA1XZ1Fz%2FScreen%20Shot%202020-09-21%20at%207.04.49%20PM.png?alt=media\&token=b7b18474-89b7-48d5-9e60-75b5ed5adf43)

![](https://2552912007-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LzGBVuquaFNrwdmJna0%2F-MHnLKDAZfqyCmMFse57%2F-MHnMjnUl7XuVWP1mogP%2FScreen%20Shot%202020-09-21%20at%207.12.50%20PM.png?alt=media\&token=7ca2c454-6a17-4fa9-bf41-b19f6b5651b3)
