You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
# -*- coding: utf-8 -*-
|
|
"""
|
|
@File : histTest.py
|
|
@Author: csc
|
|
@Date : 2022/7/18
|
|
"""
|
|
import cv2
|
|
import service.histService as histService
|
|
from main import display
|
|
|
|
img = cv2.imread('./img.jpg')
|
|
|
|
|
|
def test_histCover():
|
|
histogram = histService.histCover([img])
|
|
display('hist', histogram)
|