4 Matching Annotations
  1. May 2020
    1. Everybody wants freedom. And there are two important basics for harnessing that freedom

      1) Only do things you enjoy 2) The daily practice

    1. The HOG Algorithm As its name suggests, the HOG algorithm, is based on creating histograms from the orientation of image gradients. The HOG algorithm is implemented in a series of steps:

      Given the image of particular object, set a detection window (region of interest) that covers the entire object in the image (see Fig. 3).

      Calculate the magnitude and direction of the gradient for each individual pixel in the detection window.

      Divide the detection window into connected cells of pixels, with all cells being of the same size (see Fig. 3). The size of the cells is a free parameter and it is usually chosen so as to match the scale of the features that want to be detected. For example, in a 64 x 128 pixel detection window, square cells 6 to 8 pixels wide are suitable for detecting human limbs.

      Create a Histogram for each cell, by first grouping the gradient directions of all pixels in each cell into a particular number of orientation (angular) bins; and then adding up the gradient magnitudes of the gradients in each angular bin (see Fig. 3). The number of bins in the histogram is a free parameter and it is usually set to 9 angular bins.

      Group adjacent cells into blocks (see Fig. 3). The number of cells in each block is a free parameter and all blocks must be of the same size. The distance between each block (known as the stride) is a free parameter but it is usually set to half the block size, in which case you will get overlapping blocks (see video below). The HOG algorithm has been shown empirically to work better with overlapping blocks.

      Use the cells contained within each block to normalize the cell histograms in that block (see Fig. 3). If you have overlapping blocks this means that most cells will be normalized with respect to different blocks (see video below). Therefore, the same cell may have several different normalizations.

      Collect all the normalized histograms from all the blocks into a single feature vector called the HOG descriptor.

      Use the resulting HOG descriptors from many images of the same type of object to train a machine learning algorithm, such as an SVM, to detect those type of objects in images. For example, you could use the HOG descriptors from many images of pedestrians to train an SVM to detect pedestrians in images. The training is done with both positive a negative examples of the object you want detect in the image.

      Once the SVM has been trained, a sliding window approach is used to try to detect and locate objects in images. Detecting an object in the image entails finding the part of the image that looks similar to the HOG pattern learned by the SVM.

  2. Apr 2020
    1. replication is performed by DNA polymerase

      replication is performed by DNA polymerase, but to initiate replication, DNA polymerase needs a protein called DnaA. DnaA binds to a short region (typically just a 9 nucleotide-long segment) within the replication origin that is known as a DnaA box

  3. Jun 2015
    1. The very best startup ideas tend to have three things in common: they're something the founders themselves want, that they themselves can build, and that few others realize are worth doing