Skip to content

Commit

Permalink
requirements.txt update and micro bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MehmetYukselSekeroglu committed Apr 11, 2024
1 parent 2325938 commit 8bebdda
Show file tree
Hide file tree
Showing 15 changed files with 78 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ As a result of the experiment conducted on 35,000 random images, the lower limit
## Android APK Static Analysis:

<br>
<img src="./img/AndroidStaticAnalysis_1.png">
<img src="./img/AndroidAnalysis_1.png">
<br>


Expand Down
2 changes: 1 addition & 1 deletion documents/FACE RECOGNITION.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# TheHiva / Yüz Tanımlama ( Recognition )
# TheHive / Yüz Tanımlama ( Recognition )


## Kullanılan kütüphaneler ve sistemler:
Expand Down
39 changes: 39 additions & 0 deletions guilib/MatplotShowScreen.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'raw_ui_files/MatplotShowScreen.ui'
#
# Created by: PyQt5 UI code generator 5.15.10
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_MatplotShow(object):
def setupUi(self, MatplotShow):
MatplotShow.setObjectName("MatplotShow")
MatplotShow.resize(908, 507)
self.gridLayout = QtWidgets.QGridLayout(MatplotShow)
self.gridLayout.setObjectName("gridLayout")
self.plt_shower_widget = QtWidgets.QWidget(MatplotShow)
self.plt_shower_widget.setObjectName("plt_shower_widget")
self.gridLayout.addWidget(self.plt_shower_widget, 0, 0, 1, 1)

self.retranslateUi(MatplotShow)
QtCore.QMetaObject.connectSlotsByName(MatplotShow)

def retranslateUi(self, MatplotShow):
_translate = QtCore.QCoreApplication.translate
MatplotShow.setWindowTitle(_translate("MatplotShow", "Form"))


if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
MatplotShow = QtWidgets.QWidget()
ui = Ui_MatplotShow()
ui.setupUi(MatplotShow)
MatplotShow.show()
sys.exit(app.exec_())
6 changes: 3 additions & 3 deletions guilib/html_text_generator/html_draft.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

from hivelibrary.console_tools import GetTime

def gen_error_text(text:str) -> str:
return f"<B>ERROR: </B>{text}"
return f"[ {GetTime()} ] <B>[ ERROR ]: </B>{text}"


def gen_info_text(text:str) -> str:
return f"<B>INFO: </B>{text}"
return f"[ {GetTime()} ] <B>[ INFO ]: </B>{text}"
Empty file.
Empty file removed hivelibrary/ImageTools/__init__.py
Empty file.
9 changes: 9 additions & 0 deletions hivelibrary/ImageTools/opencv_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,12 @@ def landmarks_rectangle_2d(cv2_image:numpy.ndarray, data_list:list) -> numpy.nda
cv2.circle(cv2_image, (x,y),1, (0,255,0), -1)

return cv2_image



def draw_face_name(cv2_image:numpy.ndarray, face_name:str, data_list:list) -> numpy.ndarray:
left, top, right, bottom = map(int, data_list)
cv2.putText(cv2_image,face_name,(left, top - 15),
cv2.FONT_HERSHEY_SIMPLEX, 0.6, (0, 255, 0), 1)

pass
Empty file removed hivelibrary/VirusTotal/__init__.py
Empty file.
Empty file.
Empty file.
Empty file removed hivelibrary/identify/__init__.py
Empty file.
Empty file removed hivelibrary/osint/__init__.py
Empty file.
File renamed without changes
24 changes: 24 additions & 0 deletions raw_ui_files/MatplotShowScreen.ui
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MatplotShow</class>
<widget class="QWidget" name="MatplotShow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>908</width>
<height>507</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QWidget" name="plt_shower_widget" native="true"/>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ beautifulsoup4<=4.11.2
requests<=2.31.0
opencv-python<=4.8.0.74
onnxruntime<=1.16.3
onnxruntime-gpu<=1.17.1
insightface<=0.7.3
numpy<=1.26.2
shodan<=1.30.1

0 comments on commit 8bebdda

Please sign in to comment.