Skip to content

Instantly share code, notes, and snippets.

View mograe's full-sized avatar

Mogranov Evgeniy mograe

View GitHub Profile
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Распознавание фигур с веб-камеры (без расстояний)
Фигуры: круг, эллипс, треугольник, квадрат, прямоугольник, многоугольники (5+).
Зависимости:
pip install opencv-python numpy
Управление:
#include<bits/stdc++.h>
using namespace std;
vector<int> g[20001];
vector<bool> used(20001);
int timer;
vector<int> tin(20001);
vector<int> fup(20001);
map <pair<int,int>,int> mp_v;