This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <opencv2\opencv.hpp> | |
using namespace cv; | |
using std::cout; | |
/*--------------- SKIN SEGMENTATION ---------------*/ | |
int main () { | |
VideoCapture cap(0); | |
if(!cap.isOpened()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
HomographyModel maps the bottom of the frontal frame bbox to the birdeye view. | |
Length and width of the bounding box are evaluated as mean across training. | |
""" | |
import os | |
import cv2 | |
import pickle | |
import numpy as np | |
from glob import glob |