启动时Wildfly未知错误

时间:2016-06-24 09:45:35

标签: java wildfly linuxmint

我有一个目前在Windows上运行的wildfly服务器,但在家里我正在运行linux并且需要设置相同的服务器以便我可以继续在家工作。当尝试在Linux上启动服务器时,我收到以下错误。任何帮助将非常感谢。

import cv2
import numpy as np
from matplotlib import pyplot as plt


img = cv2.imread('testImages/testImage3_6.jpg')
if img is None:
    print "There is no image with this name! (maybe typo)"

hsv = cv2.cvtColor(img, cv2.COLOR_BGR2HSV)

lower_red = np.array([0,50,50])
upper_red = np.array([10,255,255])

mask = cv2.inRange(hsv, lower_red, upper_red)
result = cv2.bitwise_and(img.copy(),img.copy(), mask= mask)

edges = cv2.Canny(mask,1000,1500)

maskSmoothed = cv2.medianBlur(mask,5)

circles = cv2.HoughCircles(maskSmoothed,cv2.cv.CV_HOUGH_GRADIENT,1,50,
                            param1=20,param2=20,minRadius=0,maxRadius=0)

output = img
cmask = cv2.cvtColor(maskSmoothed, cv2.COLOR_GRAY2BGR)
circles = np.uint16(np.around(circles))
for i in circles[0,:]:
    cv2.circle(cmask,(i[0],i[1]),i[2],(0,255,0),1) # draw the outer circle
    cv2.circle(cmask,(i[0],i[1]),2,(0,0,255),3) # draw the center of the circle

cv2.imshow('win', cmask)
cv2.waitKey(0)

0 个答案:

没有答案