1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

Fix DNN samples for compatibility with Python 3.

Add PyInt_Check in pyopencv_dnn.hpp.
This commit is contained in:
catree
2017-10-13 19:38:42 +02:00
parent 1ba29cc95d
commit 22dece8146
4 changed files with 12 additions and 8 deletions
-3
View File
@@ -1,8 +1,5 @@
import numpy as np
import argparse
import os
import sys
sys.path.append('/home/arrybn/build/opencv/lib')
import cv2 as cv
try:
import cv2 as cv