Home > other >  Problem solving: AttributeError: module 'CV' has no attribute 'LoadImage'
Problem solving: AttributeError: module 'CV' has no attribute 'LoadImage'

Time:11-18


 for l in the open (' TMP/judgeData. TXT). Readlines () [1] : 
Res=pat. Match (l)
Fn=res. Group (' fn)
Label=res. Group (' LBL)
Im=CV. LoadImage (TMP/' % s' % fn)
With parts=the preprocess. The split (the preprocess. Denoise (im))
For I in range (4) :
CV. SaveImage (' % s/% % s % d - d.p ng '%
(dest_dir, label [I], model,
Next_id ()), with parts [I])

The following problems
AttributeError: module 'CV' has no attribute 'LoadImage'

Wish you a great god can do to help solve!!!!!!

CodePudding user response:

CV without LoadImage properties or methods,
  • Related