MacBook is best for coding
Is an Apple MacBook Air core i5 good for Python programming and data scientist studies?
import cv2import sys
imagePath = sys.argv[1]cascPath = "haarcascade_pedestrian.xml"# cascPath = "pedestrian_another.xml"# cascPath = "haarcascade_fullbody.xml"
pedsCascade = cv2.CascadeClassifier(cascPath)
# Read the imageimage = cv2.imread(imagePath)gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
# detect pedestrian in pic
peds = pedsCascade.detectMultiScale( gray, scaleFactor=1.3, minNeighbors=9, minSize=(30, 30))
print("Found {0} pedestrian!".format(len(peds)))
# Draw a rectangle around the pedsfor (x, y, w, h) in peds: cv2.rectangle(image, (x, y), (x+w, y+h), (0, 255, 0), 2)
# cv2.imshow("Faces found", image)status = cv2.imwrite('peds_saved.jpg', image)print ("Image essay wring to file-system : ",status)
i am upset about mage pressing this code not run on apple MacBook Air core i3.
My Question is MacBook Air core i5 solve this issue or not , if not which
apple book helpful for me??
[Link Edited by Moderator]