Giter VIP home page Giter VIP logo

color_recognizer's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

color_recognizer's Issues

Error in net.py file

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

Reshape error

image_resised = src_image.reshape(1, 6912)
ValueError: cannot reshape array of size 2304 into shape (1,6912)

error sklearn

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.

Webcam opens but it's black.

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.