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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user