2021-09-14T12:47:19,991 Created temporary directory: /tmp/pip-ephem-wheel-cache-7poy3zem 2021-09-14T12:47:19,997 Created temporary directory: /tmp/pip-req-tracker-o203kppm 2021-09-14T12:47:19,998 Initialized build tracking at /tmp/pip-req-tracker-o203kppm 2021-09-14T12:47:19,999 Created build tracker: /tmp/pip-req-tracker-o203kppm 2021-09-14T12:47:19,999 Entered build tracker: /tmp/pip-req-tracker-o203kppm 2021-09-14T12:47:20,000 Created temporary directory: /tmp/pip-wheel-5cx8ny3e 2021-09-14T12:47:20,057 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2021-09-14T12:47:20,060 2 location(s) to search for versions of cvlearn: 2021-09-14T12:47:20,060 * https://pypi.org/simple/cvlearn/ 2021-09-14T12:47:20,060 * https://www.piwheels.org/simple/cvlearn/ 2021-09-14T12:47:20,061 Fetching project page and analyzing links: https://pypi.org/simple/cvlearn/ 2021-09-14T12:47:20,063 Getting page https://pypi.org/simple/cvlearn/ 2021-09-14T12:47:20,068 Found index url https://pypi.org/simple 2021-09-14T12:47:20,420 Skipping link: No binaries permitted for cvlearn: https://files.pythonhosted.org/packages/ec/68/4f61c181834dd1510c6b348918550ed0d8fe5199f17d3cd8165a3ebeea3d/cvlearn-0.0.5-py3-none-any.whl#sha256=86bb8fba0ba84c1679640a2e1ddfb3809850388cdfa8c30272779e494f093e34 (from https://pypi.org/simple/cvlearn/) 2021-09-14T12:47:20,421 Found link https://files.pythonhosted.org/packages/78/4a/6fe350174300e9fe867e88c90290264c43fca660f44148c079f47164d9c9/cvlearn-0.0.5.tar.gz#sha256=dbee24a0cdc32df2fe19e20f473c15e28b263bdde35e020d73022f896a8a7b31 (from https://pypi.org/simple/cvlearn/), version: 0.0.5 2021-09-14T12:47:20,422 Fetching project page and analyzing links: https://www.piwheels.org/simple/cvlearn/ 2021-09-14T12:47:20,423 Getting page https://www.piwheels.org/simple/cvlearn/ 2021-09-14T12:47:20,425 Found index url https://www.piwheels.org/simple 2021-09-14T12:47:20,591 Skipping link: No binaries permitted for cvlearn: https://www.piwheels.org/simple/cvlearn/cvlearn-0.0.4-py3-none-any.whl#sha256=d488db33b12a5b1e768dbf1d878595ef86824213d04757915edc698288b248e1 (from https://www.piwheels.org/simple/cvlearn/) 2021-09-14T12:47:20,621 Given no hashes to check 1 links for project 'cvlearn': discarding no candidates 2021-09-14T12:47:20,652 Collecting cvlearn==0.0.5 2021-09-14T12:47:20,656 Created temporary directory: /tmp/pip-unpack-3lg6_cn4 2021-09-14T12:47:20,892 Downloading cvlearn-0.0.5.tar.gz (5.3 kB) 2021-09-14T12:47:20,989 Added cvlearn==0.0.5 from https://files.pythonhosted.org/packages/78/4a/6fe350174300e9fe867e88c90290264c43fca660f44148c079f47164d9c9/cvlearn-0.0.5.tar.gz#sha256=dbee24a0cdc32df2fe19e20f473c15e28b263bdde35e020d73022f896a8a7b31 to build tracker '/tmp/pip-req-tracker-o203kppm' 2021-09-14T12:47:20,991 Running setup.py (path:/tmp/pip-wheel-5cx8ny3e/cvlearn_40c8f1de2bfe4dcd9ccfed20b5ec43dd/setup.py) egg_info for package cvlearn 2021-09-14T12:47:20,993 Created temporary directory: /tmp/pip-pip-egg-info-asu_p3vv 2021-09-14T12:47:20,993 Running command python setup.py egg_info 2021-09-14T12:47:22,845 # cvlearn 2021-09-14T12:47:22,846 An easy to use package which helps to do hand tracking, face detection, etc. with use of opencv module. 2021-09-14T12:47:22,848 # Installation 2021-09-14T12:47:22,848 - Use Python 3.x 2021-09-14T12:47:22,849 - Open cmd/terminal and type: 2021-09-14T12:47:22,850 ```bash 2021-09-14T12:47:22,851 pip install cvlearn 2021-09-14T12:47:22,851 ``` 2021-09-14T12:47:22,853 # Dependencies 2021-09-14T12:47:22,853 - python 3.x 2021-09-14T12:47:22,854 - opencv-python 2021-09-14T12:47:22,854 - numpy 2021-09-14T12:47:22,855 - mediapipe 2021-09-14T12:47:22,856 # Examples 2021-09-14T12:47:22,857 **Hand Tracking:** 2021-09-14T12:47:22,858 ```bash 2021-09-14T12:47:22,859 from cvlearn import HandTrackingModule as handTracker 2021-09-14T12:47:22,860 import cv2 2021-09-14T12:47:22,861 cap = cv2.VideoCapture(0) 2021-09-14T12:47:22,861 detector = handTracker.handDetector() 2021-09-14T12:47:22,862 while True: 2021-09-14T12:47:22,862 ret, img = cap.read() 2021-09-14T12:47:22,863 img = detector.findHands(img) 2021-09-14T12:47:22,864 cv2.imshow("Result", img) 2021-09-14T12:47:22,865 cv2.waitKey(1) 2021-09-14T12:47:22,866 ``` 2021-09-14T12:47:22,867 ### **Result:** 2021-09-14T12:47:22,867 ![App Screenshot](https://raw.githubusercontent.com/Tanay-ErrorCode/cvlearn/main/images/handTracking.jpg) 2021-09-14T12:47:22,869 **Face Detection:** 2021-09-14T12:47:22,870 ```bash 2021-09-14T12:47:22,871 from cvlearn import FaceDetector as faceDetector 2021-09-14T12:47:22,872 import cv2 2021-09-14T12:47:22,872 cap = cv2.VideoCapture(0) 2021-09-14T12:47:22,873 detector = faceDetector.FaceDetector() 2021-09-14T12:47:22,874 while True: 2021-09-14T12:47:22,874 ret, img = cap.read() 2021-09-14T12:47:22,875 img = detector.findFaces(img) 2021-09-14T12:47:22,876 cv2.imshow("Result", img) 2021-09-14T12:47:22,877 cv2.waitKey(1) 2021-09-14T12:47:22,877 ``` 2021-09-14T12:47:22,878 ### **Result:** 2021-09-14T12:47:22,879 ![App Screenshot](https://raw.githubusercontent.com/Tanay-ErrorCode/cvlearn/main/images/faceDetection.jpg) 2021-09-14T12:47:22,879 # 2021-09-14T12:47:22,880 # 2021-09-14T12:47:22,880 **SideView:** 2021-09-14T12:47:22,881 ![App Screenshot](https://raw.githubusercontent.com/Tanay-ErrorCode/cvlearn/main/images/faceDetection2.jpg) 2021-09-14T12:47:22,882 **Drawing face mesh:** 2021-09-14T12:47:22,883 ```bash 2021-09-14T12:47:22,883 from cvlearn import FaceMesh as fms 2021-09-14T12:47:22,885 import cv2 2021-09-14T12:47:22,885 cap = cv2.VideoCapture(0) 2021-09-14T12:47:22,886 detector = fms.FaceMeshDetector() 2021-09-14T12:47:22,886 while True: 2021-09-14T12:47:22,887 ret, img = cap.read() 2021-09-14T12:47:22,888 img, face = detector.findFaceMesh(img) 2021-09-14T12:47:22,889 cv2.imshow("Result", img) 2021-09-14T12:47:22,889 cv2.waitKey(1) 2021-09-14T12:47:22,890 ``` 2021-09-14T12:47:22,891 ### **Result:** 2021-09-14T12:47:22,891 ![App Screenshot](https://raw.githubusercontent.com/Tanay-ErrorCode/cvlearn/main/images/faceMesh.jpg) 2021-09-14T12:47:22,893 # 2021-09-14T12:47:22,893 # 2021-09-14T12:47:22,895 **Finger Counting** 2021-09-14T12:47:22,895 ```bash 2021-09-14T12:47:22,896 from cvlearn import FingerCounter as fc 2021-09-14T12:47:22,896 import cvlearn.HandTrackingModule as handTracker 2021-09-14T12:47:22,897 import cv2 2021-09-14T12:47:22,898 cap = cv2.VideoCapture(0) 2021-09-14T12:47:22,900 detector = handTracker.handDetector(maxHands=1) 2021-09-14T12:47:22,901 counter = fc.FingerCounter() 2021-09-14T12:47:22,902 while True: 2021-09-14T12:47:22,902 ret, frame = cap.read() 2021-09-14T12:47:22,903 frame = cv2.flip(frame, 180) 2021-09-14T12:47:22,904 frame = detector.findHands(frame) 2021-09-14T12:47:22,905 lmList, bbox = detector.findPosition(frame) 2021-09-14T12:47:22,906 if lmList: 2021-09-14T12:47:22,907 frame1 = counter.drawCountedFingers(frame, lmList, bbox) 2021-09-14T12:47:22,908 cv2.imshow("res", frame) 2021-09-14T12:47:22,909 key = cv2.waitKey(1) 2021-09-14T12:47:22,909 if key == 27: 2021-09-14T12:47:22,910 break 2021-09-14T12:47:22,911 cv2.destroyAllWindows() 2021-09-14T12:47:22,912 ``` 2021-09-14T12:47:22,913 ### **Result:** 2021-09-14T12:47:22,914 ![App Screenshot](https://raw.githubusercontent.com/Tanay-ErrorCode/cvlearn/main/images/fingerCounter.jpg) 2021-09-14T12:47:22,917 running egg_info 2021-09-14T12:47:22,918 creating /tmp/pip-pip-egg-info-asu_p3vv/cvlearn.egg-info 2021-09-14T12:47:22,918 writing requirements to /tmp/pip-pip-egg-info-asu_p3vv/cvlearn.egg-info/requires.txt 2021-09-14T12:47:22,919 writing /tmp/pip-pip-egg-info-asu_p3vv/cvlearn.egg-info/PKG-INFO 2021-09-14T12:47:22,919 writing top-level names to /tmp/pip-pip-egg-info-asu_p3vv/cvlearn.egg-info/top_level.txt 2021-09-14T12:47:22,920 writing dependency_links to /tmp/pip-pip-egg-info-asu_p3vv/cvlearn.egg-info/dependency_links.txt 2021-09-14T12:47:22,921 writing manifest file '/tmp/pip-pip-egg-info-asu_p3vv/cvlearn.egg-info/SOURCES.txt' 2021-09-14T12:47:23,264 reading manifest file '/tmp/pip-pip-egg-info-asu_p3vv/cvlearn.egg-info/SOURCES.txt' 2021-09-14T12:47:23,271 writing manifest file '/tmp/pip-pip-egg-info-asu_p3vv/cvlearn.egg-info/SOURCES.txt' 2021-09-14T12:47:23,409 Source in /tmp/pip-wheel-5cx8ny3e/cvlearn_40c8f1de2bfe4dcd9ccfed20b5ec43dd has version 0.0.5, which satisfies requirement cvlearn==0.0.5 from https://files.pythonhosted.org/packages/78/4a/6fe350174300e9fe867e88c90290264c43fca660f44148c079f47164d9c9/cvlearn-0.0.5.tar.gz#sha256=dbee24a0cdc32df2fe19e20f473c15e28b263bdde35e020d73022f896a8a7b31 2021-09-14T12:47:23,411 Removed cvlearn==0.0.5 from https://files.pythonhosted.org/packages/78/4a/6fe350174300e9fe867e88c90290264c43fca660f44148c079f47164d9c9/cvlearn-0.0.5.tar.gz#sha256=dbee24a0cdc32df2fe19e20f473c15e28b263bdde35e020d73022f896a8a7b31 from build tracker '/tmp/pip-req-tracker-o203kppm' 2021-09-14T12:47:23,421 Created temporary directory: /tmp/pip-unpack-8m5te8s6 2021-09-14T12:47:23,422 Building wheels for collected packages: cvlearn 2021-09-14T12:47:23,432 Created temporary directory: /tmp/pip-wheel-tscjoqry 2021-09-14T12:47:23,433 Building wheel for cvlearn (setup.py): started 2021-09-14T12:47:23,434 Destination directory: /tmp/pip-wheel-tscjoqry 2021-09-14T12:47:23,434 Running command /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-5cx8ny3e/cvlearn_40c8f1de2bfe4dcd9ccfed20b5ec43dd/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-5cx8ny3e/cvlearn_40c8f1de2bfe4dcd9ccfed20b5ec43dd/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-tscjoqry 2021-09-14T12:47:24,967 # cvlearn 2021-09-14T12:47:24,969 An easy to use package which helps to do hand tracking, face detection, etc. with use of opencv module. 2021-09-14T12:47:24,970 # Installation 2021-09-14T12:47:24,971 - Use Python 3.x 2021-09-14T12:47:24,971 - Open cmd/terminal and type: 2021-09-14T12:47:24,973 ```bash 2021-09-14T12:47:24,973 pip install cvlearn 2021-09-14T12:47:24,974 ``` 2021-09-14T12:47:24,975 # Dependencies 2021-09-14T12:47:24,976 - python 3.x 2021-09-14T12:47:24,976 - opencv-python 2021-09-14T12:47:24,977 - numpy 2021-09-14T12:47:24,977 - mediapipe 2021-09-14T12:47:24,978 # Examples 2021-09-14T12:47:24,979 **Hand Tracking:** 2021-09-14T12:47:24,980 ```bash 2021-09-14T12:47:24,980 from cvlearn import HandTrackingModule as handTracker 2021-09-14T12:47:24,981 import cv2 2021-09-14T12:47:24,982 cap = cv2.VideoCapture(0) 2021-09-14T12:47:24,983 detector = handTracker.handDetector() 2021-09-14T12:47:24,983 while True: 2021-09-14T12:47:24,984 ret, img = cap.read() 2021-09-14T12:47:24,984 img = detector.findHands(img) 2021-09-14T12:47:24,985 cv2.imshow("Result", img) 2021-09-14T12:47:24,986 cv2.waitKey(1) 2021-09-14T12:47:24,987 ``` 2021-09-14T12:47:24,988 ### **Result:** 2021-09-14T12:47:24,988 ![App Screenshot](https://raw.githubusercontent.com/Tanay-ErrorCode/cvlearn/main/images/handTracking.jpg) 2021-09-14T12:47:24,991 **Face Detection:** 2021-09-14T12:47:24,991 ```bash 2021-09-14T12:47:24,992 from cvlearn import FaceDetector as faceDetector 2021-09-14T12:47:24,993 import cv2 2021-09-14T12:47:24,994 cap = cv2.VideoCapture(0) 2021-09-14T12:47:24,994 detector = faceDetector.FaceDetector() 2021-09-14T12:47:24,995 while True: 2021-09-14T12:47:24,996 ret, img = cap.read() 2021-09-14T12:47:24,996 img = detector.findFaces(img) 2021-09-14T12:47:24,998 cv2.imshow("Result", img) 2021-09-14T12:47:24,998 cv2.waitKey(1) 2021-09-14T12:47:24,999 ``` 2021-09-14T12:47:24,999 ### **Result:** 2021-09-14T12:47:24,1000 ![App Screenshot](https://raw.githubusercontent.com/Tanay-ErrorCode/cvlearn/main/images/faceDetection.jpg) 2021-09-14T12:47:25,001 # 2021-09-14T12:47:25,001 # 2021-09-14T12:47:25,002 **SideView:** 2021-09-14T12:47:25,002 ![App Screenshot](https://raw.githubusercontent.com/Tanay-ErrorCode/cvlearn/main/images/faceDetection2.jpg) 2021-09-14T12:47:25,003 **Drawing face mesh:** 2021-09-14T12:47:25,004 ```bash 2021-09-14T12:47:25,005 from cvlearn import FaceMesh as fms 2021-09-14T12:47:25,006 import cv2 2021-09-14T12:47:25,007 cap = cv2.VideoCapture(0) 2021-09-14T12:47:25,007 detector = fms.FaceMeshDetector() 2021-09-14T12:47:25,008 while True: 2021-09-14T12:47:25,008 ret, img = cap.read() 2021-09-14T12:47:25,009 img, face = detector.findFaceMesh(img) 2021-09-14T12:47:25,010 cv2.imshow("Result", img) 2021-09-14T12:47:25,011 cv2.waitKey(1) 2021-09-14T12:47:25,012 ``` 2021-09-14T12:47:25,013 ### **Result:** 2021-09-14T12:47:25,013 ![App Screenshot](https://raw.githubusercontent.com/Tanay-ErrorCode/cvlearn/main/images/faceMesh.jpg) 2021-09-14T12:47:25,014 # 2021-09-14T12:47:25,015 # 2021-09-14T12:47:25,016 **Finger Counting** 2021-09-14T12:47:25,017 ```bash 2021-09-14T12:47:25,017 from cvlearn import FingerCounter as fc 2021-09-14T12:47:25,018 import cvlearn.HandTrackingModule as handTracker 2021-09-14T12:47:25,018 import cv2 2021-09-14T12:47:25,020 cap = cv2.VideoCapture(0) 2021-09-14T12:47:25,021 detector = handTracker.handDetector(maxHands=1) 2021-09-14T12:47:25,022 counter = fc.FingerCounter() 2021-09-14T12:47:25,023 while True: 2021-09-14T12:47:25,023 ret, frame = cap.read() 2021-09-14T12:47:25,024 frame = cv2.flip(frame, 180) 2021-09-14T12:47:25,025 frame = detector.findHands(frame) 2021-09-14T12:47:25,026 lmList, bbox = detector.findPosition(frame) 2021-09-14T12:47:25,027 if lmList: 2021-09-14T12:47:25,027 frame1 = counter.drawCountedFingers(frame, lmList, bbox) 2021-09-14T12:47:25,028 cv2.imshow("res", frame) 2021-09-14T12:47:25,029 key = cv2.waitKey(1) 2021-09-14T12:47:25,029 if key == 27: 2021-09-14T12:47:25,030 break 2021-09-14T12:47:25,031 cv2.destroyAllWindows() 2021-09-14T12:47:25,032 ``` 2021-09-14T12:47:25,033 ### **Result:** 2021-09-14T12:47:25,033 ![App Screenshot](https://raw.githubusercontent.com/Tanay-ErrorCode/cvlearn/main/images/fingerCounter.jpg) 2021-09-14T12:47:25,375 running bdist_wheel 2021-09-14T12:47:25,389 running build 2021-09-14T12:47:25,390 running build_py 2021-09-14T12:47:25,734 creating build 2021-09-14T12:47:25,735 creating build/lib 2021-09-14T12:47:25,736 creating build/lib/cvlearn 2021-09-14T12:47:25,739 copying cvlearn/FaceMesh.py -> build/lib/cvlearn 2021-09-14T12:47:25,744 copying cvlearn/HandTrackingModule.py -> build/lib/cvlearn 2021-09-14T12:47:25,749 copying cvlearn/FingerCounter.py -> build/lib/cvlearn 2021-09-14T12:47:25,754 copying cvlearn/FaceDetection.py -> build/lib/cvlearn 2021-09-14T12:47:25,758 copying cvlearn/__init__.py -> build/lib/cvlearn 2021-09-14T12:47:25,768 installing to build/bdist.linux-armv7l/wheel 2021-09-14T12:47:25,769 running install 2021-09-14T12:47:25,771 running install_lib 2021-09-14T12:47:25,778 creating build/bdist.linux-armv7l 2021-09-14T12:47:25,779 creating build/bdist.linux-armv7l/wheel 2021-09-14T12:47:25,782 creating build/bdist.linux-armv7l/wheel/cvlearn 2021-09-14T12:47:25,785 copying build/lib/cvlearn/FaceMesh.py -> build/bdist.linux-armv7l/wheel/cvlearn 2021-09-14T12:47:25,789 copying build/lib/cvlearn/HandTrackingModule.py -> build/bdist.linux-armv7l/wheel/cvlearn 2021-09-14T12:47:25,795 copying build/lib/cvlearn/FingerCounter.py -> build/bdist.linux-armv7l/wheel/cvlearn 2021-09-14T12:47:25,799 copying build/lib/cvlearn/FaceDetection.py -> build/bdist.linux-armv7l/wheel/cvlearn 2021-09-14T12:47:25,803 copying build/lib/cvlearn/__init__.py -> build/bdist.linux-armv7l/wheel/cvlearn 2021-09-14T12:47:25,807 running install_egg_info 2021-09-14T12:47:25,859 running egg_info 2021-09-14T12:47:25,861 writing dependency_links to cvlearn.egg-info/dependency_links.txt 2021-09-14T12:47:25,865 writing cvlearn.egg-info/PKG-INFO 2021-09-14T12:47:25,869 writing requirements to cvlearn.egg-info/requires.txt 2021-09-14T12:47:25,872 writing top-level names to cvlearn.egg-info/top_level.txt 2021-09-14T12:47:25,880 reading manifest file 'cvlearn.egg-info/SOURCES.txt' 2021-09-14T12:47:25,889 writing manifest file 'cvlearn.egg-info/SOURCES.txt' 2021-09-14T12:47:25,892 Copying cvlearn.egg-info to build/bdist.linux-armv7l/wheel/cvlearn-0.0.5-py3.5.egg-info 2021-09-14T12:47:25,917 running install_scripts 2021-09-14T12:47:26,120 creating build/bdist.linux-armv7l/wheel/cvlearn-0.0.5.dist-info/WHEEL 2021-09-14T12:47:26,331 Building wheel for cvlearn (setup.py): finished with status 'done' 2021-09-14T12:47:26,335 Created wheel for cvlearn: filename=cvlearn-0.0.5-py3-none-any.whl size=7487 sha256=31e38c665892fbab0e8e12e54e77d484563f60306379a50bdde6f8516bdf2064 2021-09-14T12:47:26,336 Stored in directory: /tmp/pip-ephem-wheel-cache-7poy3zem/wheels/48/e8/1d/2a6cec52fde3c596e641427f5e3356d83c415eeaa536aec7b4 2021-09-14T12:47:26,353 Successfully built cvlearn 2021-09-14T12:47:26,359 Removed build tracker: '/tmp/pip-req-tracker-o203kppm'