<gh_stars>100-1000
import numpy as np
from raspberryturk.core.data.feature_extractor import FeatureExtractor
from sklearn.preprocessing import normalize

class RawPixelsExtractor(FeatureExtractor):
    def extract_features(self, square):
        return (square.raw_img.flatten() / 127.5) - 1.0

import numpy as np
from raspberryturk.core.data.feature_extractor import FeatureExtractor
from sklearn.preprocessing import normalize

class RawPixelsExtractor(FeatureExtractor):
    def extract_features(self, square):
        return (square.raw_img.flatten() / 127.5) - 1.0