2019-10-08 13:32:53 -0500 | received badge | ● Famous Question (source) |
2018-09-22 09:14:13 -0500 | received badge | ● Notable Question (source) |
2018-07-18 04:20:40 -0500 | received badge | ● Popular Question (source) |
2018-01-26 06:50:19 -0500 | received badge | ● Supporter (source) |
2018-01-26 05:44:34 -0500 | marked best answer | TypeError: img is not a numpy array, neither a scalar I have data similar to the following : 10-0 being the credentials of an image(to find the path) and the values inside are coordinates of a box or rectangle each, the formula i'm working on is My code : What i finally want is the image with red boxes around the regions of interest in a new destination folder leaving the original image intact. And i have referred to similar questions on here with the same error message but they weren't helpful to my case. |
2018-01-26 05:44:34 -0500 | received badge | ● Scholar (source) |
2018-01-26 05:10:14 -0500 | commented answer | TypeError: img is not a numpy array, neither a scalar Then i kept only cv2.imwrite(FULL_PATH_TO_DESTINATION, img) deleted the 2 lines under, ran without errors but there was |
2018-01-26 05:08:01 -0500 | commented answer | TypeError: img is not a numpy array, neither a scalar Then i kept only cv2.imwrite(FULL_PATH_TO_DESTINATION, img) deleted the 2 lines under, ran without errors but there was |
2018-01-26 05:06:56 -0500 | commented answer | TypeError: img is not a numpy array, neither a scalar Ok, i fixed that part then strangely for someone using opencv for the first time i got this error `OpenCV Error: Unspeci |
2018-01-26 04:52:09 -0500 | commented answer | TypeError: img is not a numpy array, neither a scalar Adjusted that part then got the following error error: (-2) could not find a writer for the specified extension in funct |
2018-01-26 04:38:58 -0500 | asked a question | TypeError: img is not a numpy array, neither a scalar TypeError: img is not a numpy array, neither a scalar I have data similar to the following : 10-0 = [ [1915, 387, 1 |