Giter VIP home page Giter VIP logo

observations's People

Contributors

clone2code avatar prajnasb avatar

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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

observations's Issues

Image not found

label = classify_face(image)

File "label_detect.py", line 62, in classify_face
image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
cv2.error: OpenCV(4.4.0) C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-2b5g8ysb\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'

Screenshot (239)

Since praj.jpg is not given I tried using my image but still the error remains..Is there any requirement for the image used

Improve requirements.txt

Currently not enough information about how to install the required packages is presented, for example it is needed python 3.7 in order to install pygame 1.9.6. Moreover, the mkl packages versions specified on the requirements file are only available on anaconda cloud, not on pypi.

Missing Modules

Helllo
These are the missing modules for this project:
torch
totchvision
pygame
matplotlib
pandas
sklearn

'mask1_model_resnet50.pth' not Found

Hello,
Thank you for sharing your code. I try to execute it but this error is appeared FileNotFoundError: [Errno 2] No such file or directory: 'mask1_model_resnet50.pth'
Can you please share this file?
Thank you

Mask Color

The dataset is amazing. The only issue is color of masks. in all the images the color of mask is same. when a mask of different color is bought to test the model gives up! add some images with colorful masks

Difference in the model names

The model I saved after runnning training.ipynb is resnet101 but the model used is resnet50 ..Is this a mistake in the naming of models or are these two different models?

Have something curious

First of all, thank you for making this wonderful program.

I'd like to create data on people who don't wear masks to their noses in your program.

what should i do and Where should I fix your code?

I'd appreciate it if you'd reply. Have a greate day!

Caught OSError in DataLoader worker process 3.

Hi, I am facing error when run the model_fit cell. However, I found the photo is inside the folder.
OSError: cannot identify image file <_io.BufferedReader name='observations/experiements/dest_folder/train\without_mask\indian-ethnicity-cheerful-confident-studio-260nw-552325924.jpg'>
Thanks.

WZ

No module named 'label_detect'

While executing webcam.py , I encoutered following error:

_**_ModuleNotFoundError Traceback (most recent call last)

in ()
5 from pygame import mixer
6 import time
----> 7 from label_detect import classify_face
8
9

ModuleNotFoundError: No module named 'label_detect'**

I am using google colab with GPU.
Thanks in advance!

Making the input images of the same size

Since the images are of different sizes, we can add a piece of code to resize the images so that they become of same sizes.
image

I have already done that locally.

Bug in Rotation in mask.py

In line 137 of Data_Generator/mask.py, PIL's rotate function expects the rotation angle to be in degrees, but as np.arctan2 returns in units of radians, there is almost no rotation applied any time. This makes the code not work properly for tilted faces. Please look into it.

'import face_recognition' Not found

I follow your blog on COVID-19 face mask detection.
I wanted to reproduce my own dataset. so i referred to this repository. I cloned a copy to use it.
In .\observations-master\mask_classifier\Data_Generator\mask.py line 67 you've imported face_recognition. But then you never mentioned from where you imported. It would be easy if you share even that part or even mention what is alternative way.
Thank you.

Add execution details

It would be helpful if someone could add the execution details on how to run the code.

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.