Skip to main content

Featured post

How to Insert line break in Text component in React Native

Hi, I was developing an application in react native.I have to handle lots of text data in this small react native application.I have used  Text component in react native many times. While working on this application,i had a requirement to display some text content with line breaks.I will explain it clearly with an example.I want to display a text as shown below  Welcome Please subscribe my channel I wrote react native code as shown below <View> <Text> Welcome Please subscribe my channel </Text> <View> When i run these lines of code,It will display text as shown below Welcome Please subscribe my channel   - instead of displaying in two lines with line break,it displays in a single line.So i have to find a solution to insert line break in Text component in React Native.After lots of research,i found a clean solution as shown below <View> <Text> Welcome{"\n"} Please subscribe my channel </Text> <View> Here ...

No module named face recognition import face recognition ModuleNotFoundError python opencv fixed



Dear friends, today i am going to discuss how to fix the error module face recognition is not found. I was working on a face detection project.Let me open pycharm.This is my project face detection.This is a simple python file.I have imported import face recognition.When i run the file, i got the error message import face recognition module not found error, no module named face recognition.




I will tell you how to fix this error.Go to file settings, select project face detection python interpreter,click this plus button, install, select face-recognition, this one recognise faces from python or from the command line.Version is 1.3.0. click install package. it's installing.Yes i got the message package face recognition installed successfully.


Let's close this one.Click ok button.Now run the file again.It's running yes we got the output hi PyCharm.So in this way,we can fix the issue import face recognition module not found error.This is useful for any other projects, even we are using this face recognition import file, python file in any other languages like javascript for face recognition, it will install face recognition in the system itself.


thank you very much