michtesar / color_recognizer Goto Github PK
View Code? Open in Web Editor NEWSmall project to learn neuronal network with classifying some basic colors based on Decision Tree Classifier and webcam input
License: MIT License
Small project to learn neuronal network with classifying some basic colors based on Decision Tree Classifier and webcam input
License: MIT License
I am getting following error while running color_recognizer2.py
File "color_recognizer2.py", line 72, in redraw
print('Color:\t' + str(net.identify_color(self.image, clf)))
File "D:\color detector\ColorRecognizer-master\net.py", line 52, in identify_color
image_resised = src_image.reshape(1, 6912)
ValueError: cannot reshape array of size 2304 into shape (1,6912)
-- Env. used: windows 10, Python 3.6
image_resised = src_image.reshape(1, 6912)
ValueError: cannot reshape array of size 2304 into shape (1,6912)
Traceback (most recent call last):
File "D:/Kampus/Kuliah/Semester 6/Computer Vision/Project Akhir/color_recognizer-master/color_recognizer2.py", line 6, in
import vizualizator
File "D:\Kampus\Kuliah\Semester 6\Computer Vision\Project Akhir\color_recognizer-master\vizualizator.py", line 2, in
from sklearn.preprocessing import MinMaxScaler
File "C:\Users\ASUS\AppData\Roaming\Python\Python36\site-packages\sklearn_init_.py", line 64, in
from .base import clone
File "C:\Users\ASUS\AppData\Roaming\Python\Python36\site-packages\sklearn\base.py", line 13, in
from .utils.fixes import signature
File "C:\Users\ASUS\AppData\Roaming\Python\Python36\site-packages\sklearn\utils_init_.py", line 13, in
from .validation import (as_float_array,
File "C:\Users\ASUS\AppData\Roaming\Python\Python36\site-packages\sklearn\utils\validation.py", line 22, in
from ..utils.fixes import signature
File "C:\Users\ASUS\AppData\Roaming\Python\Python36\site-packages\sklearn\utils\fixes.py", line 83, in
from scipy.special import boxcox # noqa
File "D:\Programming\Python\lib\site-packages\scipy\special_init_.py", line 640, in
from ._ufuncs import *
ImportError: DLL load failed: %1 is not a valid Win32 application.
Find better graph plotting and interpretation. For better understanding...
Traceback (most recent call last):
File "color_recognizer2.py", line 80, in redraw
clf.fit(image, color_int)
NameError: name 'image' is not defined
I get the main screen but it's black and Terminal produces errors:
Color: Black
Traceback (most recent call last):
File "color_recognizer2.py", line 80, in redraw
clf.fit(image, color_int)
NameError: name 'image' is not defined
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.