Skip to main content

Helpful in creating logics of any AI.

Project description


-Features -Speaking: ai-win will help your comuter to say what you want:- Using you systems engine driver it can speak in different voices. Currently it has only two voices- male and female, but soon you will get a lot of voices and also languages.

-Recognizing speech:
    This feature will make your computer listen you:-
    This function is made to make your computer not only take input form actions but also from your voice!
-Accessing camera:
    This feature will make your computer to access your camera anytime you want. It might take a few seconds or even a minute-
depending on your computer's RAM. You can also use speech recognition function with so it can access your camera when say it to do so.
    Note: 1. This function is absolutely safe and your captures will remain with you only.
          2. This function will only work when your computer has an accessible camera.
          In case of any issues you can ask on StackOverflow, we will be very happy to answer your questions.
-Open internet:
    Opening internet is a do-daily activity, you can automate it with this function:-
    This function can automate your access to internet.
    Note: This function is still developing. Only a part of it is there in this library. This function will update more and more in the coming newer versions of ai-win.
-Greetings:
    With this wonderful feature of this library, your computer can greet you at any point of day.
-Time:
    This function will help you get the local-time-anytime.
-Accessing Wikipedia:
    This is an amazing part of this library. This has no limits. With this function your computer will know every famous personality, place, facts, history and many more.
-Search:
    The eagerness-to-know of any curious has no limits, it makes us search more and more and more:-
        The search function will search anything anytime anywhere- with an internet connection.
-Face detection:
    With this library your computer can also detect your face. It uses opencv haarcascade to detect your facial muscles. It will access your camera, capture your live expressions, convert it to graysacle, detect your muscles and after all the process it gives you a complete colored frame as output.

-Examples -Speak:

#from ai-logics
import AI

if __name__=='__main__':
	AI.speak.maleVoice('Hello World!')
You can also use female voice instead:-
#from ai-logics
import AI

if __name__=='__main__':
	AI.speak.femaleVoice('Hello World!')
-Recognize speech:
#from ai-logics
import AI

if __name__=='__main__':
	speech = AI.recognizeSpeech.listen()
	print(speech)
#Example:- I said 'Hello World'
Result:-![1674717566946](image/README/1674717566946.png)
-Access the camera:
#from ai-logics
import AI

if __name__=='__main__':
	AI.access_cam.capturefromDefaultcam('a')
	#'a' is the close button from which you can terminate the execution. You can use any other key.
'a' is the key from which you can terminate the execution. You can use any other key from your keyboard.
-Using functions:
    You will find it in the documentation which will be released on my github account by 30th March. Link will be uploaded in later vrsions.

Note: This library uses some modules which requires some system dependencies. If you are a Windows user, make sure your windows is activated; If you are a Linux user you may install espeak.

To activate Windows - https://support.microsoft.com/en-us/windows/activate-windows-c39005d4-95ee-b91e-b399-2820fda32227#:~:text=Select%20the%20Start%20button%2C%20and%20then%20select%20Settings%20%3E%20Update%20%26,COA%20and%20follow%20the%20instructions.

To download espeak - https://espeak.sourceforge.net/

Terms and Conditions apply. Copyright © 2023|Developed by Aditya Pratap Singh

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ai-logics-0.0.2.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

ai_logics-0.0.2-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file ai-logics-0.0.2.tar.gz.

File metadata

  • Download URL: ai-logics-0.0.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.9

File hashes

Hashes for ai-logics-0.0.2.tar.gz
Algorithm Hash digest
SHA256 47a0f1e7a571d7e796cc21c2d1bcb155290b56ec170f2979ea6947ff0c55409d
MD5 1ad4e2f6ac212c0c1006b93f6bebe2d8
BLAKE2b-256 3068add7c756bab30ad4cccdf66423fd4b07ad128ee3e463625a617868054ddd

See more details on using hashes here.

File details

Details for the file ai_logics-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: ai_logics-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.9

File hashes

Hashes for ai_logics-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 528015b42ac143995e7b060424882ebbc1527d15c2cc5e117b3f1a1ac73803ae
MD5 cd82023cbf4c29772aa846eedabbb5b0
BLAKE2b-256 6dcb68f7dd3efe05d824475236b47474fb0a3455d4d07bc4452281ebd4fe9d19

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page