Skip to content

Commit

Permalink
refactor: rename
Browse files Browse the repository at this point in the history
  • Loading branch information
dongwlin committed Nov 27, 2024
1 parent 27547e0 commit c23269a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_recognition.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func unregisterCustomRecognition(id uint64) bool {
type CustomRecognitionArg struct {
TaskDetail *TaskDetail
CurrentTaskName string
CustomRecognizerName string
CustomRecognitionName string
CustomRecognitionParam string
Img image.Image
Roi Rect
Expand Down Expand Up @@ -84,7 +84,7 @@ func _MaaCustomRecognitionCallbackAgent(
&CustomRecognitionArg{
TaskDetail: taskDetail,
CurrentTaskName: bytePtrToString(currentTaskName),
CustomRecognizerName: bytePtrToString(customRecognitionName),
CustomRecognitionName: bytePtrToString(customRecognitionName),
CustomRecognitionParam: bytePtrToString(customRecognitionParam),
Img: imgImg,
Roi: buffer.NewRectBufferByHandle(roi).Get(),
Expand Down

0 comments on commit c23269a

Please sign in to comment.