/
Alx89
/
OpenCV
Обзор
Документация
Войти
/
Alx89
/
OpenCV
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
4.x
modules/objdetect/src/barcode_decoder/common/utils.hpp
26 строк
612 B
Maksim Shabunin
Merge pull request #23666 from mshabunin:barcode-move
14 июн 2023, 22:21
Не верифицирован
14 июн 2023, 22:21
463cd09
Код
Авторство
О чём код?
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. // Copyright (c) 2020-2021 darkliang wangberlinT Certseeds #ifndef OPENCV_BARCODE_UTILS_HPP #define OPENCV_BARCODE_UTILS_HPP namespace cv { namespace barcode { enum BinaryType { OTSU = 0, HYBRID = 1 }; static constexpr BinaryType binary_types[] = {OTSU, HYBRID}; void sharpen(const Mat &src, const Mat &dst); void binarize(const Mat &src, Mat &dst, BinaryType mode); } } #endif // OPENCV_BARCODE_UTILS_HPP