Skip to content

Commit 56ed183

Browse files
author
İSMAİL, TAŞDELEN
committed
Python-Camera-v8.3-Software
1 parent c7f1102 commit 56ed183

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

camera-v8.3.py

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
#!/usr/bin/env python
2+
#-*- coding: utf-8 -*-
3+
4+
#########################################################
5+
# LİNUX SETTINGS - GH0ST S0FTWARE #
6+
#########################################################
7+
# CONTACT #
8+
#########################################################
9+
# DEVELOPER : İSMAİL TAŞDELEN #
10+
# GMAIL : pentestdatabase@gmail.com #
11+
# Linkedin : https://www.linkedin.com/in/ismailtasdelen #
12+
# Whatsapp : + 90 534 295 94 31 #
13+
#########################################################
14+
15+
import pygame.camera
16+
import pygame.image
17+
18+
icon_txt = """
19+
_________ __ _____________ ___ ____ _____
20+
/ ____/ | / |/ / ____/ __ \/ | _ __( __ ) |__ /
21+
/ / / /| | / /|_/ / __/ / /_/ / /| | | | / / __ | /_ <
22+
/ /___/ ___ |/ / / / /___/ _, _/ ___ | | |/ / /_/ / ___/ /
23+
\____/_/ |_/_/ /_/_____/_/ |_/_/ |_| |___/\____(_)____/
24+
25+
"""
26+
print icon_txt
27+
pygame.camera.init()
28+
kamera = pygame.camera.Camera(pygame.camera.list_cameras()[0])
29+
kamera.start()
30+
img = kamera.get_image()
31+
cm = "***************************************************************"
32+
print cm
33+
img_name = raw_input("Enter a name : ")
34+
pygame.image.save(img, img_name)
35+
loading = "Photo saved... ( Loading... %100 )"
36+
print loading
37+
print cm
38+
pygame.camera.quit()

0 commit comments

Comments
 (0)