drowsiness-detection | drowsiness based on real-time camera image | Computer Vision library

 by   woorimlee Python Version: Current License: MIT

kandi X-RAY | drowsiness-detection Summary

kandi X-RAY | drowsiness-detection Summary

drowsiness-detection is a Python library typically used in Artificial Intelligence, Computer Vision, Deep Learning, Tensorflow, OpenCV applications. drowsiness-detection has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. However drowsiness-detection build file is not available. You can download it from GitHub.

: Based on the real-time Vision System, drivers' face and eye detection techniques were added, as well as removing lighting effects due to the eye detection false positives, drowsiness detection techniques, and supervised learning algorithms to identify drowsiness level. The Histogram of Oriented Gradients technology and the learned Face Landmark estimation techniques were used to detect faces and eyes. In order to eliminate the effects of lighting, the light channels of the original images were separated and reversed, and then composed with the grayscale images of original images. Furthermore the concept of Eye Aspect Ratio was used to detect drivers' drowsiness. Finally, the KNN algorithm was used to divide the drivers' level of drowsiness into three stages, and differential alarms go off for each stages. Through these works, we could research and make technology of intelligent vehicle systems and vision computing, which is gaining much attention recently. : 얼굴 및 안구 검출을 하기 위해 Histogram of Oriented Gradients 기술과 학습된 Face landmark estimation 기법을 사용하였습니다. 조명 영향을 제거하기 위해선 원본 영상의 조명 채널을 분리해 역 조명을 쏘아 Grayscale 된 이미지와 합쳐주었고, 졸음 상태를 감지하기 위해선 Eye Aspect Ratio라는 개념을 사용하였습니다. 마지막으로 운전자의 졸음 위험 수준을 세 단계로 나눠 단계별로 차등 알람이 울리게 하였고, 단계를 나누는 과정에서 KNN 알고리즘을 사용했다.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              drowsiness-detection has a low active ecosystem.
              It has 32 star(s) with 27 fork(s). There are 3 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 0 open issues and 2 have been closed. On average issues are closed in 316 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of drowsiness-detection is current.

            kandi-Quality Quality

              drowsiness-detection has no bugs reported.

            kandi-Security Security

              drowsiness-detection has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              drowsiness-detection is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              drowsiness-detection releases are not available. You will need to build from source code and install.
              drowsiness-detection has no build file. You will be need to create the build yourself to build the component from source.

            Top functions reviewed by kandi - BETA

            kandi has reviewed drowsiness-detection and discovered the below as its top functions. This is intended to give you an instant insight into drowsiness-detection implemented functionality, and help decide if they suit your requirements.
            • Start training
            • Compute classification label
            • Get the power of the given labels
            • Generate random data
            • Select alarm
            • Play sound
            • Run the nearest neighbor
            • Remove light from a frame
            • Return the aspect ratio of the eye aspect ratio
            Get all kandi verified functions for this library.

            drowsiness-detection Key Features

            No Key Features are available at this moment for drowsiness-detection.

            drowsiness-detection Examples and Code Snippets

            No Code Snippets are available at this moment for drowsiness-detection.

            Community Discussions

            QUESTION

            [Unhandled promise rejection: Error: Size(150528) must match the product of shape 1]
            Asked 2020-Sep-11 at 04:16

            I am using a custom model I built using transfer learning with MobileNetV2 then converted to TF.js format.

            Model takes in input of (batch_size, 224,224,3) I am not sure where the size(150528) is from cause it is not present in my model.summary()

            Link to model summary as it is too long to post here

            Code for the model in Python:

            ...

            ANSWER

            Answered 2020-Sep-11 at 04:16

            It was an issue regarding the input shape I was passing to make predictions and was solved with the following code:

            Source https://stackoverflow.com/questions/63825703

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install drowsiness-detection

            You can download it from GitHub.
            You can use drowsiness-detection like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/woorimlee/drowsiness-detection.git

          • CLI

            gh repo clone woorimlee/drowsiness-detection

          • sshUrl

            git@github.com:woorimlee/drowsiness-detection.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link