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
// To view the default settings, hold "alt" while clicking on the "Settings" button. | |
// For documentation on these settings, see: https://aka.ms/terminal-documentation | |
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"defaultProfile": "{0caa0dad-35ff-5f56-a8ff-afceeeaa6101}", | |
"initialCols" : 130, | |
"initialRows": 70, | |
"requestedTheme": "dark", | |
"showTerminalTitleInTitlebar": false, |
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 <iostream> | |
int main() | |
{ | |
for(int i=1, c=1, d=1; i<=100; ++i, ++c, ++d) | |
{ | |
if(3 == c) c = 0; | |
if(5 == d) d = 0; | |
if(c && d ) std::cout << i; | |
if(!c) std::cout << "Fizz"; |
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
// To view the default settings, hold "alt" while clicking on the "Settings" button. | |
// For documentation on these settings, see: https://aka.ms/terminal-documentation | |
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"defaultProfile": "{0caa0dad-35ff-5f56-a8ff-afceeeaa6101}", | |
"initialCols" : 130, | |
"initialRows": 70, | |
"requestedTheme": "dark", | |
"showTerminalTitleInTitlebar": false, |
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
#!/bin/bash | |
# its automatic create file from kaban's workplace | |
NAME=$(uname -s) | |
echo set prerequisites for ${NAME} platform ... | |
if [ $NAME == "Darwin" ]; then | |
if [ ! -f /usr/local/bin/brew ]; then | |
echo install brew ... | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" |
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
template <typename T1, typename T2> void wrapper(T1& p1, T2& p2) { f(p1, p2); } | |
template <typename T1, typename T2> void wrapper(const T1& p1, T2& p2) { f(p1, p2); } | |
template <typename T1, typename T2> void wrapper(T1& p1, const T2& p2) { f(p1, p2); } | |
template <typename T1, typename T2> void wrapper(const T1& p1, const T2& p2){ f(p1, p2); } | |
1. Поему решено использовать именно такую перегрузку? | |
2. Предложите свое решение. |
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
Вакансии : | |
1. Программист группы фреймворка, разработка company-wide движка и тулсета | |
Обязательно | |
- уверенный C++ от двух лет, С++11/14, STL, boost | |
- знание основ современных GAPI (OpenGL/DX) | |
- Линейная алгебра в объеме первого курса любого института | |
- Здравый смысл |
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
#!/bin/bash | |
echo '#!/bin/bash' | |
echo '' | |
echo 'failed_items=""' | |
echo 'function install_package() {' | |
echo 'echo EXECUTING: brew install $1 $2' | |
echo 'brew install $1 $2' | |
echo '[ $? -ne 0 ] && $failed_items="$failed_items $1" # package failed to install.' | |
echo '}' |
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
В целом, видится несколько направлений атаки: | |
1. Определение контура по типу active contour models. | |
+ не требует обучения => можно начать реализовывать сразу, не имея обучающей выборки, просто некоторое количество тестовых изображений | |
- вычислительно довольно трудоемко, возможно только на бэкенде | |
- будет вменяемо работать только для поз с немного разведёнными в сторону руками и ногами и в более-менее облегающей одежде | |
2. Обучение собственного детектора силуэта по типу dlib (каскад регрессионных деревьев) | |
+ Потенциально может поддерживать более широкое разнообразие поз (в разумных пределах) | |
- Требуется обучающая выборка (как минимум несколько сотен изображений) с разметкой |
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
function(PUSH_INCLUDE path) | |
set(GLOBAL_INCLUDES ${GLOBAL_INCLUDES} ${path}) | |
list(REMOVE_DUPLICATES GLOBAL_INCLUDES) | |
set(GLOBAL_INCLUDES ${GLOBAL_INCLUDES} CACHE INTERNAL "GLOBAL_INCLUDES") | |
endfunction(PUSH_INCLUDE) | |
macro(BUILD_APPS project) | |
if(BUILD_APPS) | |
set (libs ${ARGN}) | |
file(GLOB apps_sources ${CMAKE_CURRENT_SOURCE_DIR}/apps/*.cpp) |
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
#!/usr/bin/env bash | |
ROOT=`pwd` | |
TAG='3.0.0' | |
OPENCV_PATH=$ROOT/opencv | |
BUILD_PATH=$ROOT/.build | |
CONTRIB_PATH=$ROOT/opencv_contrib | |
INSTALL=NO |
NewerOlder